1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxDateTime swig_types[77]
1419 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1420 #define SWIGTYPE_p_unsigned_long swig_types[79]
1421 #define SWIGTYPE_p_wxWindow swig_types[80]
1422 #define SWIGTYPE_p_wxString swig_types[81]
1423 #define SWIGTYPE_p_wxBitmap swig_types[82]
1424 #define SWIGTYPE_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_int swig_types[84]
1426 #define SWIGTYPE_p_unsigned_char swig_types[85]
1427 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1429 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1430 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431 #define SWIGTYPE_p_wxStaticText swig_types[90]
1432 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1433 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1434 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1435 #define SWIGTYPE_p_wxColour swig_types[94]
1436 #define SWIGTYPE_p_wxToolBar swig_types[95]
1437 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1438 #define SWIGTYPE_p_wxValidator swig_types[97]
1439 static swig_type_info
*swig_types
[99];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _controls_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_controls_
1449 #define SWIG_name "_controls_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1454 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1458 const wxArrayString wxPyEmptyStringArray
;
1460 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1462 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1463 #define SWIG_From_int PyInt_FromLong
1471 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1474 if (value
< min_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is less than '%s' minimum %ld",
1478 value
, errmsg
, min_value
);
1481 } else if (value
> max_value
) {
1483 PyErr_Format(PyExc_OverflowError
,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value
, errmsg
, max_value
);
1494 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1496 if (PyNumber_Check(obj
)) {
1497 if (val
) *val
= PyInt_AsLong(obj
);
1501 SWIG_type_error("number", obj
);
1507 #if INT_MAX != LONG_MAX
1509 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1511 const char* errmsg
= val
? "int" : (char*)0;
1513 if (SWIG_AsVal_long(obj
, &v
)) {
1514 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1515 if (val
) *val
= (int)(v
);
1524 SWIG_type_error(errmsg
, obj
);
1530 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1532 return SWIG_AsVal_long(obj
,(long*)val
);
1538 SWIG_As_int(PyObject
* obj
)
1541 if (!SWIG_AsVal_int(obj
, &v
)) {
1543 this is needed to make valgrind/purify happier.
1545 memset((void*)&v
, 0, sizeof(int));
1551 SWIGINTERNSHORT
long
1552 SWIG_As_long(PyObject
* obj
)
1555 if (!SWIG_AsVal_long(obj
, &v
)) {
1557 this is needed to make valgrind/purify happier.
1559 memset((void*)&v
, 0, sizeof(long));
1566 SWIG_Check_int(PyObject
* obj
)
1568 return SWIG_AsVal_int(obj
, (int*)0);
1573 SWIG_Check_long(PyObject
* obj
)
1575 return SWIG_AsVal_long(obj
, (long*)0);
1578 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1581 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1583 if (obj
== Py_True
) {
1584 if (val
) *val
= true;
1587 if (obj
== Py_False
) {
1588 if (val
) *val
= false;
1592 if (SWIG_AsVal_int(obj
, &res
)) {
1593 if (val
) *val
= res
? true : false;
1599 SWIG_type_error("bool", obj
);
1605 SWIGINTERNSHORT
bool
1606 SWIG_As_bool(PyObject
* obj
)
1609 if (!SWIG_AsVal_bool(obj
, &v
)) {
1611 this is needed to make valgrind/purify happier.
1613 memset((void*)&v
, 0, sizeof(bool));
1620 SWIG_Check_bool(PyObject
* obj
)
1622 return SWIG_AsVal_bool(obj
, (bool*)0);
1625 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1626 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1628 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1629 #define SWIG_From_long PyInt_FromLong
1633 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1639 } else if (target
== Py_None
) {
1643 if (!PyTuple_Check(target
)) {
1645 target
= PyTuple_New(1);
1646 PyTuple_SetItem(target
, 0, o2
);
1648 o3
= PyTuple_New(1);
1649 PyTuple_SetItem(o3
, 0, o
);
1652 target
= PySequence_Concat(o2
, o3
);
1660 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1661 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1662 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1663 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1665 #include <wx/checklst.h>
1668 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1669 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1671 wxPyClientData
* data
= new wxPyClientData(clientData
);
1672 self
->Insert(item
, pos
, data
);
1674 self
->Insert(item
, pos
);
1676 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1678 self
->GetSelections(lst
);
1679 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1680 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1681 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1685 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1687 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1688 self
->GetItem(item
)->SetTextColour(c
);
1691 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1693 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1694 self
->GetItem(item
)->SetBackgroundColour(c
);
1697 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1699 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1700 self
->GetItem(item
)->SetFont(f
);
1703 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1706 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1709 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1710 SWIG_type_error("unsigned number", obj
);
1713 *val
= (unsigned long)v
;
1718 SWIGINTERNSHORT
unsigned long
1719 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1722 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1724 this is needed to make valgrind/purify happier.
1726 memset((void*)&v
, 0, sizeof(unsigned long));
1733 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1735 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1738 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1739 self
->AppendText(text
);
1741 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1742 return self
->GetValue().Mid(from
, to
- from
);
1744 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1745 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1746 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1747 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1748 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1750 #include <wx/slider.h>
1753 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1754 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1756 #if !wxUSE_TOGGLEBTN
1757 // implement dummy items for platforms that don't have this class
1759 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1761 class wxToggleButton
: public wxControl
1764 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1765 const wxPoint
&, const wxSize
&, long,
1766 const wxValidator
&, const wxString
&)
1767 { wxPyRaiseNotImplemented(); }
1770 { wxPyRaiseNotImplemented(); }
1774 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1776 SWIGINTERNSHORT PyObject
*
1777 SWIG_From_unsigned_SS_long(unsigned long value
)
1779 return (value
> LONG_MAX
) ?
1780 PyLong_FromUnsignedLong(value
)
1781 : PyInt_FromLong((long)(value
));
1784 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1785 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1786 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1788 Py_INCREF(udata
->m_obj
);
1789 return udata
->m_obj
;
1795 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1796 self
->SetClientData(new wxPyUserData(clientData
));
1798 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
){
1799 wxPyUserData
* udata
= NULL
;
1800 if (clientData
&& clientData
!= Py_None
)
1801 udata
= new wxPyUserData(clientData
);
1802 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1803 shortHelp
, longHelp
, udata
);
1805 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
){
1806 wxPyUserData
* udata
= NULL
;
1807 if (clientData
&& clientData
!= Py_None
)
1808 udata
= new wxPyUserData(clientData
);
1809 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1810 shortHelp
, longHelp
, udata
);
1812 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1813 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1815 Py_INCREF(udata
->m_obj
);
1816 return udata
->m_obj
;
1822 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1823 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1826 #include <wx/listctrl.h>
1828 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1829 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1830 // Python aware sorting function for wxPyListCtrl
1831 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1833 PyObject
* func
= (PyObject
*)funcPtr
;
1834 bool blocked
= wxPyBeginBlockThreads();
1836 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1837 PyObject
* result
= PyEval_CallObject(func
, args
);
1840 retval
= PyInt_AsLong(result
);
1844 wxPyEndBlockThreads(blocked
);
1848 // C++ Version of a Python aware class
1849 class wxPyListCtrl
: public wxListCtrl
{
1850 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1852 wxPyListCtrl() : wxListCtrl() {}
1853 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1857 const wxValidator
& validator
,
1858 const wxString
& name
) :
1859 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1861 bool Create(wxWindow
* parent
, wxWindowID id
,
1865 const wxValidator
& validator
,
1866 const wxString
& name
) {
1867 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1870 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1871 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1873 // use the virtual version to avoid a confusing assert in the base class
1874 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1879 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1881 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1882 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1883 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1886 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1888 item
.SetMask( wxLIST_MASK_STATE
|
1896 if (self
->GetColumn(col
, item
))
1897 return new wxListItem(item
);
1901 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1902 wxListItem
* info
= new wxListItem
;
1903 info
->m_itemId
= itemId
;
1905 info
->m_mask
= 0xFFFF;
1906 self
->GetItem(*info
);
1909 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1911 self
->GetItemPosition(item
, pos
);
1914 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1916 self
->GetItemRect(item
, rect
, code
);
1920 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1921 if (!PyCallable_Check(func
))
1923 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1925 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1933 #include <wx/treectrl.h>
1934 #include "wx/wxPython/pytree.h"
1936 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1937 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1938 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1939 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1940 // C++ version of Python aware wxTreeCtrl
1941 class wxPyTreeCtrl
: public wxTreeCtrl
{
1942 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1944 wxPyTreeCtrl() : wxTreeCtrl() {}
1945 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1949 const wxValidator
& validator
,
1950 const wxString
& name
) :
1951 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1953 bool Create(wxWindow
*parent
, wxWindowID id
,
1957 const wxValidator
& validator
,
1958 const wxString
& name
) {
1959 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1963 int OnCompareItems(const wxTreeItemId
& item1
,
1964 const wxTreeItemId
& item2
) {
1967 bool blocked
= wxPyBeginBlockThreads();
1968 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1969 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1970 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1971 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1975 wxPyEndBlockThreads(blocked
);
1977 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1983 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1987 #if UINT_MAX < LONG_MAX
1988 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1989 #define SWIG_From_unsigned_SS_int SWIG_From_long
1992 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1993 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1999 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2000 unsigned long max_value
,
2003 if (value
> max_value
) {
2005 PyErr_Format(PyExc_OverflowError
,
2006 "value %lu is greater than '%s' minimum %lu",
2007 value
, errmsg
, max_value
);
2015 #if UINT_MAX != ULONG_MAX
2017 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2019 const char* errmsg
= val
? "unsigned int" : (char*)0;
2021 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2022 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2023 if (val
) *val
= (unsigned int)(v
);
2030 SWIG_type_error(errmsg
, obj
);
2035 SWIGINTERNSHORT
unsigned int
2036 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2038 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2043 SWIGINTERNSHORT
unsigned int
2044 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2047 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2049 this is needed to make valgrind/purify happier.
2051 memset((void*)&v
, 0, sizeof(unsigned int));
2058 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2060 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2063 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2064 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2066 data
= new wxPyTreeItemData();
2067 data
->SetId(item
); // set the id
2068 self
->SetItemData(item
, data
);
2072 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2073 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2075 data
= new wxPyTreeItemData();
2076 data
->SetId(item
); // set the id
2077 self
->SetItemData(item
, data
);
2079 return data
->GetData();
2081 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2082 data
->SetId(item
); // set the id
2083 self
->SetItemData(item
, data
);
2085 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2086 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2088 data
= new wxPyTreeItemData(obj
);
2089 data
->SetId(item
); // set the id
2090 self
->SetItemData(item
, data
);
2094 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2095 bool blocked
= wxPyBeginBlockThreads();
2096 PyObject
* rval
= PyList_New(0);
2097 wxArrayTreeItemIds array
;
2099 num
= self
->GetSelections(array
);
2100 for (x
=0; x
< num
; x
++) {
2101 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2102 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2103 PyList_Append(rval
, item
);
2106 wxPyEndBlockThreads(blocked
);
2109 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2111 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2112 bool blocked
= wxPyBeginBlockThreads();
2113 PyObject
* tup
= PyTuple_New(2);
2114 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2115 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2116 wxPyEndBlockThreads(blocked
);
2119 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2120 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2121 bool blocked
= wxPyBeginBlockThreads();
2122 PyObject
* tup
= PyTuple_New(2);
2123 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2124 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2125 wxPyEndBlockThreads(blocked
);
2128 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2130 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2131 bool blocked
= wxPyBeginBlockThreads();
2132 wxRect
* r
= new wxRect(rect
);
2133 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2134 wxPyEndBlockThreads(blocked
);
2140 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2142 SWIGINTERNSHORT PyObject
*
2143 SWIG_From_bool(bool value
)
2145 PyObject
*obj
= value
? Py_True
: Py_False
;
2151 // C++ version of Python aware wxControl
2152 class wxPyControl
: public wxControl
2154 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2156 wxPyControl() : wxControl() {}
2157 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2158 const wxPoint
& pos
= wxDefaultPosition
,
2159 const wxSize
& size
= wxDefaultSize
,
2161 const wxValidator
& validator
=wxDefaultValidator
,
2162 const wxString
& name
= wxPyControlNameStr
)
2163 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2165 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2167 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2168 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2169 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2172 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2176 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2177 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2179 DEC_PYCALLBACK__(InitDialog
);
2180 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2181 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2182 DEC_PYCALLBACK_BOOL_(Validate
);
2184 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2186 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2188 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2189 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2191 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2192 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2193 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2195 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2200 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2202 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2203 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2204 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2205 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2208 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2209 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2211 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2212 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2214 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2215 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2216 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2217 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2219 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2220 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2223 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2224 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2226 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2227 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
2228 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2230 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2234 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2236 #include <wx/generic/dragimgg.h>
2238 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2239 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2241 self
->GetRange(&rv
, NULL
);
2244 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2246 self
->GetRange(NULL
, &rv
);
2252 static int _wrap_ButtonNameStr_set(PyObject
*) {
2253 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2258 static PyObject
*_wrap_ButtonNameStr_get(void) {
2263 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2265 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2272 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2274 wxWindow
*arg1
= (wxWindow
*) 0 ;
2275 int arg2
= (int) -1 ;
2276 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2277 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2282 long arg6
= (long) 0 ;
2283 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2284 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2285 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2286 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2288 bool temp3
= false ;
2291 bool temp8
= false ;
2292 PyObject
* obj0
= 0 ;
2293 PyObject
* obj1
= 0 ;
2294 PyObject
* obj2
= 0 ;
2295 PyObject
* obj3
= 0 ;
2296 PyObject
* obj4
= 0 ;
2297 PyObject
* obj5
= 0 ;
2298 PyObject
* obj6
= 0 ;
2299 PyObject
* obj7
= 0 ;
2301 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2306 if (SWIG_arg_fail(1)) SWIG_fail
;
2309 arg2
= (int)(SWIG_As_int(obj1
));
2310 if (SWIG_arg_fail(2)) SWIG_fail
;
2315 arg3
= wxString_in_helper(obj2
);
2316 if (arg3
== NULL
) SWIG_fail
;
2323 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2329 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2334 arg6
= (long)(SWIG_As_long(obj5
));
2335 if (SWIG_arg_fail(6)) SWIG_fail
;
2340 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2341 if (SWIG_arg_fail(7)) SWIG_fail
;
2343 SWIG_null_ref("wxValidator");
2345 if (SWIG_arg_fail(7)) SWIG_fail
;
2350 arg8
= wxString_in_helper(obj7
);
2351 if (arg8
== NULL
) SWIG_fail
;
2356 if (!wxPyCheckForApp()) SWIG_fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2386 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2395 if (!wxPyCheckForApp()) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 result
= (wxButton
*)new wxButton();
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2409 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
*resultobj
;
2411 wxButton
*arg1
= (wxButton
*) 0 ;
2412 wxWindow
*arg2
= (wxWindow
*) 0 ;
2413 int arg3
= (int) -1 ;
2414 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2415 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2416 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2417 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2418 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2419 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2420 long arg7
= (long) 0 ;
2421 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2422 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2423 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2424 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2426 bool temp4
= false ;
2429 bool temp9
= false ;
2430 PyObject
* obj0
= 0 ;
2431 PyObject
* obj1
= 0 ;
2432 PyObject
* obj2
= 0 ;
2433 PyObject
* obj3
= 0 ;
2434 PyObject
* obj4
= 0 ;
2435 PyObject
* obj5
= 0 ;
2436 PyObject
* obj6
= 0 ;
2437 PyObject
* obj7
= 0 ;
2438 PyObject
* obj8
= 0 ;
2440 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2445 if (SWIG_arg_fail(1)) SWIG_fail
;
2446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2447 if (SWIG_arg_fail(2)) SWIG_fail
;
2450 arg3
= (int)(SWIG_As_int(obj2
));
2451 if (SWIG_arg_fail(3)) SWIG_fail
;
2456 arg4
= wxString_in_helper(obj3
);
2457 if (arg4
== NULL
) SWIG_fail
;
2464 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2470 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2475 arg7
= (long)(SWIG_As_long(obj6
));
2476 if (SWIG_arg_fail(7)) SWIG_fail
;
2481 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2482 if (SWIG_arg_fail(8)) SWIG_fail
;
2484 SWIG_null_ref("wxValidator");
2486 if (SWIG_arg_fail(8)) SWIG_fail
;
2491 arg9
= wxString_in_helper(obj8
);
2492 if (arg9
== NULL
) SWIG_fail
;
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2528 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2530 wxButton
*arg1
= (wxButton
*) 0 ;
2531 PyObject
* obj0
= 0 ;
2533 (char *) "self", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2538 if (SWIG_arg_fail(1)) SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 (arg1
)->SetDefault();
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2546 Py_INCREF(Py_None
); resultobj
= Py_None
;
2553 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
*resultobj
;
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 result
= wxButton::GetDefaultSize();
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2570 resultptr
= new wxSize((wxSize
&)(result
));
2571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2579 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2582 wxVisualAttributes result
;
2583 PyObject
* obj0
= 0 ;
2585 (char *) "variant", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2591 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2592 if (SWIG_arg_fail(1)) SWIG_fail
;
2596 if (!wxPyCheckForApp()) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2604 wxVisualAttributes
* resultptr
;
2605 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2614 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2617 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2619 return Py_BuildValue((char *)"");
2621 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxWindow
*arg1
= (wxWindow
*) 0 ;
2624 int arg2
= (int) -1 ;
2625 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2626 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2631 long arg6
= (long) wxBU_AUTODRAW
;
2632 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2633 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2634 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2635 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2636 wxBitmapButton
*result
;
2639 bool temp8
= false ;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj1
= 0 ;
2642 PyObject
* obj2
= 0 ;
2643 PyObject
* obj3
= 0 ;
2644 PyObject
* obj4
= 0 ;
2645 PyObject
* obj5
= 0 ;
2646 PyObject
* obj6
= 0 ;
2647 PyObject
* obj7
= 0 ;
2649 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2654 if (SWIG_arg_fail(1)) SWIG_fail
;
2657 arg2
= (int)(SWIG_As_int(obj1
));
2658 if (SWIG_arg_fail(2)) SWIG_fail
;
2663 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2664 if (SWIG_arg_fail(3)) SWIG_fail
;
2666 SWIG_null_ref("wxBitmap");
2668 if (SWIG_arg_fail(3)) SWIG_fail
;
2674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2680 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2685 arg6
= (long)(SWIG_As_long(obj5
));
2686 if (SWIG_arg_fail(6)) SWIG_fail
;
2691 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2692 if (SWIG_arg_fail(7)) SWIG_fail
;
2694 SWIG_null_ref("wxValidator");
2696 if (SWIG_arg_fail(7)) SWIG_fail
;
2701 arg8
= wxString_in_helper(obj7
);
2702 if (arg8
== NULL
) SWIG_fail
;
2707 if (!wxPyCheckForApp()) SWIG_fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2729 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxBitmapButton
*result
;
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2738 if (!wxPyCheckForApp()) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= (wxBitmapButton
*)new wxBitmapButton();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2752 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2755 wxWindow
*arg2
= (wxWindow
*) 0 ;
2756 int arg3
= (int) -1 ;
2757 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2758 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2759 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2760 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2761 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2762 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2763 long arg7
= (long) wxBU_AUTODRAW
;
2764 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2765 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2766 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2767 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2771 bool temp9
= false ;
2772 PyObject
* obj0
= 0 ;
2773 PyObject
* obj1
= 0 ;
2774 PyObject
* obj2
= 0 ;
2775 PyObject
* obj3
= 0 ;
2776 PyObject
* obj4
= 0 ;
2777 PyObject
* obj5
= 0 ;
2778 PyObject
* obj6
= 0 ;
2779 PyObject
* obj7
= 0 ;
2780 PyObject
* obj8
= 0 ;
2782 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2787 if (SWIG_arg_fail(1)) SWIG_fail
;
2788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2789 if (SWIG_arg_fail(2)) SWIG_fail
;
2792 arg3
= (int)(SWIG_As_int(obj2
));
2793 if (SWIG_arg_fail(3)) SWIG_fail
;
2798 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2799 if (SWIG_arg_fail(4)) SWIG_fail
;
2801 SWIG_null_ref("wxBitmap");
2803 if (SWIG_arg_fail(4)) SWIG_fail
;
2809 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2815 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2820 arg7
= (long)(SWIG_As_long(obj6
));
2821 if (SWIG_arg_fail(7)) SWIG_fail
;
2826 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2827 if (SWIG_arg_fail(8)) SWIG_fail
;
2829 SWIG_null_ref("wxValidator");
2831 if (SWIG_arg_fail(8)) SWIG_fail
;
2836 arg9
= wxString_in_helper(obj8
);
2837 if (arg9
== NULL
) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2865 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
;
2867 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2869 PyObject
* obj0
= 0 ;
2871 (char *) "self", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2876 if (SWIG_arg_fail(1)) SWIG_fail
;
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 result
= (arg1
)->GetBitmapLabel();
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2885 wxBitmap
* resultptr
;
2886 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2895 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2897 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2901 (char *) "self", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2906 if (SWIG_arg_fail(1)) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 result
= (arg1
)->GetBitmapDisabled();
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2915 wxBitmap
* resultptr
;
2916 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2925 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2929 PyObject
* obj0
= 0 ;
2931 (char *) "self", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2936 if (SWIG_arg_fail(1)) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (arg1
)->GetBitmapFocus();
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2945 wxBitmap
* resultptr
;
2946 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2955 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
*resultobj
;
2957 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2959 PyObject
* obj0
= 0 ;
2961 (char *) "self", NULL
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2966 if (SWIG_arg_fail(1)) SWIG_fail
;
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 result
= (arg1
)->GetBitmapSelected();
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2975 wxBitmap
* resultptr
;
2976 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2985 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
;
2987 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2988 wxBitmap
*arg2
= 0 ;
2989 PyObject
* obj0
= 0 ;
2990 PyObject
* obj1
= 0 ;
2992 (char *) "self",(char *) "bitmap", NULL
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2997 if (SWIG_arg_fail(1)) SWIG_fail
;
2999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3000 if (SWIG_arg_fail(2)) SWIG_fail
;
3002 SWIG_null_ref("wxBitmap");
3004 if (SWIG_arg_fail(2)) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3013 Py_INCREF(Py_None
); resultobj
= Py_None
;
3020 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
*resultobj
;
3022 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3023 wxBitmap
*arg2
= 0 ;
3024 PyObject
* obj0
= 0 ;
3025 PyObject
* obj1
= 0 ;
3027 (char *) "self",(char *) "bitmap", NULL
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3032 if (SWIG_arg_fail(1)) SWIG_fail
;
3034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3035 if (SWIG_arg_fail(2)) SWIG_fail
;
3037 SWIG_null_ref("wxBitmap");
3039 if (SWIG_arg_fail(2)) SWIG_fail
;
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3048 Py_INCREF(Py_None
); resultobj
= Py_None
;
3055 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3058 wxBitmap
*arg2
= 0 ;
3059 PyObject
* obj0
= 0 ;
3060 PyObject
* obj1
= 0 ;
3062 (char *) "self",(char *) "bitmap", NULL
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3067 if (SWIG_arg_fail(1)) SWIG_fail
;
3069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3070 if (SWIG_arg_fail(2)) SWIG_fail
;
3072 SWIG_null_ref("wxBitmap");
3074 if (SWIG_arg_fail(2)) SWIG_fail
;
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3083 Py_INCREF(Py_None
); resultobj
= Py_None
;
3090 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3093 wxBitmap
*arg2
= 0 ;
3094 PyObject
* obj0
= 0 ;
3095 PyObject
* obj1
= 0 ;
3097 (char *) "self",(char *) "bitmap", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3102 if (SWIG_arg_fail(1)) SWIG_fail
;
3104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3105 if (SWIG_arg_fail(2)) SWIG_fail
;
3107 SWIG_null_ref("wxBitmap");
3109 if (SWIG_arg_fail(2)) SWIG_fail
;
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 Py_INCREF(Py_None
); resultobj
= Py_None
;
3125 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3130 PyObject
* obj0
= 0 ;
3131 PyObject
* obj1
= 0 ;
3132 PyObject
* obj2
= 0 ;
3134 (char *) "self",(char *) "x",(char *) "y", NULL
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3139 if (SWIG_arg_fail(1)) SWIG_fail
;
3141 arg2
= (int)(SWIG_As_int(obj1
));
3142 if (SWIG_arg_fail(2)) SWIG_fail
;
3145 arg3
= (int)(SWIG_As_int(obj2
));
3146 if (SWIG_arg_fail(3)) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 (arg1
)->SetMargins(arg2
,arg3
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3155 Py_INCREF(Py_None
); resultobj
= Py_None
;
3162 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3182 resultobj
= SWIG_From_int((int)(result
));
3190 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3210 resultobj
= SWIG_From_int((int)(result
));
3218 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3221 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3223 return Py_BuildValue((char *)"");
3225 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3226 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3231 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3236 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3238 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3245 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxWindow
*arg1
= (wxWindow
*) 0 ;
3248 int arg2
= (int) -1 ;
3249 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3250 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3255 long arg6
= (long) 0 ;
3256 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3257 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3258 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3259 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3261 bool temp3
= false ;
3264 bool temp8
= false ;
3265 PyObject
* obj0
= 0 ;
3266 PyObject
* obj1
= 0 ;
3267 PyObject
* obj2
= 0 ;
3268 PyObject
* obj3
= 0 ;
3269 PyObject
* obj4
= 0 ;
3270 PyObject
* obj5
= 0 ;
3271 PyObject
* obj6
= 0 ;
3272 PyObject
* obj7
= 0 ;
3274 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail
;
3282 arg2
= (int)(SWIG_As_int(obj1
));
3283 if (SWIG_arg_fail(2)) SWIG_fail
;
3288 arg3
= wxString_in_helper(obj2
);
3289 if (arg3
== NULL
) SWIG_fail
;
3296 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3302 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3307 arg6
= (long)(SWIG_As_long(obj5
));
3308 if (SWIG_arg_fail(6)) SWIG_fail
;
3313 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3314 if (SWIG_arg_fail(7)) SWIG_fail
;
3316 SWIG_null_ref("wxValidator");
3318 if (SWIG_arg_fail(7)) SWIG_fail
;
3323 arg8
= wxString_in_helper(obj7
);
3324 if (arg8
== NULL
) SWIG_fail
;
3329 if (!wxPyCheckForApp()) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3359 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
*resultobj
;
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3368 if (!wxPyCheckForApp()) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 result
= (wxCheckBox
*)new wxCheckBox();
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3382 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
*resultobj
;
3384 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3385 wxWindow
*arg2
= (wxWindow
*) 0 ;
3386 int arg3
= (int) -1 ;
3387 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3388 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3389 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3390 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3391 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3392 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3393 long arg7
= (long) 0 ;
3394 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3395 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3396 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3397 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3399 bool temp4
= false ;
3402 bool temp9
= false ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3405 PyObject
* obj2
= 0 ;
3406 PyObject
* obj3
= 0 ;
3407 PyObject
* obj4
= 0 ;
3408 PyObject
* obj5
= 0 ;
3409 PyObject
* obj6
= 0 ;
3410 PyObject
* obj7
= 0 ;
3411 PyObject
* obj8
= 0 ;
3413 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3418 if (SWIG_arg_fail(1)) SWIG_fail
;
3419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3420 if (SWIG_arg_fail(2)) SWIG_fail
;
3423 arg3
= (int)(SWIG_As_int(obj2
));
3424 if (SWIG_arg_fail(3)) SWIG_fail
;
3429 arg4
= wxString_in_helper(obj3
);
3430 if (arg4
== NULL
) SWIG_fail
;
3437 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3443 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3448 arg7
= (long)(SWIG_As_long(obj6
));
3449 if (SWIG_arg_fail(7)) SWIG_fail
;
3454 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3455 if (SWIG_arg_fail(8)) SWIG_fail
;
3457 SWIG_null_ref("wxValidator");
3459 if (SWIG_arg_fail(8)) SWIG_fail
;
3464 arg9
= wxString_in_helper(obj8
);
3465 if (arg9
== NULL
) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3501 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3512 if (SWIG_arg_fail(1)) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 result
= (bool)(arg1
)->GetValue();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3529 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3535 (char *) "self", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (bool)(arg1
)->IsChecked();
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3557 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3562 PyObject
* obj1
= 0 ;
3564 (char *) "self",(char *) "state", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3569 if (SWIG_arg_fail(1)) SWIG_fail
;
3571 arg2
= (bool const)(SWIG_As_bool(obj1
));
3572 if (SWIG_arg_fail(2)) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 (arg1
)->SetValue(arg2
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 Py_INCREF(Py_None
); resultobj
= Py_None
;
3588 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3590 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3591 wxCheckBoxState result
;
3592 PyObject
* obj0
= 0 ;
3594 (char *) "self", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3599 if (SWIG_arg_fail(1)) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 resultobj
= SWIG_From_int((result
));
3614 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3616 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3617 wxCheckBoxState arg2
;
3618 PyObject
* obj0
= 0 ;
3619 PyObject
* obj1
= 0 ;
3621 (char *) "self",(char *) "state", NULL
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3626 if (SWIG_arg_fail(1)) SWIG_fail
;
3628 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3629 if (SWIG_arg_fail(2)) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3638 Py_INCREF(Py_None
); resultobj
= Py_None
;
3645 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3651 (char *) "self", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3673 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3679 (char *) "self", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3684 if (SWIG_arg_fail(1)) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3701 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3704 wxVisualAttributes result
;
3705 PyObject
* obj0
= 0 ;
3707 (char *) "variant", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3713 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3714 if (SWIG_arg_fail(1)) SWIG_fail
;
3718 if (!wxPyCheckForApp()) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 wxVisualAttributes
* resultptr
;
3727 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3736 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3739 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3741 return Py_BuildValue((char *)"");
3743 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3744 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3749 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3754 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3756 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3763 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
*resultobj
;
3765 wxWindow
*arg1
= (wxWindow
*) 0 ;
3766 int arg2
= (int) -1 ;
3767 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3768 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3769 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3770 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3771 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3772 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3773 long arg6
= (long) 0 ;
3774 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3775 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3776 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3777 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3781 bool temp5
= false ;
3782 bool temp8
= false ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3785 PyObject
* obj2
= 0 ;
3786 PyObject
* obj3
= 0 ;
3787 PyObject
* obj4
= 0 ;
3788 PyObject
* obj5
= 0 ;
3789 PyObject
* obj6
= 0 ;
3790 PyObject
* obj7
= 0 ;
3792 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 arg2
= (int)(SWIG_As_int(obj1
));
3801 if (SWIG_arg_fail(2)) SWIG_fail
;
3807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3813 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3818 if (! PySequence_Check(obj4
)) {
3819 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3822 arg5
= new wxArrayString
;
3824 int i
, len
=PySequence_Length(obj4
);
3825 for (i
=0; i
<len
; i
++) {
3826 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3828 PyObject
* str
= PyObject_Unicode(item
);
3830 PyObject
* str
= PyObject_Str(item
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3833 arg5
->Add(Py2wxString(str
));
3841 arg6
= (long)(SWIG_As_long(obj5
));
3842 if (SWIG_arg_fail(6)) SWIG_fail
;
3847 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3848 if (SWIG_arg_fail(7)) SWIG_fail
;
3850 SWIG_null_ref("wxValidator");
3852 if (SWIG_arg_fail(7)) SWIG_fail
;
3857 arg8
= wxString_in_helper(obj7
);
3858 if (arg8
== NULL
) SWIG_fail
;
3863 if (!wxPyCheckForApp()) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3872 if (temp5
) delete arg5
;
3881 if (temp5
) delete arg5
;
3891 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3900 if (!wxPyCheckForApp()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (wxChoice
*)new wxChoice();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3914 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxChoice
*arg1
= (wxChoice
*) 0 ;
3917 wxWindow
*arg2
= (wxWindow
*) 0 ;
3918 int arg3
= (int) -1 ;
3919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3923 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3924 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3925 long arg7
= (long) 0 ;
3926 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3927 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3928 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3929 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3933 bool temp6
= false ;
3934 bool temp9
= false ;
3935 PyObject
* obj0
= 0 ;
3936 PyObject
* obj1
= 0 ;
3937 PyObject
* obj2
= 0 ;
3938 PyObject
* obj3
= 0 ;
3939 PyObject
* obj4
= 0 ;
3940 PyObject
* obj5
= 0 ;
3941 PyObject
* obj6
= 0 ;
3942 PyObject
* obj7
= 0 ;
3943 PyObject
* obj8
= 0 ;
3945 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3950 if (SWIG_arg_fail(1)) SWIG_fail
;
3951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3952 if (SWIG_arg_fail(2)) SWIG_fail
;
3955 arg3
= (int)(SWIG_As_int(obj2
));
3956 if (SWIG_arg_fail(3)) SWIG_fail
;
3962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3973 if (! PySequence_Check(obj5
)) {
3974 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3977 arg6
= new wxArrayString
;
3979 int i
, len
=PySequence_Length(obj5
);
3980 for (i
=0; i
<len
; i
++) {
3981 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3983 PyObject
* str
= PyObject_Unicode(item
);
3985 PyObject
* str
= PyObject_Str(item
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3988 arg6
->Add(Py2wxString(str
));
3996 arg7
= (long)(SWIG_As_long(obj6
));
3997 if (SWIG_arg_fail(7)) SWIG_fail
;
4002 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4003 if (SWIG_arg_fail(8)) SWIG_fail
;
4005 SWIG_null_ref("wxValidator");
4007 if (SWIG_arg_fail(8)) SWIG_fail
;
4012 arg9
= wxString_in_helper(obj8
);
4013 if (arg9
== NULL
) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4028 if (temp6
) delete arg6
;
4037 if (temp6
) delete arg6
;
4047 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4050 wxVisualAttributes result
;
4051 PyObject
* obj0
= 0 ;
4053 (char *) "variant", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4059 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4060 if (SWIG_arg_fail(1)) SWIG_fail
;
4064 if (!wxPyCheckForApp()) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4072 wxVisualAttributes
* resultptr
;
4073 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4082 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4085 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4087 return Py_BuildValue((char *)"");
4089 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4090 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4095 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4100 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4102 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4109 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxWindow
*arg1
= (wxWindow
*) 0 ;
4112 int arg2
= (int) -1 ;
4113 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4114 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4119 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4120 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4121 long arg7
= (long) 0 ;
4122 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4123 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4124 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4125 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4127 bool temp3
= false ;
4130 bool temp6
= false ;
4131 bool temp9
= false ;
4132 PyObject
* obj0
= 0 ;
4133 PyObject
* obj1
= 0 ;
4134 PyObject
* obj2
= 0 ;
4135 PyObject
* obj3
= 0 ;
4136 PyObject
* obj4
= 0 ;
4137 PyObject
* obj5
= 0 ;
4138 PyObject
* obj6
= 0 ;
4139 PyObject
* obj7
= 0 ;
4140 PyObject
* obj8
= 0 ;
4142 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4147 if (SWIG_arg_fail(1)) SWIG_fail
;
4150 arg2
= (int)(SWIG_As_int(obj1
));
4151 if (SWIG_arg_fail(2)) SWIG_fail
;
4156 arg3
= wxString_in_helper(obj2
);
4157 if (arg3
== NULL
) SWIG_fail
;
4164 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4170 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4175 if (! PySequence_Check(obj5
)) {
4176 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4179 arg6
= new wxArrayString
;
4181 int i
, len
=PySequence_Length(obj5
);
4182 for (i
=0; i
<len
; i
++) {
4183 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4185 PyObject
* str
= PyObject_Unicode(item
);
4187 PyObject
* str
= PyObject_Str(item
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4190 arg6
->Add(Py2wxString(str
));
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
);
4359 PyObject
* str
= PyObject_Unicode(item
);
4361 PyObject
* str
= PyObject_Str(item
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4364 arg7
->Add(Py2wxString(str
));
4372 arg8
= (long)(SWIG_As_long(obj7
));
4373 if (SWIG_arg_fail(8)) SWIG_fail
;
4378 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4379 if (SWIG_arg_fail(9)) SWIG_fail
;
4381 SWIG_null_ref("wxValidator");
4383 if (SWIG_arg_fail(9)) SWIG_fail
;
4388 arg10
= wxString_in_helper(obj9
);
4389 if (arg10
== NULL
) SWIG_fail
;
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 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
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4408 if (temp7
) delete arg7
;
4421 if (temp7
) delete arg7
;
4431 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4435 PyObject
* obj0
= 0 ;
4437 (char *) "self", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= ((wxComboBox
const *)arg1
)->GetValue();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4463 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4466 wxString
*arg2
= 0 ;
4467 bool temp2
= false ;
4468 PyObject
* obj0
= 0 ;
4469 PyObject
* obj1
= 0 ;
4471 (char *) "self",(char *) "value", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4476 if (SWIG_arg_fail(1)) SWIG_fail
;
4478 arg2
= wxString_in_helper(obj1
);
4479 if (arg2
== NULL
) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 (arg1
)->SetValue((wxString
const &)*arg2
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 Py_INCREF(Py_None
); resultobj
= Py_None
;
4504 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4509 (char *) "self", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4514 if (SWIG_arg_fail(1)) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4534 (char *) "self", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 Py_INCREF(Py_None
); resultobj
= Py_None
;
4554 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4586 (char *) "self",(char *) "pos", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail
;
4593 arg2
= (long)(SWIG_As_long(obj1
));
4594 if (SWIG_arg_fail(2)) SWIG_fail
;
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 (arg1
)->SetInsertionPoint(arg2
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 Py_INCREF(Py_None
); resultobj
= Py_None
;
4610 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4612 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4614 PyObject
* obj0
= 0 ;
4616 (char *) "self", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_From_long((long)(result
));
4638 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4644 (char *) "self", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4649 if (SWIG_arg_fail(1)) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_From_long((long)(result
));
4666 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4671 wxString
*arg4
= 0 ;
4672 bool temp4
= false ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 PyObject
* obj2
= 0 ;
4676 PyObject
* obj3
= 0 ;
4678 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4683 if (SWIG_arg_fail(1)) SWIG_fail
;
4685 arg2
= (long)(SWIG_As_long(obj1
));
4686 if (SWIG_arg_fail(2)) SWIG_fail
;
4689 arg3
= (long)(SWIG_As_long(obj2
));
4690 if (SWIG_arg_fail(3)) SWIG_fail
;
4693 arg4
= wxString_in_helper(obj3
);
4694 if (arg4
== NULL
) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4726 (char *) "self",(char *) "n", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4731 if (SWIG_arg_fail(1)) SWIG_fail
;
4733 arg2
= (int)(SWIG_As_int(obj1
));
4734 if (SWIG_arg_fail(2)) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 (arg1
)->SetSelection(arg2
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 Py_INCREF(Py_None
); resultobj
= Py_None
;
4750 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 PyObject
* obj2
= 0 ;
4759 (char *) "self",(char *) "from",(char *) "to", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4764 if (SWIG_arg_fail(1)) SWIG_fail
;
4766 arg2
= (long)(SWIG_As_long(obj1
));
4767 if (SWIG_arg_fail(2)) SWIG_fail
;
4770 arg3
= (long)(SWIG_As_long(obj2
));
4771 if (SWIG_arg_fail(3)) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 (arg1
)->SetSelection(arg2
,arg3
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 Py_INCREF(Py_None
); resultobj
= Py_None
;
4787 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4790 long *arg2
= (long *) 0 ;
4791 long *arg3
= (long *) 0 ;
4796 PyObject
* obj0
= 0 ;
4798 (char *) "self", NULL
4801 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4802 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4805 if (SWIG_arg_fail(1)) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 (arg1
)->GetSelection(arg2
,arg3
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 Py_INCREF(Py_None
); resultobj
= Py_None
;
4814 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4815 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4816 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4817 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4824 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4827 wxString
*arg2
= 0 ;
4829 bool temp2
= false ;
4830 PyObject
* obj0
= 0 ;
4831 PyObject
* obj1
= 0 ;
4833 (char *) "self",(char *) "string", NULL
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4838 if (SWIG_arg_fail(1)) SWIG_fail
;
4840 arg2
= wxString_in_helper(obj1
);
4841 if (arg2
== NULL
) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4868 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4872 wxString
*arg3
= 0 ;
4873 bool temp3
= false ;
4874 PyObject
* obj0
= 0 ;
4875 PyObject
* obj1
= 0 ;
4876 PyObject
* obj2
= 0 ;
4878 (char *) "self",(char *) "n",(char *) "string", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4883 if (SWIG_arg_fail(1)) SWIG_fail
;
4885 arg2
= (int)(SWIG_As_int(obj1
));
4886 if (SWIG_arg_fail(2)) SWIG_fail
;
4889 arg3
= wxString_in_helper(obj2
);
4890 if (arg3
== NULL
) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 Py_INCREF(Py_None
); resultobj
= Py_None
;
4915 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4922 (char *) "self",(char *) "editable", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4927 if (SWIG_arg_fail(1)) SWIG_fail
;
4929 arg2
= (bool)(SWIG_As_bool(obj1
));
4930 if (SWIG_arg_fail(2)) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 (arg1
)->SetEditable(arg2
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 Py_INCREF(Py_None
); resultobj
= Py_None
;
4946 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4956 if (SWIG_arg_fail(1)) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 (arg1
)->SetInsertionPointEnd();
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4978 PyObject
* obj2
= 0 ;
4980 (char *) "self",(char *) "from",(char *) "to", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail
;
4987 arg2
= (long)(SWIG_As_long(obj1
));
4988 if (SWIG_arg_fail(2)) SWIG_fail
;
4991 arg3
= (long)(SWIG_As_long(obj2
));
4992 if (SWIG_arg_fail(3)) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 (arg1
)->Remove(arg2
,arg3
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 Py_INCREF(Py_None
); resultobj
= Py_None
;
5008 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5014 (char *) "self", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5036 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5039 PyObject
* obj0
= 0 ;
5041 (char *) "self", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5046 if (SWIG_arg_fail(1)) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 Py_INCREF(Py_None
); resultobj
= Py_None
;
5061 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5064 PyObject
* obj0
= 0 ;
5066 (char *) "self", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5071 if (SWIG_arg_fail(1)) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 Py_INCREF(Py_None
); resultobj
= Py_None
;
5086 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5089 PyObject
* obj0
= 0 ;
5091 (char *) "self", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 (arg1
)->SelectAll();
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 Py_INCREF(Py_None
); resultobj
= Py_None
;
5111 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5117 (char *) "self", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5122 if (SWIG_arg_fail(1)) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5139 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5145 (char *) "self", NULL
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5150 if (SWIG_arg_fail(1)) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5167 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
*resultobj
;
5169 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5171 PyObject
* obj0
= 0 ;
5173 (char *) "self", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5178 if (SWIG_arg_fail(1)) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5195 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5199 PyObject
* obj0
= 0 ;
5201 (char *) "self", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5206 if (SWIG_arg_fail(1)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5223 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5227 PyObject
* obj0
= 0 ;
5229 (char *) "self", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5234 if (SWIG_arg_fail(1)) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5251 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
;
5253 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5254 wxVisualAttributes result
;
5255 PyObject
* obj0
= 0 ;
5257 (char *) "variant", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5263 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5264 if (SWIG_arg_fail(1)) SWIG_fail
;
5268 if (!wxPyCheckForApp()) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5276 wxVisualAttributes
* resultptr
;
5277 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5286 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5289 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5291 return Py_BuildValue((char *)"");
5293 static int _wrap_GaugeNameStr_set(PyObject
*) {
5294 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5299 static PyObject
*_wrap_GaugeNameStr_get(void) {
5304 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5306 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5313 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxWindow
*arg1
= (wxWindow
*) 0 ;
5316 int arg2
= (int) -1 ;
5317 int arg3
= (int) 100 ;
5318 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5319 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5320 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5321 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5322 long arg6
= (long) wxGA_HORIZONTAL
;
5323 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5324 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5325 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5326 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5330 bool temp8
= false ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5334 PyObject
* obj3
= 0 ;
5335 PyObject
* obj4
= 0 ;
5336 PyObject
* obj5
= 0 ;
5337 PyObject
* obj6
= 0 ;
5338 PyObject
* obj7
= 0 ;
5340 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5345 if (SWIG_arg_fail(1)) SWIG_fail
;
5348 arg2
= (int)(SWIG_As_int(obj1
));
5349 if (SWIG_arg_fail(2)) SWIG_fail
;
5354 arg3
= (int)(SWIG_As_int(obj2
));
5355 if (SWIG_arg_fail(3)) SWIG_fail
;
5361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5372 arg6
= (long)(SWIG_As_long(obj5
));
5373 if (SWIG_arg_fail(6)) SWIG_fail
;
5378 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5379 if (SWIG_arg_fail(7)) SWIG_fail
;
5381 SWIG_null_ref("wxValidator");
5383 if (SWIG_arg_fail(7)) SWIG_fail
;
5388 arg8
= wxString_in_helper(obj7
);
5389 if (arg8
== NULL
) SWIG_fail
;
5394 if (!wxPyCheckForApp()) SWIG_fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5416 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5425 if (!wxPyCheckForApp()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (wxGauge
*)new wxGauge();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5439 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxGauge
*arg1
= (wxGauge
*) 0 ;
5442 wxWindow
*arg2
= (wxWindow
*) 0 ;
5443 int arg3
= (int) -1 ;
5444 int arg4
= (int) 100 ;
5445 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5446 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5447 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5448 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5449 long arg7
= (long) wxGA_HORIZONTAL
;
5450 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5451 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5452 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5453 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5457 bool temp9
= false ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5460 PyObject
* obj2
= 0 ;
5461 PyObject
* obj3
= 0 ;
5462 PyObject
* obj4
= 0 ;
5463 PyObject
* obj5
= 0 ;
5464 PyObject
* obj6
= 0 ;
5465 PyObject
* obj7
= 0 ;
5466 PyObject
* obj8
= 0 ;
5468 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5473 if (SWIG_arg_fail(1)) SWIG_fail
;
5474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5475 if (SWIG_arg_fail(2)) SWIG_fail
;
5478 arg3
= (int)(SWIG_As_int(obj2
));
5479 if (SWIG_arg_fail(3)) SWIG_fail
;
5484 arg4
= (int)(SWIG_As_int(obj3
));
5485 if (SWIG_arg_fail(4)) SWIG_fail
;
5491 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5497 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5502 arg7
= (long)(SWIG_As_long(obj6
));
5503 if (SWIG_arg_fail(7)) SWIG_fail
;
5508 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5509 if (SWIG_arg_fail(8)) SWIG_fail
;
5511 SWIG_null_ref("wxValidator");
5513 if (SWIG_arg_fail(8)) SWIG_fail
;
5518 arg9
= wxString_in_helper(obj8
);
5519 if (arg9
== NULL
) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5547 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxGauge
*arg1
= (wxGauge
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5554 (char *) "self",(char *) "range", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail
;
5561 arg2
= (int)(SWIG_As_int(obj1
));
5562 if (SWIG_arg_fail(2)) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 (arg1
)->SetRange(arg2
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxGauge
*arg1
= (wxGauge
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5584 (char *) "self", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5589 if (SWIG_arg_fail(1)) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_From_int((int)(result
));
5606 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
;
5608 wxGauge
*arg1
= (wxGauge
*) 0 ;
5610 PyObject
* obj0
= 0 ;
5611 PyObject
* obj1
= 0 ;
5613 (char *) "self",(char *) "pos", NULL
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5618 if (SWIG_arg_fail(1)) SWIG_fail
;
5620 arg2
= (int)(SWIG_As_int(obj1
));
5621 if (SWIG_arg_fail(2)) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 (arg1
)->SetValue(arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 Py_INCREF(Py_None
); resultobj
= Py_None
;
5637 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxGauge
*arg1
= (wxGauge
*) 0 ;
5641 PyObject
* obj0
= 0 ;
5643 (char *) "self", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5648 if (SWIG_arg_fail(1)) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= SWIG_From_int((int)(result
));
5665 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxGauge
*arg1
= (wxGauge
*) 0 ;
5669 PyObject
* obj0
= 0 ;
5671 (char *) "self", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5676 if (SWIG_arg_fail(1)) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5693 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxGauge
*arg1
= (wxGauge
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5700 (char *) "self",(char *) "w", NULL
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5705 if (SWIG_arg_fail(1)) SWIG_fail
;
5707 arg2
= (int)(SWIG_As_int(obj1
));
5708 if (SWIG_arg_fail(2)) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 (arg1
)->SetShadowWidth(arg2
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 Py_INCREF(Py_None
); resultobj
= Py_None
;
5724 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5726 wxGauge
*arg1
= (wxGauge
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5730 (char *) "self", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5735 if (SWIG_arg_fail(1)) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= SWIG_From_int((int)(result
));
5752 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 wxGauge
*arg1
= (wxGauge
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5759 (char *) "self",(char *) "w", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5764 if (SWIG_arg_fail(1)) SWIG_fail
;
5766 arg2
= (int)(SWIG_As_int(obj1
));
5767 if (SWIG_arg_fail(2)) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 (arg1
)->SetBezelFace(arg2
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 Py_INCREF(Py_None
); resultobj
= Py_None
;
5783 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxGauge
*arg1
= (wxGauge
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5789 (char *) "self", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5794 if (SWIG_arg_fail(1)) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= SWIG_From_int((int)(result
));
5811 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5814 wxVisualAttributes result
;
5815 PyObject
* obj0
= 0 ;
5817 (char *) "variant", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5823 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5824 if (SWIG_arg_fail(1)) SWIG_fail
;
5828 if (!wxPyCheckForApp()) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5836 wxVisualAttributes
* resultptr
;
5837 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5846 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5849 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5851 return Py_BuildValue((char *)"");
5853 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5854 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5859 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5864 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5866 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5873 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5874 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5879 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5884 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5886 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5893 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5894 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5899 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5904 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5906 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5913 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxWindow
*arg1
= (wxWindow
*) 0 ;
5916 int arg2
= (int) -1 ;
5917 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5918 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5923 long arg6
= (long) 0 ;
5924 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5925 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5926 wxStaticBox
*result
;
5927 bool temp3
= false ;
5930 bool temp7
= false ;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5933 PyObject
* obj2
= 0 ;
5934 PyObject
* obj3
= 0 ;
5935 PyObject
* obj4
= 0 ;
5936 PyObject
* obj5
= 0 ;
5937 PyObject
* obj6
= 0 ;
5939 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5944 if (SWIG_arg_fail(1)) SWIG_fail
;
5947 arg2
= (int)(SWIG_As_int(obj1
));
5948 if (SWIG_arg_fail(2)) SWIG_fail
;
5953 arg3
= wxString_in_helper(obj2
);
5954 if (arg3
== NULL
) SWIG_fail
;
5961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5972 arg6
= (long)(SWIG_As_long(obj5
));
5973 if (SWIG_arg_fail(6)) SWIG_fail
;
5978 arg7
= wxString_in_helper(obj6
);
5979 if (arg7
== NULL
) SWIG_fail
;
5984 if (!wxPyCheckForApp()) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6014 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
*resultobj
;
6016 wxStaticBox
*result
;
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6023 if (!wxPyCheckForApp()) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (wxStaticBox
*)new wxStaticBox();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6037 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6040 wxWindow
*arg2
= (wxWindow
*) 0 ;
6041 int arg3
= (int) -1 ;
6042 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6043 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6044 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6045 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6046 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6047 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6048 long arg7
= (long) 0 ;
6049 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6052 bool temp4
= false ;
6055 bool temp8
= false ;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6058 PyObject
* obj2
= 0 ;
6059 PyObject
* obj3
= 0 ;
6060 PyObject
* obj4
= 0 ;
6061 PyObject
* obj5
= 0 ;
6062 PyObject
* obj6
= 0 ;
6063 PyObject
* obj7
= 0 ;
6065 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6070 if (SWIG_arg_fail(1)) SWIG_fail
;
6071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6072 if (SWIG_arg_fail(2)) SWIG_fail
;
6075 arg3
= (int)(SWIG_As_int(obj2
));
6076 if (SWIG_arg_fail(3)) SWIG_fail
;
6081 arg4
= wxString_in_helper(obj3
);
6082 if (arg4
== NULL
) SWIG_fail
;
6089 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6095 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6100 arg7
= (long)(SWIG_As_long(obj6
));
6101 if (SWIG_arg_fail(7)) SWIG_fail
;
6106 arg8
= wxString_in_helper(obj7
);
6107 if (arg8
== NULL
) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6143 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6146 wxVisualAttributes result
;
6147 PyObject
* obj0
= 0 ;
6149 (char *) "variant", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6155 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6156 if (SWIG_arg_fail(1)) SWIG_fail
;
6160 if (!wxPyCheckForApp()) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6168 wxVisualAttributes
* resultptr
;
6169 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6178 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6181 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6183 return Py_BuildValue((char *)"");
6185 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxWindow
*arg1
= (wxWindow
*) 0 ;
6188 int arg2
= (int) -1 ;
6189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6193 long arg5
= (long) wxLI_HORIZONTAL
;
6194 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6195 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6196 wxStaticLine
*result
;
6199 bool temp6
= false ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6202 PyObject
* obj2
= 0 ;
6203 PyObject
* obj3
= 0 ;
6204 PyObject
* obj4
= 0 ;
6205 PyObject
* obj5
= 0 ;
6207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6212 if (SWIG_arg_fail(1)) SWIG_fail
;
6215 arg2
= (int)(SWIG_As_int(obj1
));
6216 if (SWIG_arg_fail(2)) SWIG_fail
;
6222 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6228 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6233 arg5
= (long)(SWIG_As_long(obj4
));
6234 if (SWIG_arg_fail(5)) SWIG_fail
;
6239 arg6
= wxString_in_helper(obj5
);
6240 if (arg6
== NULL
) SWIG_fail
;
6245 if (!wxPyCheckForApp()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6267 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxStaticLine
*result
;
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6276 if (!wxPyCheckForApp()) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 result
= (wxStaticLine
*)new wxStaticLine();
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6290 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6293 wxWindow
*arg2
= (wxWindow
*) 0 ;
6294 int arg3
= (int) -1 ;
6295 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6296 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6297 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6298 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6299 long arg6
= (long) wxLI_HORIZONTAL
;
6300 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6301 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6305 bool temp7
= false ;
6306 PyObject
* obj0
= 0 ;
6307 PyObject
* obj1
= 0 ;
6308 PyObject
* obj2
= 0 ;
6309 PyObject
* obj3
= 0 ;
6310 PyObject
* obj4
= 0 ;
6311 PyObject
* obj5
= 0 ;
6312 PyObject
* obj6
= 0 ;
6314 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6319 if (SWIG_arg_fail(1)) SWIG_fail
;
6320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6321 if (SWIG_arg_fail(2)) SWIG_fail
;
6324 arg3
= (int)(SWIG_As_int(obj2
));
6325 if (SWIG_arg_fail(3)) SWIG_fail
;
6331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6342 arg6
= (long)(SWIG_As_long(obj5
));
6343 if (SWIG_arg_fail(6)) SWIG_fail
;
6348 arg7
= wxString_in_helper(obj6
);
6349 if (arg7
== NULL
) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6377 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6383 (char *) "self", NULL
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6388 if (SWIG_arg_fail(1)) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6405 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (int)wxStaticLine::GetDefaultSize();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= SWIG_From_int((int)(result
));
6429 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6432 wxVisualAttributes result
;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "variant", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6441 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6442 if (SWIG_arg_fail(1)) SWIG_fail
;
6446 if (!wxPyCheckForApp()) SWIG_fail
;
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6454 wxVisualAttributes
* resultptr
;
6455 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6464 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6469 return Py_BuildValue((char *)"");
6471 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxWindow
*arg1
= (wxWindow
*) 0 ;
6474 int arg2
= (int) -1 ;
6475 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6476 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6481 long arg6
= (long) 0 ;
6482 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6484 wxStaticText
*result
;
6485 bool temp3
= false ;
6488 bool temp7
= false ;
6489 PyObject
* obj0
= 0 ;
6490 PyObject
* obj1
= 0 ;
6491 PyObject
* obj2
= 0 ;
6492 PyObject
* obj3
= 0 ;
6493 PyObject
* obj4
= 0 ;
6494 PyObject
* obj5
= 0 ;
6495 PyObject
* obj6
= 0 ;
6497 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6502 if (SWIG_arg_fail(1)) SWIG_fail
;
6505 arg2
= (int)(SWIG_As_int(obj1
));
6506 if (SWIG_arg_fail(2)) SWIG_fail
;
6511 arg3
= wxString_in_helper(obj2
);
6512 if (arg3
== NULL
) SWIG_fail
;
6519 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6525 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6530 arg6
= (long)(SWIG_As_long(obj5
));
6531 if (SWIG_arg_fail(6)) SWIG_fail
;
6536 arg7
= wxString_in_helper(obj6
);
6537 if (arg7
== NULL
) SWIG_fail
;
6542 if (!wxPyCheckForApp()) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6572 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxStaticText
*result
;
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6581 if (!wxPyCheckForApp()) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= (wxStaticText
*)new wxStaticText();
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6595 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6598 wxWindow
*arg2
= (wxWindow
*) 0 ;
6599 int arg3
= (int) -1 ;
6600 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6601 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6602 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6603 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6604 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6605 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6606 long arg7
= (long) 0 ;
6607 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6608 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6610 bool temp4
= false ;
6613 bool temp8
= false ;
6614 PyObject
* obj0
= 0 ;
6615 PyObject
* obj1
= 0 ;
6616 PyObject
* obj2
= 0 ;
6617 PyObject
* obj3
= 0 ;
6618 PyObject
* obj4
= 0 ;
6619 PyObject
* obj5
= 0 ;
6620 PyObject
* obj6
= 0 ;
6621 PyObject
* obj7
= 0 ;
6623 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6628 if (SWIG_arg_fail(1)) SWIG_fail
;
6629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6630 if (SWIG_arg_fail(2)) SWIG_fail
;
6633 arg3
= (int)(SWIG_As_int(obj2
));
6634 if (SWIG_arg_fail(3)) SWIG_fail
;
6639 arg4
= wxString_in_helper(obj3
);
6640 if (arg4
== NULL
) SWIG_fail
;
6647 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6653 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6658 arg7
= (long)(SWIG_As_long(obj6
));
6659 if (SWIG_arg_fail(7)) SWIG_fail
;
6664 arg8
= wxString_in_helper(obj7
);
6665 if (arg8
== NULL
) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6701 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6704 wxVisualAttributes result
;
6705 PyObject
* obj0
= 0 ;
6707 (char *) "variant", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6713 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6714 if (SWIG_arg_fail(1)) SWIG_fail
;
6718 if (!wxPyCheckForApp()) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 wxVisualAttributes
* resultptr
;
6727 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6736 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6739 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6741 return Py_BuildValue((char *)"");
6743 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxWindow
*arg1
= (wxWindow
*) 0 ;
6746 int arg2
= (int) -1 ;
6747 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6748 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6749 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6750 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6751 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6752 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6753 long arg6
= (long) 0 ;
6754 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6755 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6756 wxStaticBitmap
*result
;
6759 bool temp7
= false ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 PyObject
* obj2
= 0 ;
6763 PyObject
* obj3
= 0 ;
6764 PyObject
* obj4
= 0 ;
6765 PyObject
* obj5
= 0 ;
6766 PyObject
* obj6
= 0 ;
6768 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail
;
6776 arg2
= (int)(SWIG_As_int(obj1
));
6777 if (SWIG_arg_fail(2)) SWIG_fail
;
6782 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6783 if (SWIG_arg_fail(3)) SWIG_fail
;
6785 SWIG_null_ref("wxBitmap");
6787 if (SWIG_arg_fail(3)) SWIG_fail
;
6793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6804 arg6
= (long)(SWIG_As_long(obj5
));
6805 if (SWIG_arg_fail(6)) SWIG_fail
;
6810 arg7
= wxString_in_helper(obj6
);
6811 if (arg7
== NULL
) SWIG_fail
;
6816 if (!wxPyCheckForApp()) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6838 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxStaticBitmap
*result
;
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6847 if (!wxPyCheckForApp()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6861 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6864 wxWindow
*arg2
= (wxWindow
*) 0 ;
6865 int arg3
= (int) -1 ;
6866 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6867 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6868 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6869 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6870 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6871 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6872 long arg7
= (long) 0 ;
6873 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6874 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6878 bool temp8
= false ;
6879 PyObject
* obj0
= 0 ;
6880 PyObject
* obj1
= 0 ;
6881 PyObject
* obj2
= 0 ;
6882 PyObject
* obj3
= 0 ;
6883 PyObject
* obj4
= 0 ;
6884 PyObject
* obj5
= 0 ;
6885 PyObject
* obj6
= 0 ;
6886 PyObject
* obj7
= 0 ;
6888 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6893 if (SWIG_arg_fail(1)) SWIG_fail
;
6894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6895 if (SWIG_arg_fail(2)) SWIG_fail
;
6898 arg3
= (int)(SWIG_As_int(obj2
));
6899 if (SWIG_arg_fail(3)) SWIG_fail
;
6904 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6905 if (SWIG_arg_fail(4)) SWIG_fail
;
6907 SWIG_null_ref("wxBitmap");
6909 if (SWIG_arg_fail(4)) SWIG_fail
;
6915 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6921 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6926 arg7
= (long)(SWIG_As_long(obj6
));
6927 if (SWIG_arg_fail(7)) SWIG_fail
;
6932 arg8
= wxString_in_helper(obj7
);
6933 if (arg8
== NULL
) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6961 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "self", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6972 if (SWIG_arg_fail(1)) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (arg1
)->GetBitmap();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6981 wxBitmap
* resultptr
;
6982 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6991 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6994 wxBitmap
*arg2
= 0 ;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6998 (char *) "self",(char *) "bitmap", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7003 if (SWIG_arg_fail(1)) SWIG_fail
;
7005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7006 if (SWIG_arg_fail(2)) SWIG_fail
;
7008 SWIG_null_ref("wxBitmap");
7010 if (SWIG_arg_fail(2)) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 Py_INCREF(Py_None
); resultobj
= Py_None
;
7026 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7031 PyObject
* obj1
= 0 ;
7033 (char *) "self",(char *) "icon", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7038 if (SWIG_arg_fail(1)) SWIG_fail
;
7040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7041 if (SWIG_arg_fail(2)) SWIG_fail
;
7043 SWIG_null_ref("wxIcon");
7045 if (SWIG_arg_fail(2)) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 Py_INCREF(Py_None
); resultobj
= Py_None
;
7061 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
;
7063 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7064 wxVisualAttributes result
;
7065 PyObject
* obj0
= 0 ;
7067 (char *) "variant", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7073 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7074 if (SWIG_arg_fail(1)) SWIG_fail
;
7078 if (!wxPyCheckForApp()) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7086 wxVisualAttributes
* resultptr
;
7087 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7096 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7099 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7101 return Py_BuildValue((char *)"");
7103 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7104 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7109 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7114 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7116 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7123 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxWindow
*arg1
= (wxWindow
*) 0 ;
7126 int arg2
= (int) -1 ;
7127 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7128 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7129 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7130 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7131 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7132 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7133 long arg6
= (long) 0 ;
7134 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7135 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7136 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7137 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7141 bool temp5
= false ;
7142 bool temp8
= false ;
7143 PyObject
* obj0
= 0 ;
7144 PyObject
* obj1
= 0 ;
7145 PyObject
* obj2
= 0 ;
7146 PyObject
* obj3
= 0 ;
7147 PyObject
* obj4
= 0 ;
7148 PyObject
* obj5
= 0 ;
7149 PyObject
* obj6
= 0 ;
7150 PyObject
* obj7
= 0 ;
7152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7157 if (SWIG_arg_fail(1)) SWIG_fail
;
7160 arg2
= (int)(SWIG_As_int(obj1
));
7161 if (SWIG_arg_fail(2)) SWIG_fail
;
7167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7178 if (! PySequence_Check(obj4
)) {
7179 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7182 arg5
= new wxArrayString
;
7184 int i
, len
=PySequence_Length(obj4
);
7185 for (i
=0; i
<len
; i
++) {
7186 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7188 PyObject
* str
= PyObject_Unicode(item
);
7190 PyObject
* str
= PyObject_Str(item
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7193 arg5
->Add(Py2wxString(str
));
7201 arg6
= (long)(SWIG_As_long(obj5
));
7202 if (SWIG_arg_fail(6)) SWIG_fail
;
7207 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7208 if (SWIG_arg_fail(7)) SWIG_fail
;
7210 SWIG_null_ref("wxValidator");
7212 if (SWIG_arg_fail(7)) SWIG_fail
;
7217 arg8
= wxString_in_helper(obj7
);
7218 if (arg8
== NULL
) SWIG_fail
;
7223 if (!wxPyCheckForApp()) SWIG_fail
;
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7232 if (temp5
) delete arg5
;
7241 if (temp5
) delete arg5
;
7251 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7260 if (!wxPyCheckForApp()) SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 result
= (wxListBox
*)new wxListBox();
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7274 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxListBox
*arg1
= (wxListBox
*) 0 ;
7277 wxWindow
*arg2
= (wxWindow
*) 0 ;
7278 int arg3
= (int) -1 ;
7279 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7280 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7281 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7282 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7283 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7284 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7285 long arg7
= (long) 0 ;
7286 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7287 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7288 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7289 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7293 bool temp6
= false ;
7294 bool temp9
= false ;
7295 PyObject
* obj0
= 0 ;
7296 PyObject
* obj1
= 0 ;
7297 PyObject
* obj2
= 0 ;
7298 PyObject
* obj3
= 0 ;
7299 PyObject
* obj4
= 0 ;
7300 PyObject
* obj5
= 0 ;
7301 PyObject
* obj6
= 0 ;
7302 PyObject
* obj7
= 0 ;
7303 PyObject
* obj8
= 0 ;
7305 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7310 if (SWIG_arg_fail(1)) SWIG_fail
;
7311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7312 if (SWIG_arg_fail(2)) SWIG_fail
;
7315 arg3
= (int)(SWIG_As_int(obj2
));
7316 if (SWIG_arg_fail(3)) SWIG_fail
;
7322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7333 if (! PySequence_Check(obj5
)) {
7334 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7337 arg6
= new wxArrayString
;
7339 int i
, len
=PySequence_Length(obj5
);
7340 for (i
=0; i
<len
; i
++) {
7341 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7343 PyObject
* str
= PyObject_Unicode(item
);
7345 PyObject
* str
= PyObject_Str(item
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7348 arg6
->Add(Py2wxString(str
));
7356 arg7
= (long)(SWIG_As_long(obj6
));
7357 if (SWIG_arg_fail(7)) SWIG_fail
;
7362 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7363 if (SWIG_arg_fail(8)) SWIG_fail
;
7365 SWIG_null_ref("wxValidator");
7367 if (SWIG_arg_fail(8)) SWIG_fail
;
7372 arg9
= wxString_in_helper(obj8
);
7373 if (arg9
== NULL
) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7388 if (temp6
) delete arg6
;
7397 if (temp6
) delete arg6
;
7407 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxListBox
*arg1
= (wxListBox
*) 0 ;
7410 wxString
*arg2
= 0 ;
7412 PyObject
*arg4
= (PyObject
*) NULL
;
7413 bool temp2
= false ;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7416 PyObject
* obj2
= 0 ;
7417 PyObject
* obj3
= 0 ;
7419 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7424 if (SWIG_arg_fail(1)) SWIG_fail
;
7426 arg2
= wxString_in_helper(obj1
);
7427 if (arg2
== NULL
) SWIG_fail
;
7431 arg3
= (int)(SWIG_As_int(obj2
));
7432 if (SWIG_arg_fail(3)) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 Py_INCREF(Py_None
); resultobj
= Py_None
;
7459 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxListBox
*arg1
= (wxListBox
*) 0 ;
7462 wxArrayString
*arg2
= 0 ;
7464 bool temp2
= false ;
7465 PyObject
* obj0
= 0 ;
7466 PyObject
* obj1
= 0 ;
7467 PyObject
* obj2
= 0 ;
7469 (char *) "self",(char *) "items",(char *) "pos", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7474 if (SWIG_arg_fail(1)) SWIG_fail
;
7476 if (! PySequence_Check(obj1
)) {
7477 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7480 arg2
= new wxArrayString
;
7482 int i
, len
=PySequence_Length(obj1
);
7483 for (i
=0; i
<len
; i
++) {
7484 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7486 PyObject
* str
= PyObject_Unicode(item
);
7488 PyObject
* str
= PyObject_Str(item
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7491 arg2
->Add(Py2wxString(str
));
7497 arg3
= (int)(SWIG_As_int(obj2
));
7498 if (SWIG_arg_fail(3)) SWIG_fail
;
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 Py_INCREF(Py_None
); resultobj
= Py_None
;
7509 if (temp2
) delete arg2
;
7514 if (temp2
) delete arg2
;
7520 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxListBox
*arg1
= (wxListBox
*) 0 ;
7523 wxArrayString
*arg2
= 0 ;
7524 bool temp2
= false ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7528 (char *) "self",(char *) "items", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail
;
7535 if (! PySequence_Check(obj1
)) {
7536 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7539 arg2
= new wxArrayString
;
7541 int i
, len
=PySequence_Length(obj1
);
7542 for (i
=0; i
<len
; i
++) {
7543 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7545 PyObject
* str
= PyObject_Unicode(item
);
7547 PyObject
* str
= PyObject_Str(item
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7550 arg2
->Add(Py2wxString(str
));
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 (arg1
)->Set((wxArrayString
const &)*arg2
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 Py_INCREF(Py_None
); resultobj
= Py_None
;
7564 if (temp2
) delete arg2
;
7569 if (temp2
) delete arg2
;
7575 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxListBox
*arg1
= (wxListBox
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7581 PyObject
* obj1
= 0 ;
7583 (char *) "self",(char *) "n", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7588 if (SWIG_arg_fail(1)) SWIG_fail
;
7590 arg2
= (int)(SWIG_As_int(obj1
));
7591 if (SWIG_arg_fail(2)) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7609 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxListBox
*arg1
= (wxListBox
*) 0 ;
7613 bool arg3
= (bool) true ;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 PyObject
* obj2
= 0 ;
7618 (char *) "self",(char *) "n",(char *) "select", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail
;
7625 arg2
= (int)(SWIG_As_int(obj1
));
7626 if (SWIG_arg_fail(2)) SWIG_fail
;
7630 arg3
= (bool)(SWIG_As_bool(obj2
));
7631 if (SWIG_arg_fail(3)) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 (arg1
)->SetSelection(arg2
,arg3
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 Py_INCREF(Py_None
); resultobj
= Py_None
;
7648 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxListBox
*arg1
= (wxListBox
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7653 PyObject
* obj1
= 0 ;
7655 (char *) "self",(char *) "n", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail
;
7662 arg2
= (int)(SWIG_As_int(obj1
));
7663 if (SWIG_arg_fail(2)) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 (arg1
)->Select(arg2
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 Py_INCREF(Py_None
); resultobj
= Py_None
;
7679 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxListBox
*arg1
= (wxListBox
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7684 PyObject
* obj1
= 0 ;
7686 (char *) "self",(char *) "n", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7691 if (SWIG_arg_fail(1)) SWIG_fail
;
7693 arg2
= (int)(SWIG_As_int(obj1
));
7694 if (SWIG_arg_fail(2)) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 (arg1
)->Deselect(arg2
);
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 Py_INCREF(Py_None
); resultobj
= Py_None
;
7710 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxListBox
*arg1
= (wxListBox
*) 0 ;
7713 int arg2
= (int) -1 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "self",(char *) "itemToLeaveSelected", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7722 if (SWIG_arg_fail(1)) SWIG_fail
;
7725 arg2
= (int)(SWIG_As_int(obj1
));
7726 if (SWIG_arg_fail(2)) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 (arg1
)->DeselectAll(arg2
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 Py_INCREF(Py_None
); resultobj
= Py_None
;
7743 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxListBox
*arg1
= (wxListBox
*) 0 ;
7746 wxString
*arg2
= 0 ;
7747 bool arg3
= (bool) true ;
7749 bool temp2
= false ;
7750 PyObject
* obj0
= 0 ;
7751 PyObject
* obj1
= 0 ;
7752 PyObject
* obj2
= 0 ;
7754 (char *) "self",(char *) "s",(char *) "select", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7759 if (SWIG_arg_fail(1)) SWIG_fail
;
7761 arg2
= wxString_in_helper(obj1
);
7762 if (arg2
== NULL
) SWIG_fail
;
7767 arg3
= (bool)(SWIG_As_bool(obj2
));
7768 if (SWIG_arg_fail(3)) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7795 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxListBox
*arg1
= (wxListBox
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7801 (char *) "self", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7806 if (SWIG_arg_fail(1)) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7821 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxListBox
*arg1
= (wxListBox
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7828 (char *) "self",(char *) "n", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7833 if (SWIG_arg_fail(1)) SWIG_fail
;
7835 arg2
= (int)(SWIG_As_int(obj1
));
7836 if (SWIG_arg_fail(2)) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 (arg1
)->SetFirstItem(arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 Py_INCREF(Py_None
); resultobj
= Py_None
;
7852 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxListBox
*arg1
= (wxListBox
*) 0 ;
7855 wxString
*arg2
= 0 ;
7856 bool temp2
= false ;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7860 (char *) "self",(char *) "s", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7865 if (SWIG_arg_fail(1)) SWIG_fail
;
7867 arg2
= wxString_in_helper(obj1
);
7868 if (arg2
== NULL
) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7878 Py_INCREF(Py_None
); resultobj
= Py_None
;
7893 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxListBox
*arg1
= (wxListBox
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7898 PyObject
* obj1
= 0 ;
7900 (char *) "self",(char *) "n", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail
;
7907 arg2
= (int)(SWIG_As_int(obj1
));
7908 if (SWIG_arg_fail(2)) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 (arg1
)->EnsureVisible(arg2
);
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 Py_INCREF(Py_None
); resultobj
= Py_None
;
7924 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxListBox
*arg1
= (wxListBox
*) 0 ;
7927 wxString
*arg2
= 0 ;
7928 bool temp2
= false ;
7929 PyObject
* obj0
= 0 ;
7930 PyObject
* obj1
= 0 ;
7932 (char *) "self",(char *) "s", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail
;
7939 arg2
= wxString_in_helper(obj1
);
7940 if (arg2
== NULL
) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 Py_INCREF(Py_None
); resultobj
= Py_None
;
7965 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxListBox
*arg1
= (wxListBox
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7971 (char *) "self", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7976 if (SWIG_arg_fail(1)) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7993 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxListBox
*arg1
= (wxListBox
*) 0 ;
7997 wxColour
*arg3
= 0 ;
7999 PyObject
* obj0
= 0 ;
8000 PyObject
* obj1
= 0 ;
8001 PyObject
* obj2
= 0 ;
8003 (char *) "self",(char *) "item",(char *) "c", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8008 if (SWIG_arg_fail(1)) SWIG_fail
;
8010 arg2
= (int)(SWIG_As_int(obj1
));
8011 if (SWIG_arg_fail(2)) SWIG_fail
;
8015 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 Py_INCREF(Py_None
); resultobj
= Py_None
;
8031 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxListBox
*arg1
= (wxListBox
*) 0 ;
8035 wxColour
*arg3
= 0 ;
8037 PyObject
* obj0
= 0 ;
8038 PyObject
* obj1
= 0 ;
8039 PyObject
* obj2
= 0 ;
8041 (char *) "self",(char *) "item",(char *) "c", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8046 if (SWIG_arg_fail(1)) SWIG_fail
;
8048 arg2
= (int)(SWIG_As_int(obj1
));
8049 if (SWIG_arg_fail(2)) SWIG_fail
;
8053 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 Py_INCREF(Py_None
); resultobj
= Py_None
;
8069 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxListBox
*arg1
= (wxListBox
*) 0 ;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8076 PyObject
* obj2
= 0 ;
8078 (char *) "self",(char *) "item",(char *) "f", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8083 if (SWIG_arg_fail(1)) SWIG_fail
;
8085 arg2
= (int)(SWIG_As_int(obj1
));
8086 if (SWIG_arg_fail(2)) SWIG_fail
;
8089 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8090 if (SWIG_arg_fail(3)) SWIG_fail
;
8092 SWIG_null_ref("wxFont");
8094 if (SWIG_arg_fail(3)) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 Py_INCREF(Py_None
); resultobj
= Py_None
;
8110 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8113 wxVisualAttributes result
;
8114 PyObject
* obj0
= 0 ;
8116 (char *) "variant", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8122 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8123 if (SWIG_arg_fail(1)) SWIG_fail
;
8127 if (!wxPyCheckForApp()) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8135 wxVisualAttributes
* resultptr
;
8136 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8145 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8148 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8150 return Py_BuildValue((char *)"");
8152 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxWindow
*arg1
= (wxWindow
*) 0 ;
8155 int arg2
= (int) -1 ;
8156 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8157 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8158 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8159 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8160 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8161 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8162 long arg6
= (long) 0 ;
8163 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8164 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8165 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8166 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8167 wxCheckListBox
*result
;
8170 bool temp5
= false ;
8171 bool temp8
= false ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8174 PyObject
* obj2
= 0 ;
8175 PyObject
* obj3
= 0 ;
8176 PyObject
* obj4
= 0 ;
8177 PyObject
* obj5
= 0 ;
8178 PyObject
* obj6
= 0 ;
8179 PyObject
* obj7
= 0 ;
8181 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8186 if (SWIG_arg_fail(1)) SWIG_fail
;
8189 arg2
= (int)(SWIG_As_int(obj1
));
8190 if (SWIG_arg_fail(2)) SWIG_fail
;
8196 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8202 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8207 if (! PySequence_Check(obj4
)) {
8208 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8211 arg5
= new wxArrayString
;
8213 int i
, len
=PySequence_Length(obj4
);
8214 for (i
=0; i
<len
; i
++) {
8215 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8217 PyObject
* str
= PyObject_Unicode(item
);
8219 PyObject
* str
= PyObject_Str(item
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8222 arg5
->Add(Py2wxString(str
));
8230 arg6
= (long)(SWIG_As_long(obj5
));
8231 if (SWIG_arg_fail(6)) SWIG_fail
;
8236 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8237 if (SWIG_arg_fail(7)) SWIG_fail
;
8239 SWIG_null_ref("wxValidator");
8241 if (SWIG_arg_fail(7)) SWIG_fail
;
8246 arg8
= wxString_in_helper(obj7
);
8247 if (arg8
== NULL
) SWIG_fail
;
8252 if (!wxPyCheckForApp()) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8261 if (temp5
) delete arg5
;
8270 if (temp5
) delete arg5
;
8280 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxCheckListBox
*result
;
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8289 if (!wxPyCheckForApp()) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (wxCheckListBox
*)new wxCheckListBox();
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8303 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8306 wxWindow
*arg2
= (wxWindow
*) 0 ;
8307 int arg3
= (int) -1 ;
8308 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8309 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8310 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8311 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8312 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8313 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8314 long arg7
= (long) 0 ;
8315 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8316 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8317 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8318 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8322 bool temp6
= false ;
8323 bool temp9
= false ;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8326 PyObject
* obj2
= 0 ;
8327 PyObject
* obj3
= 0 ;
8328 PyObject
* obj4
= 0 ;
8329 PyObject
* obj5
= 0 ;
8330 PyObject
* obj6
= 0 ;
8331 PyObject
* obj7
= 0 ;
8332 PyObject
* obj8
= 0 ;
8334 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8339 if (SWIG_arg_fail(1)) SWIG_fail
;
8340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8341 if (SWIG_arg_fail(2)) SWIG_fail
;
8344 arg3
= (int)(SWIG_As_int(obj2
));
8345 if (SWIG_arg_fail(3)) SWIG_fail
;
8351 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8357 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8362 if (! PySequence_Check(obj5
)) {
8363 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8366 arg6
= new wxArrayString
;
8368 int i
, len
=PySequence_Length(obj5
);
8369 for (i
=0; i
<len
; i
++) {
8370 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8372 PyObject
* str
= PyObject_Unicode(item
);
8374 PyObject
* str
= PyObject_Str(item
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8377 arg6
->Add(Py2wxString(str
));
8385 arg7
= (long)(SWIG_As_long(obj6
));
8386 if (SWIG_arg_fail(7)) SWIG_fail
;
8391 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8392 if (SWIG_arg_fail(8)) SWIG_fail
;
8394 SWIG_null_ref("wxValidator");
8396 if (SWIG_arg_fail(8)) SWIG_fail
;
8401 arg9
= wxString_in_helper(obj8
);
8402 if (arg9
== NULL
) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8417 if (temp6
) delete arg6
;
8426 if (temp6
) delete arg6
;
8436 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8441 PyObject
* obj0
= 0 ;
8442 PyObject
* obj1
= 0 ;
8444 (char *) "self",(char *) "index", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8449 if (SWIG_arg_fail(1)) SWIG_fail
;
8451 arg2
= (int)(SWIG_As_int(obj1
));
8452 if (SWIG_arg_fail(2)) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (bool)(arg1
)->IsChecked(arg2
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8470 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8474 int arg3
= (int) true ;
8475 PyObject
* obj0
= 0 ;
8476 PyObject
* obj1
= 0 ;
8477 PyObject
* obj2
= 0 ;
8479 (char *) "self",(char *) "index",(char *) "check", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8484 if (SWIG_arg_fail(1)) SWIG_fail
;
8486 arg2
= (int)(SWIG_As_int(obj1
));
8487 if (SWIG_arg_fail(2)) SWIG_fail
;
8491 arg3
= (int)(SWIG_As_int(obj2
));
8492 if (SWIG_arg_fail(3)) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 (arg1
)->Check(arg2
,arg3
);
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8502 Py_INCREF(Py_None
); resultobj
= Py_None
;
8509 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8515 (char *) "self", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8520 if (SWIG_arg_fail(1)) SWIG_fail
;
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 result
= (int)(arg1
)->GetItemHeight();
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= SWIG_From_int((int)(result
));
8537 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8543 PyObject
* obj0
= 0 ;
8544 PyObject
* obj1
= 0 ;
8546 (char *) "self",(char *) "pt", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8551 if (SWIG_arg_fail(1)) SWIG_fail
;
8554 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_From_int((int)(result
));
8572 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8578 PyObject
* obj0
= 0 ;
8579 PyObject
* obj1
= 0 ;
8580 PyObject
* obj2
= 0 ;
8582 (char *) "self",(char *) "x",(char *) "y", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8587 if (SWIG_arg_fail(1)) SWIG_fail
;
8589 arg2
= (int)(SWIG_As_int(obj1
));
8590 if (SWIG_arg_fail(2)) SWIG_fail
;
8593 arg3
= (int)(SWIG_As_int(obj2
));
8594 if (SWIG_arg_fail(3)) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_From_int((int)(result
));
8612 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8615 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8617 return Py_BuildValue((char *)"");
8619 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8620 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8625 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8630 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8632 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8639 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxColour
const &arg1_defvalue
= wxNullColour
;
8642 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8643 wxColour
const &arg2_defvalue
= wxNullColour
;
8644 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8645 wxFont
const &arg3_defvalue
= wxNullFont
;
8646 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8647 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8653 PyObject
* obj2
= 0 ;
8654 PyObject
* obj3
= 0 ;
8656 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8663 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8669 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8674 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8675 if (SWIG_arg_fail(3)) SWIG_fail
;
8677 SWIG_null_ref("wxFont");
8679 if (SWIG_arg_fail(3)) SWIG_fail
;
8684 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8685 if (SWIG_arg_fail(4)) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8702 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8705 PyObject
* obj0
= 0 ;
8707 (char *) "self", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8712 if (SWIG_arg_fail(1)) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 Py_INCREF(Py_None
); resultobj
= Py_None
;
8727 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8730 PyObject
* obj0
= 0 ;
8732 (char *) "self", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8737 if (SWIG_arg_fail(1)) SWIG_fail
;
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 wxPyEndAllowThreads(__tstate
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 Py_INCREF(Py_None
); resultobj
= Py_None
;
8752 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
;
8754 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8755 wxColour
*arg2
= 0 ;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8760 (char *) "self",(char *) "colText", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8765 if (SWIG_arg_fail(1)) SWIG_fail
;
8768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8784 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8787 wxColour
*arg2
= 0 ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8792 (char *) "self",(char *) "colBack", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8797 if (SWIG_arg_fail(1)) SWIG_fail
;
8800 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 Py_INCREF(Py_None
); resultobj
= Py_None
;
8816 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8818 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8820 long arg3
= (long) wxTEXT_ATTR_FONT
;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 PyObject
* obj2
= 0 ;
8825 (char *) "self",(char *) "font",(char *) "flags", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8830 if (SWIG_arg_fail(1)) SWIG_fail
;
8832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8833 if (SWIG_arg_fail(2)) SWIG_fail
;
8835 SWIG_null_ref("wxFont");
8837 if (SWIG_arg_fail(2)) SWIG_fail
;
8841 arg3
= (long)(SWIG_As_long(obj2
));
8842 if (SWIG_arg_fail(3)) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8862 wxTextAttrAlignment arg2
;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8866 (char *) "self",(char *) "alignment", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8871 if (SWIG_arg_fail(1)) SWIG_fail
;
8873 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8874 if (SWIG_arg_fail(2)) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 Py_INCREF(Py_None
); resultobj
= Py_None
;
8890 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8893 wxArrayInt
*arg2
= 0 ;
8894 bool temp2
= false ;
8895 PyObject
* obj0
= 0 ;
8896 PyObject
* obj1
= 0 ;
8898 (char *) "self",(char *) "tabs", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8903 if (SWIG_arg_fail(1)) SWIG_fail
;
8905 if (! PySequence_Check(obj1
)) {
8906 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8909 arg2
= new wxArrayInt
;
8911 int i
, len
=PySequence_Length(obj1
);
8912 for (i
=0; i
<len
; i
++) {
8913 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8914 PyObject
* number
= PyNumber_Int(item
);
8915 arg2
->Add(PyInt_AS_LONG(number
));
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 Py_INCREF(Py_None
); resultobj
= Py_None
;
8929 if (temp2
) delete arg2
;
8934 if (temp2
) delete arg2
;
8940 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8944 int arg3
= (int) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 PyObject
* obj2
= 0 ;
8949 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8954 if (SWIG_arg_fail(1)) SWIG_fail
;
8956 arg2
= (int)(SWIG_As_int(obj1
));
8957 if (SWIG_arg_fail(2)) SWIG_fail
;
8961 arg3
= (int)(SWIG_As_int(obj2
));
8962 if (SWIG_arg_fail(3)) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 (arg1
)->SetLeftIndent(arg2
,arg3
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 Py_INCREF(Py_None
); resultobj
= Py_None
;
8979 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8986 (char *) "self",(char *) "indent", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail
;
8993 arg2
= (int)(SWIG_As_int(obj1
));
8994 if (SWIG_arg_fail(2)) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 (arg1
)->SetRightIndent(arg2
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9017 (char *) "self",(char *) "flags", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail
;
9024 arg2
= (long)(SWIG_As_long(obj1
));
9025 if (SWIG_arg_fail(2)) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 (arg1
)->SetFlags(arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_TextAttr_HasTextColour(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_HasTextColour",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
)->HasTextColour();
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9069 static PyObject
*_wrap_TextAttr_HasBackgroundColour(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_HasBackgroundColour",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
)->HasBackgroundColour();
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9097 static PyObject
*_wrap_TextAttr_HasFont(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_HasFont",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
)->HasFont();
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9125 static PyObject
*_wrap_TextAttr_HasAlignment(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_HasAlignment",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
)->HasAlignment();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9153 static PyObject
*_wrap_TextAttr_HasTabs(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_HasTabs",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
)->HasTabs();
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9181 static PyObject
*_wrap_TextAttr_HasLeftIndent(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_HasLeftIndent",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
)->HasLeftIndent();
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9209 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9215 (char *) "self", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9220 if (SWIG_arg_fail(1)) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9237 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9245 (char *) "self",(char *) "flag", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9250 if (SWIG_arg_fail(1)) SWIG_fail
;
9252 arg2
= (long)(SWIG_As_long(obj1
));
9253 if (SWIG_arg_fail(2)) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9271 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9277 (char *) "self", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9282 if (SWIG_arg_fail(1)) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9287 result
= (wxColour
*) &_result_ref
;
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9300 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9302 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9304 PyObject
* obj0
= 0 ;
9306 (char *) "self", NULL
9309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9311 if (SWIG_arg_fail(1)) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9316 result
= (wxColour
*) &_result_ref
;
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9329 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9333 PyObject
* obj0
= 0 ;
9335 (char *) "self", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9340 if (SWIG_arg_fail(1)) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9345 result
= (wxFont
*) &_result_ref
;
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9352 wxFont
* resultptr
= new wxFont(*result
);
9353 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9361 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9364 wxTextAttrAlignment result
;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9372 if (SWIG_arg_fail(1)) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= SWIG_From_int((result
));
9387 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9393 (char *) "self", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9398 if (SWIG_arg_fail(1)) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9403 result
= (wxArrayInt
*) &_result_ref
;
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= PyList_New(0);
9412 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9413 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9414 PyList_Append(resultobj
, val
);
9424 static PyObject
*_wrap_TextAttr_GetLeftIndent(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_GetLeftIndent",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
)->GetLeftIndent();
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_From_long((long)(result
));
9452 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(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_GetLeftSubIndent",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
)->GetLeftSubIndent();
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_From_long((long)(result
));
9480 static PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent",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
)->GetRightIndent();
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= SWIG_From_long((long)(result
));
9508 static PyObject
*_wrap_TextAttr_GetFlags(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_GetFlags",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
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_From_long((long)(result
));
9536 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9542 (char *) "self", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9547 if (SWIG_arg_fail(1)) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9564 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxTextAttr
*arg1
= 0 ;
9567 wxTextAttr
*arg2
= 0 ;
9568 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9571 PyObject
* obj1
= 0 ;
9572 PyObject
* obj2
= 0 ;
9574 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9580 if (SWIG_arg_fail(1)) SWIG_fail
;
9582 SWIG_null_ref("wxTextAttr");
9584 if (SWIG_arg_fail(1)) SWIG_fail
;
9587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9588 if (SWIG_arg_fail(2)) SWIG_fail
;
9590 SWIG_null_ref("wxTextAttr");
9592 if (SWIG_arg_fail(2)) SWIG_fail
;
9594 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9595 if (SWIG_arg_fail(3)) SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9604 wxTextAttr
* resultptr
;
9605 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9614 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9617 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9619 return Py_BuildValue((char *)"");
9621 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxWindow
*arg1
= (wxWindow
*) 0 ;
9624 int arg2
= (int) -1 ;
9625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9631 long arg6
= (long) 0 ;
9632 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9633 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9634 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9635 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9637 bool temp3
= false ;
9640 bool temp8
= false ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 PyObject
* obj2
= 0 ;
9644 PyObject
* obj3
= 0 ;
9645 PyObject
* obj4
= 0 ;
9646 PyObject
* obj5
= 0 ;
9647 PyObject
* obj6
= 0 ;
9648 PyObject
* obj7
= 0 ;
9650 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9655 if (SWIG_arg_fail(1)) SWIG_fail
;
9658 arg2
= (int)(SWIG_As_int(obj1
));
9659 if (SWIG_arg_fail(2)) SWIG_fail
;
9664 arg3
= wxString_in_helper(obj2
);
9665 if (arg3
== NULL
) SWIG_fail
;
9672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9683 arg6
= (long)(SWIG_As_long(obj5
));
9684 if (SWIG_arg_fail(6)) SWIG_fail
;
9689 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9690 if (SWIG_arg_fail(7)) SWIG_fail
;
9692 SWIG_null_ref("wxValidator");
9694 if (SWIG_arg_fail(7)) SWIG_fail
;
9699 arg8
= wxString_in_helper(obj7
);
9700 if (arg8
== NULL
) SWIG_fail
;
9705 if (!wxPyCheckForApp()) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9735 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9744 if (!wxPyCheckForApp()) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (wxTextCtrl
*)new wxTextCtrl();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9758 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9761 wxWindow
*arg2
= (wxWindow
*) 0 ;
9762 int arg3
= (int) -1 ;
9763 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9764 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9765 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9766 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9767 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9768 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9769 long arg7
= (long) 0 ;
9770 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9771 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9772 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9773 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9775 bool temp4
= false ;
9778 bool temp9
= false ;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9781 PyObject
* obj2
= 0 ;
9782 PyObject
* obj3
= 0 ;
9783 PyObject
* obj4
= 0 ;
9784 PyObject
* obj5
= 0 ;
9785 PyObject
* obj6
= 0 ;
9786 PyObject
* obj7
= 0 ;
9787 PyObject
* obj8
= 0 ;
9789 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9794 if (SWIG_arg_fail(1)) SWIG_fail
;
9795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9796 if (SWIG_arg_fail(2)) SWIG_fail
;
9799 arg3
= (int)(SWIG_As_int(obj2
));
9800 if (SWIG_arg_fail(3)) SWIG_fail
;
9805 arg4
= wxString_in_helper(obj3
);
9806 if (arg4
== NULL
) SWIG_fail
;
9813 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9819 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9824 arg7
= (long)(SWIG_As_long(obj6
));
9825 if (SWIG_arg_fail(7)) SWIG_fail
;
9830 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9831 if (SWIG_arg_fail(8)) SWIG_fail
;
9833 SWIG_null_ref("wxValidator");
9835 if (SWIG_arg_fail(8)) SWIG_fail
;
9840 arg9
= wxString_in_helper(obj8
);
9841 if (arg9
== NULL
) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9877 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9888 if (SWIG_arg_fail(1)) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9909 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9912 wxString
*arg2
= 0 ;
9913 bool temp2
= false ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9917 (char *) "self",(char *) "value", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9922 if (SWIG_arg_fail(1)) SWIG_fail
;
9924 arg2
= wxString_in_helper(obj1
);
9925 if (arg2
== NULL
) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 (arg1
)->SetValue((wxString
const &)*arg2
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 Py_INCREF(Py_None
); resultobj
= Py_None
;
9950 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9957 PyObject
* obj1
= 0 ;
9958 PyObject
* obj2
= 0 ;
9960 (char *) "self",(char *) "from",(char *) "to", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9965 if (SWIG_arg_fail(1)) SWIG_fail
;
9967 arg2
= (long)(SWIG_As_long(obj1
));
9968 if (SWIG_arg_fail(2)) SWIG_fail
;
9971 arg3
= (long)(SWIG_As_long(obj2
));
9972 if (SWIG_arg_fail(3)) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9994 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9999 PyObject
* obj0
= 0 ;
10000 PyObject
* obj1
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self",(char *) "lineNo", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10007 if (SWIG_arg_fail(1)) SWIG_fail
;
10009 arg2
= (long)(SWIG_As_long(obj1
));
10010 if (SWIG_arg_fail(2)) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_From_int((int)(result
));
10028 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 PyObject
* obj1
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self",(char *) "lineNo", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10041 if (SWIG_arg_fail(1)) SWIG_fail
;
10043 arg2
= (long)(SWIG_As_long(obj1
));
10044 if (SWIG_arg_fail(2)) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10066 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(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_GetNumberOfLines",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
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= SWIG_From_int((int)(result
));
10094 static PyObject
*_wrap_TextCtrl_IsModified(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_IsModified",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
)->IsModified();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10122 static PyObject
*_wrap_TextCtrl_IsEditable(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_IsEditable",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
)->IsEditable();
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10150 static PyObject
*_wrap_TextCtrl_IsSingleLine(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_IsSingleLine",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
)->IsSingleLine();
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10178 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10182 PyObject
* obj0
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10189 if (SWIG_arg_fail(1)) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10206 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10209 long *arg2
= (long *) 0 ;
10210 long *arg3
= (long *) 0 ;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self", NULL
10220 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10221 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10224 if (SWIG_arg_fail(1)) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 Py_INCREF(Py_None
); resultobj
= Py_None
;
10233 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10234 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10235 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10236 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10243 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10254 if (SWIG_arg_fail(1)) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10275 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10278 PyObject
* obj0
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10285 if (SWIG_arg_fail(1)) SWIG_fail
;
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10293 Py_INCREF(Py_None
); resultobj
= Py_None
;
10300 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10305 wxString
*arg4
= 0 ;
10306 bool temp4
= false ;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 PyObject
* obj2
= 0 ;
10310 PyObject
* obj3
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10317 if (SWIG_arg_fail(1)) SWIG_fail
;
10319 arg2
= (long)(SWIG_As_long(obj1
));
10320 if (SWIG_arg_fail(2)) SWIG_fail
;
10323 arg3
= (long)(SWIG_As_long(obj2
));
10324 if (SWIG_arg_fail(3)) SWIG_fail
;
10327 arg4
= wxString_in_helper(obj3
);
10328 if (arg4
== NULL
) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 Py_INCREF(Py_None
); resultobj
= Py_None
;
10353 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 PyObject
* obj2
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "self",(char *) "from",(char *) "to", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10367 if (SWIG_arg_fail(1)) SWIG_fail
;
10369 arg2
= (long)(SWIG_As_long(obj1
));
10370 if (SWIG_arg_fail(2)) SWIG_fail
;
10373 arg3
= (long)(SWIG_As_long(obj2
));
10374 if (SWIG_arg_fail(3)) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 (arg1
)->Remove(arg2
,arg3
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10390 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10393 wxString
*arg2
= 0 ;
10395 bool temp2
= false ;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "file", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10404 if (SWIG_arg_fail(1)) SWIG_fail
;
10406 arg2
= wxString_in_helper(obj1
);
10407 if (arg2
== NULL
) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10434 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10437 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10438 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10440 bool temp2
= false ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self",(char *) "file", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail
;
10452 arg2
= wxString_in_helper(obj1
);
10453 if (arg2
== NULL
) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10481 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10484 PyObject
* obj0
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10491 if (SWIG_arg_fail(1)) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 (arg1
)->MarkDirty();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 Py_INCREF(Py_None
); resultobj
= Py_None
;
10506 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10516 if (SWIG_arg_fail(1)) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 (arg1
)->DiscardEdits();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 Py_INCREF(Py_None
); resultobj
= Py_None
;
10531 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10534 unsigned long arg2
;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self",(char *) "len", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10543 if (SWIG_arg_fail(1)) SWIG_fail
;
10545 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10546 if (SWIG_arg_fail(2)) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 (arg1
)->SetMaxLength(arg2
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 Py_INCREF(Py_None
); resultobj
= Py_None
;
10562 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10565 wxString
*arg2
= 0 ;
10566 bool temp2
= false ;
10567 PyObject
* obj0
= 0 ;
10568 PyObject
* obj1
= 0 ;
10569 char *kwnames
[] = {
10570 (char *) "self",(char *) "text", NULL
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10575 if (SWIG_arg_fail(1)) SWIG_fail
;
10577 arg2
= wxString_in_helper(obj1
);
10578 if (arg2
== NULL
) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 (arg1
)->WriteText((wxString
const &)*arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 Py_INCREF(Py_None
); resultobj
= Py_None
;
10603 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10606 wxString
*arg2
= 0 ;
10607 bool temp2
= false ;
10608 PyObject
* obj0
= 0 ;
10609 PyObject
* obj1
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self",(char *) "text", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10616 if (SWIG_arg_fail(1)) SWIG_fail
;
10618 arg2
= wxString_in_helper(obj1
);
10619 if (arg2
== NULL
) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 (arg1
)->AppendText((wxString
const &)*arg2
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 Py_INCREF(Py_None
); resultobj
= Py_None
;
10644 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10647 wxKeyEvent
*arg2
= 0 ;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self",(char *) "event", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10657 if (SWIG_arg_fail(1)) SWIG_fail
;
10659 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10660 if (SWIG_arg_fail(2)) SWIG_fail
;
10661 if (arg2
== NULL
) {
10662 SWIG_null_ref("wxKeyEvent");
10664 if (SWIG_arg_fail(2)) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10682 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10687 wxTextAttr
*arg4
= 0 ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 PyObject
* obj3
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10699 if (SWIG_arg_fail(1)) SWIG_fail
;
10701 arg2
= (long)(SWIG_As_long(obj1
));
10702 if (SWIG_arg_fail(2)) SWIG_fail
;
10705 arg3
= (long)(SWIG_As_long(obj2
));
10706 if (SWIG_arg_fail(3)) SWIG_fail
;
10709 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10710 if (SWIG_arg_fail(4)) SWIG_fail
;
10711 if (arg4
== NULL
) {
10712 SWIG_null_ref("wxTextAttr");
10714 if (SWIG_arg_fail(4)) SWIG_fail
;
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10732 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10736 wxTextAttr
*arg3
= 0 ;
10738 PyObject
* obj0
= 0 ;
10739 PyObject
* obj1
= 0 ;
10740 PyObject
* obj2
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self",(char *) "position",(char *) "style", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10747 if (SWIG_arg_fail(1)) SWIG_fail
;
10749 arg2
= (long)(SWIG_As_long(obj1
));
10750 if (SWIG_arg_fail(2)) SWIG_fail
;
10753 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10754 if (SWIG_arg_fail(3)) SWIG_fail
;
10755 if (arg3
== NULL
) {
10756 SWIG_null_ref("wxTextAttr");
10758 if (SWIG_arg_fail(3)) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10776 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10779 wxTextAttr
*arg2
= 0 ;
10781 PyObject
* obj0
= 0 ;
10782 PyObject
* obj1
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self",(char *) "style", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10789 if (SWIG_arg_fail(1)) SWIG_fail
;
10791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10792 if (SWIG_arg_fail(2)) SWIG_fail
;
10793 if (arg2
== NULL
) {
10794 SWIG_null_ref("wxTextAttr");
10796 if (SWIG_arg_fail(2)) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10814 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10817 wxTextAttr
*result
;
10818 PyObject
* obj0
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "self", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10825 if (SWIG_arg_fail(1)) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10830 result
= (wxTextAttr
*) &_result_ref
;
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10843 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 PyObject
* obj2
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self",(char *) "x",(char *) "y", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10858 if (SWIG_arg_fail(1)) SWIG_fail
;
10860 arg2
= (long)(SWIG_As_long(obj1
));
10861 if (SWIG_arg_fail(2)) SWIG_fail
;
10864 arg3
= (long)(SWIG_As_long(obj2
));
10865 if (SWIG_arg_fail(3)) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_From_long((long)(result
));
10883 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10887 long *arg3
= (long *) 0 ;
10888 long *arg4
= (long *) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "self",(char *) "pos", NULL
10899 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10900 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10903 if (SWIG_arg_fail(1)) SWIG_fail
;
10905 arg2
= (long)(SWIG_As_long(obj1
));
10906 if (SWIG_arg_fail(2)) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 Py_INCREF(Py_None
); resultobj
= Py_None
;
10916 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10917 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10918 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10919 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10926 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self",(char *) "pos", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10938 if (SWIG_arg_fail(1)) SWIG_fail
;
10940 arg2
= (long)(SWIG_As_long(obj1
));
10941 if (SWIG_arg_fail(2)) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 (arg1
)->ShowPosition(arg2
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 Py_INCREF(Py_None
); resultobj
= Py_None
;
10957 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10960 wxPoint
*arg2
= 0 ;
10961 long *arg3
= (long *) 0 ;
10962 long *arg4
= (long *) 0 ;
10963 wxTextCtrlHitTestResult result
;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self",(char *) "pt", NULL
10975 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10976 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10979 if (SWIG_arg_fail(1)) SWIG_fail
;
10982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_From_int((result
));
10992 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10993 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10994 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10995 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11002 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11005 wxPoint
*arg2
= 0 ;
11006 long *arg3
= (long *) 0 ;
11007 wxTextCtrlHitTestResult result
;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self",(char *) "pt", NULL
11017 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11020 if (SWIG_arg_fail(1)) SWIG_fail
;
11023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= SWIG_From_int((result
));
11033 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11034 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11041 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11051 if (SWIG_arg_fail(1)) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 Py_INCREF(Py_None
); resultobj
= Py_None
;
11066 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11076 if (SWIG_arg_fail(1)) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 Py_INCREF(Py_None
); resultobj
= Py_None
;
11091 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11101 if (SWIG_arg_fail(1)) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 Py_INCREF(Py_None
); resultobj
= Py_None
;
11116 static PyObject
*_wrap_TextCtrl_CanCopy(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_CanCopy",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
)->CanCopy();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11144 static PyObject
*_wrap_TextCtrl_CanCut(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_CanCut",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
)->CanCut();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11172 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11183 if (SWIG_arg_fail(1)) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11200 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11210 if (SWIG_arg_fail(1)) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 Py_INCREF(Py_None
); resultobj
= Py_None
;
11225 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11228 PyObject
* obj0
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "self", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11235 if (SWIG_arg_fail(1)) SWIG_fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 Py_INCREF(Py_None
); resultobj
= Py_None
;
11250 static PyObject
*_wrap_TextCtrl_CanUndo(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_CanUndo",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
)->CanUndo();
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11278 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11289 if (SWIG_arg_fail(1)) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11306 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self",(char *) "pos", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11318 if (SWIG_arg_fail(1)) SWIG_fail
;
11320 arg2
= (long)(SWIG_As_long(obj1
));
11321 if (SWIG_arg_fail(2)) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 (arg1
)->SetInsertionPoint(arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 Py_INCREF(Py_None
); resultobj
= Py_None
;
11337 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11347 if (SWIG_arg_fail(1)) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 (arg1
)->SetInsertionPointEnd();
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 Py_INCREF(Py_None
); resultobj
= Py_None
;
11362 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(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_GetInsertionPoint",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
)->GetInsertionPoint();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_From_long((long)(result
));
11390 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 char *kwnames
[] = {
11396 (char *) "self", NULL
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11401 if (SWIG_arg_fail(1)) SWIG_fail
;
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_From_long((long)(result
));
11418 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
;
11420 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 PyObject
* obj1
= 0 ;
11425 PyObject
* obj2
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "from",(char *) "to", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11432 if (SWIG_arg_fail(1)) SWIG_fail
;
11434 arg2
= (long)(SWIG_As_long(obj1
));
11435 if (SWIG_arg_fail(2)) SWIG_fail
;
11438 arg3
= (long)(SWIG_As_long(obj2
));
11439 if (SWIG_arg_fail(3)) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 (arg1
)->SetSelection(arg2
,arg3
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 Py_INCREF(Py_None
); resultobj
= Py_None
;
11455 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11465 if (SWIG_arg_fail(1)) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 (arg1
)->SelectAll();
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 Py_INCREF(Py_None
); resultobj
= Py_None
;
11480 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11484 PyObject
* obj0
= 0 ;
11485 PyObject
* obj1
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self",(char *) "editable", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11492 if (SWIG_arg_fail(1)) SWIG_fail
;
11494 arg2
= (bool)(SWIG_As_bool(obj1
));
11495 if (SWIG_arg_fail(2)) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 (arg1
)->SetEditable(arg2
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 Py_INCREF(Py_None
); resultobj
= Py_None
;
11511 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11514 bool arg2
= (bool) true ;
11516 PyObject
* obj0
= 0 ;
11517 PyObject
* obj1
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self",(char *) "show", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11524 if (SWIG_arg_fail(1)) SWIG_fail
;
11527 arg2
= (bool)(SWIG_As_bool(obj1
));
11528 if (SWIG_arg_fail(2)) SWIG_fail
;
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11547 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11551 PyObject
* obj0
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11558 if (SWIG_arg_fail(1)) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (bool)(arg1
)->HideNativeCaret();
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11575 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11578 wxString
*arg2
= 0 ;
11579 bool temp2
= false ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "text", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11588 if (SWIG_arg_fail(1)) SWIG_fail
;
11590 arg2
= wxString_in_helper(obj1
);
11591 if (arg2
== NULL
) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 Py_INCREF(Py_None
); resultobj
= Py_None
;
11616 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 PyObject
* obj2
= 0 ;
11625 char *kwnames
[] = {
11626 (char *) "self",(char *) "from",(char *) "to", NULL
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11631 if (SWIG_arg_fail(1)) SWIG_fail
;
11633 arg2
= (long)(SWIG_As_long(obj1
));
11634 if (SWIG_arg_fail(2)) SWIG_fail
;
11637 arg3
= (long)(SWIG_As_long(obj2
));
11638 if (SWIG_arg_fail(3)) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11660 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11663 wxVisualAttributes result
;
11664 PyObject
* obj0
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "variant", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11672 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11673 if (SWIG_arg_fail(1)) SWIG_fail
;
11677 if (!wxPyCheckForApp()) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11685 wxVisualAttributes
* resultptr
;
11686 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11695 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11698 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11700 return Py_BuildValue((char *)"");
11702 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11705 wxMouseEvent
*arg2
= 0 ;
11708 wxTextUrlEvent
*result
;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj1
= 0 ;
11711 PyObject
* obj2
= 0 ;
11712 PyObject
* obj3
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11719 arg1
= (int)(SWIG_As_int(obj0
));
11720 if (SWIG_arg_fail(1)) SWIG_fail
;
11723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11724 if (SWIG_arg_fail(2)) SWIG_fail
;
11725 if (arg2
== NULL
) {
11726 SWIG_null_ref("wxMouseEvent");
11728 if (SWIG_arg_fail(2)) SWIG_fail
;
11731 arg3
= (long)(SWIG_As_long(obj2
));
11732 if (SWIG_arg_fail(3)) SWIG_fail
;
11735 arg4
= (long)(SWIG_As_long(obj3
));
11736 if (SWIG_arg_fail(4)) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11752 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11755 wxMouseEvent
*result
;
11756 PyObject
* obj0
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "self", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11763 if (SWIG_arg_fail(1)) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11768 result
= (wxMouseEvent
*) &_result_ref
;
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11781 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11785 PyObject
* obj0
= 0 ;
11786 char *kwnames
[] = {
11787 (char *) "self", NULL
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11792 if (SWIG_arg_fail(1)) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= SWIG_From_long((long)(result
));
11809 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11810 PyObject
*resultobj
;
11811 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11813 PyObject
* obj0
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11820 if (SWIG_arg_fail(1)) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= SWIG_From_long((long)(result
));
11837 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11840 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11842 return Py_BuildValue((char *)"");
11844 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11845 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11850 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11855 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11857 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11864 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxWindow
*arg1
= (wxWindow
*) 0 ;
11867 int arg2
= (int) -1 ;
11868 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11869 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11870 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11871 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11872 long arg5
= (long) wxSB_HORIZONTAL
;
11873 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11874 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11875 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11877 wxScrollBar
*result
;
11880 bool temp7
= false ;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 PyObject
* obj2
= 0 ;
11884 PyObject
* obj3
= 0 ;
11885 PyObject
* obj4
= 0 ;
11886 PyObject
* obj5
= 0 ;
11887 PyObject
* obj6
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11894 if (SWIG_arg_fail(1)) SWIG_fail
;
11897 arg2
= (int)(SWIG_As_int(obj1
));
11898 if (SWIG_arg_fail(2)) SWIG_fail
;
11904 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11910 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11915 arg5
= (long)(SWIG_As_long(obj4
));
11916 if (SWIG_arg_fail(5)) SWIG_fail
;
11921 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11922 if (SWIG_arg_fail(6)) SWIG_fail
;
11923 if (arg6
== NULL
) {
11924 SWIG_null_ref("wxValidator");
11926 if (SWIG_arg_fail(6)) SWIG_fail
;
11931 arg7
= wxString_in_helper(obj6
);
11932 if (arg7
== NULL
) SWIG_fail
;
11937 if (!wxPyCheckForApp()) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11959 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
;
11961 wxScrollBar
*result
;
11962 char *kwnames
[] = {
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11968 if (!wxPyCheckForApp()) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= (wxScrollBar
*)new wxScrollBar();
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11982 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11985 wxWindow
*arg2
= (wxWindow
*) 0 ;
11986 int arg3
= (int) -1 ;
11987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11991 long arg6
= (long) wxSB_HORIZONTAL
;
11992 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11993 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11994 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11995 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11999 bool temp8
= false ;
12000 PyObject
* obj0
= 0 ;
12001 PyObject
* obj1
= 0 ;
12002 PyObject
* obj2
= 0 ;
12003 PyObject
* obj3
= 0 ;
12004 PyObject
* obj4
= 0 ;
12005 PyObject
* obj5
= 0 ;
12006 PyObject
* obj6
= 0 ;
12007 PyObject
* obj7
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12014 if (SWIG_arg_fail(1)) SWIG_fail
;
12015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12016 if (SWIG_arg_fail(2)) SWIG_fail
;
12019 arg3
= (int)(SWIG_As_int(obj2
));
12020 if (SWIG_arg_fail(3)) SWIG_fail
;
12026 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12032 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12037 arg6
= (long)(SWIG_As_long(obj5
));
12038 if (SWIG_arg_fail(6)) SWIG_fail
;
12043 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12044 if (SWIG_arg_fail(7)) SWIG_fail
;
12045 if (arg7
== NULL
) {
12046 SWIG_null_ref("wxValidator");
12048 if (SWIG_arg_fail(7)) SWIG_fail
;
12053 arg8
= wxString_in_helper(obj7
);
12054 if (arg8
== NULL
) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12082 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12086 PyObject
* obj0
= 0 ;
12087 char *kwnames
[] = {
12088 (char *) "self", NULL
12091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12093 if (SWIG_arg_fail(1)) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= SWIG_From_int((int)(result
));
12110 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12121 if (SWIG_arg_fail(1)) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= SWIG_From_int((int)(result
));
12138 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
;
12140 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12149 if (SWIG_arg_fail(1)) SWIG_fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= SWIG_From_int((int)(result
));
12166 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12177 if (SWIG_arg_fail(1)) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= SWIG_From_int((int)(result
));
12194 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12205 if (SWIG_arg_fail(1)) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12222 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12226 PyObject
* obj0
= 0 ;
12227 PyObject
* obj1
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self",(char *) "viewStart", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12234 if (SWIG_arg_fail(1)) SWIG_fail
;
12236 arg2
= (int)(SWIG_As_int(obj1
));
12237 if (SWIG_arg_fail(2)) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 (arg1
)->SetThumbPosition(arg2
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 Py_INCREF(Py_None
); resultobj
= Py_None
;
12253 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12260 bool arg6
= (bool) true ;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 PyObject
* obj2
= 0 ;
12264 PyObject
* obj3
= 0 ;
12265 PyObject
* obj4
= 0 ;
12266 PyObject
* obj5
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12273 if (SWIG_arg_fail(1)) SWIG_fail
;
12275 arg2
= (int)(SWIG_As_int(obj1
));
12276 if (SWIG_arg_fail(2)) SWIG_fail
;
12279 arg3
= (int)(SWIG_As_int(obj2
));
12280 if (SWIG_arg_fail(3)) SWIG_fail
;
12283 arg4
= (int)(SWIG_As_int(obj3
));
12284 if (SWIG_arg_fail(4)) SWIG_fail
;
12287 arg5
= (int)(SWIG_As_int(obj4
));
12288 if (SWIG_arg_fail(5)) SWIG_fail
;
12292 arg6
= (bool)(SWIG_As_bool(obj5
));
12293 if (SWIG_arg_fail(6)) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 Py_INCREF(Py_None
); resultobj
= Py_None
;
12310 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12313 wxVisualAttributes result
;
12314 PyObject
* obj0
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "variant", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12322 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12323 if (SWIG_arg_fail(1)) SWIG_fail
;
12327 if (!wxPyCheckForApp()) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12335 wxVisualAttributes
* resultptr
;
12336 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12345 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12348 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12350 return Py_BuildValue((char *)"");
12352 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12353 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12358 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12363 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12365 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12372 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12373 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12378 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12383 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12385 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12392 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxWindow
*arg1
= (wxWindow
*) 0 ;
12395 int arg2
= (int) -1 ;
12396 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12397 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12398 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12399 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12400 long arg5
= (long) wxSP_HORIZONTAL
;
12401 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12402 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12403 wxSpinButton
*result
;
12406 bool temp6
= false ;
12407 PyObject
* obj0
= 0 ;
12408 PyObject
* obj1
= 0 ;
12409 PyObject
* obj2
= 0 ;
12410 PyObject
* obj3
= 0 ;
12411 PyObject
* obj4
= 0 ;
12412 PyObject
* obj5
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail
;
12422 arg2
= (int)(SWIG_As_int(obj1
));
12423 if (SWIG_arg_fail(2)) SWIG_fail
;
12429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12435 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12440 arg5
= (long)(SWIG_As_long(obj4
));
12441 if (SWIG_arg_fail(5)) SWIG_fail
;
12446 arg6
= wxString_in_helper(obj5
);
12447 if (arg6
== NULL
) SWIG_fail
;
12452 if (!wxPyCheckForApp()) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12474 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxSpinButton
*result
;
12477 char *kwnames
[] = {
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12483 if (!wxPyCheckForApp()) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= (wxSpinButton
*)new wxSpinButton();
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12497 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12500 wxWindow
*arg2
= (wxWindow
*) 0 ;
12501 int arg3
= (int) -1 ;
12502 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12503 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12504 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12505 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12506 long arg6
= (long) wxSP_HORIZONTAL
;
12507 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12508 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12512 bool temp7
= false ;
12513 PyObject
* obj0
= 0 ;
12514 PyObject
* obj1
= 0 ;
12515 PyObject
* obj2
= 0 ;
12516 PyObject
* obj3
= 0 ;
12517 PyObject
* obj4
= 0 ;
12518 PyObject
* obj5
= 0 ;
12519 PyObject
* obj6
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12526 if (SWIG_arg_fail(1)) SWIG_fail
;
12527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12528 if (SWIG_arg_fail(2)) SWIG_fail
;
12531 arg3
= (int)(SWIG_As_int(obj2
));
12532 if (SWIG_arg_fail(3)) SWIG_fail
;
12538 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12544 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12549 arg6
= (long)(SWIG_As_long(obj5
));
12550 if (SWIG_arg_fail(6)) SWIG_fail
;
12555 arg7
= wxString_in_helper(obj6
);
12556 if (arg7
== NULL
) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12584 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12595 if (SWIG_arg_fail(1)) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= SWIG_From_int((int)(result
));
12612 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12623 if (SWIG_arg_fail(1)) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_From_int((int)(result
));
12640 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
;
12642 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12651 if (SWIG_arg_fail(1)) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= SWIG_From_int((int)(result
));
12668 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 PyObject
* obj1
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self",(char *) "val", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 arg2
= (int)(SWIG_As_int(obj1
));
12683 if (SWIG_arg_fail(2)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->SetValue(arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self",(char *) "minVal", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail
;
12713 arg2
= (int)(SWIG_As_int(obj1
));
12714 if (SWIG_arg_fail(2)) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 (arg1
)->SetMin(arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 Py_INCREF(Py_None
); resultobj
= Py_None
;
12730 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self",(char *) "maxVal", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12742 if (SWIG_arg_fail(1)) SWIG_fail
;
12744 arg2
= (int)(SWIG_As_int(obj1
));
12745 if (SWIG_arg_fail(2)) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 (arg1
)->SetMax(arg2
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 Py_INCREF(Py_None
); resultobj
= Py_None
;
12761 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
;
12763 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 PyObject
* obj2
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail
;
12777 arg2
= (int)(SWIG_As_int(obj1
));
12778 if (SWIG_arg_fail(2)) SWIG_fail
;
12781 arg3
= (int)(SWIG_As_int(obj2
));
12782 if (SWIG_arg_fail(3)) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 (arg1
)->SetRange(arg2
,arg3
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 Py_INCREF(Py_None
); resultobj
= Py_None
;
12798 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12809 if (SWIG_arg_fail(1)) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12826 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12829 wxVisualAttributes result
;
12830 PyObject
* obj0
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "variant", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12838 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12839 if (SWIG_arg_fail(1)) SWIG_fail
;
12843 if (!wxPyCheckForApp()) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12851 wxVisualAttributes
* resultptr
;
12852 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12861 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12864 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12866 return Py_BuildValue((char *)"");
12868 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxWindow
*arg1
= (wxWindow
*) 0 ;
12871 int arg2
= (int) -1 ;
12872 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12873 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12878 long arg6
= (long) wxSP_ARROW_KEYS
;
12879 int arg7
= (int) 0 ;
12880 int arg8
= (int) 100 ;
12881 int arg9
= (int) 0 ;
12882 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12883 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12884 wxSpinCtrl
*result
;
12885 bool temp3
= false ;
12888 bool temp10
= false ;
12889 PyObject
* obj0
= 0 ;
12890 PyObject
* obj1
= 0 ;
12891 PyObject
* obj2
= 0 ;
12892 PyObject
* obj3
= 0 ;
12893 PyObject
* obj4
= 0 ;
12894 PyObject
* obj5
= 0 ;
12895 PyObject
* obj6
= 0 ;
12896 PyObject
* obj7
= 0 ;
12897 PyObject
* obj8
= 0 ;
12898 PyObject
* obj9
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12905 if (SWIG_arg_fail(1)) SWIG_fail
;
12908 arg2
= (int)(SWIG_As_int(obj1
));
12909 if (SWIG_arg_fail(2)) SWIG_fail
;
12914 arg3
= wxString_in_helper(obj2
);
12915 if (arg3
== NULL
) SWIG_fail
;
12922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12933 arg6
= (long)(SWIG_As_long(obj5
));
12934 if (SWIG_arg_fail(6)) SWIG_fail
;
12939 arg7
= (int)(SWIG_As_int(obj6
));
12940 if (SWIG_arg_fail(7)) SWIG_fail
;
12945 arg8
= (int)(SWIG_As_int(obj7
));
12946 if (SWIG_arg_fail(8)) SWIG_fail
;
12951 arg9
= (int)(SWIG_As_int(obj8
));
12952 if (SWIG_arg_fail(9)) SWIG_fail
;
12957 arg10
= wxString_in_helper(obj9
);
12958 if (arg10
== NULL
) SWIG_fail
;
12963 if (!wxPyCheckForApp()) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12993 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxSpinCtrl
*result
;
12996 char *kwnames
[] = {
13000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13002 if (!wxPyCheckForApp()) SWIG_fail
;
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13016 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13019 wxWindow
*arg2
= (wxWindow
*) 0 ;
13020 int arg3
= (int) -1 ;
13021 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13022 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13023 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13024 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13025 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13026 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13027 long arg7
= (long) wxSP_ARROW_KEYS
;
13028 int arg8
= (int) 0 ;
13029 int arg9
= (int) 100 ;
13030 int arg10
= (int) 0 ;
13031 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13032 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13034 bool temp4
= false ;
13037 bool temp11
= false ;
13038 PyObject
* obj0
= 0 ;
13039 PyObject
* obj1
= 0 ;
13040 PyObject
* obj2
= 0 ;
13041 PyObject
* obj3
= 0 ;
13042 PyObject
* obj4
= 0 ;
13043 PyObject
* obj5
= 0 ;
13044 PyObject
* obj6
= 0 ;
13045 PyObject
* obj7
= 0 ;
13046 PyObject
* obj8
= 0 ;
13047 PyObject
* obj9
= 0 ;
13048 PyObject
* obj10
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13055 if (SWIG_arg_fail(1)) SWIG_fail
;
13056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13057 if (SWIG_arg_fail(2)) SWIG_fail
;
13060 arg3
= (int)(SWIG_As_int(obj2
));
13061 if (SWIG_arg_fail(3)) SWIG_fail
;
13066 arg4
= wxString_in_helper(obj3
);
13067 if (arg4
== NULL
) SWIG_fail
;
13074 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13080 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13085 arg7
= (long)(SWIG_As_long(obj6
));
13086 if (SWIG_arg_fail(7)) SWIG_fail
;
13091 arg8
= (int)(SWIG_As_int(obj7
));
13092 if (SWIG_arg_fail(8)) SWIG_fail
;
13097 arg9
= (int)(SWIG_As_int(obj8
));
13098 if (SWIG_arg_fail(9)) SWIG_fail
;
13103 arg10
= (int)(SWIG_As_int(obj9
));
13104 if (SWIG_arg_fail(10)) SWIG_fail
;
13109 arg11
= wxString_in_helper(obj10
);
13110 if (arg11
== NULL
) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13146 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
;
13148 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 char *kwnames
[] = {
13152 (char *) "self", NULL
13155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13157 if (SWIG_arg_fail(1)) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_From_int((int)(result
));
13174 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self",(char *) "value", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13186 if (SWIG_arg_fail(1)) SWIG_fail
;
13188 arg2
= (int)(SWIG_As_int(obj1
));
13189 if (SWIG_arg_fail(2)) SWIG_fail
;
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 (arg1
)->SetValue(arg2
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13198 Py_INCREF(Py_None
); resultobj
= Py_None
;
13205 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
;
13207 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13208 wxString
*arg2
= 0 ;
13209 bool temp2
= false ;
13210 PyObject
* obj0
= 0 ;
13211 PyObject
* obj1
= 0 ;
13212 char *kwnames
[] = {
13213 (char *) "self",(char *) "text", NULL
13216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13218 if (SWIG_arg_fail(1)) SWIG_fail
;
13220 arg2
= wxString_in_helper(obj1
);
13221 if (arg2
== NULL
) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 (arg1
)->SetValue((wxString
const &)*arg2
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 Py_INCREF(Py_None
); resultobj
= Py_None
;
13246 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13251 PyObject
* obj0
= 0 ;
13252 PyObject
* obj1
= 0 ;
13253 PyObject
* obj2
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13260 if (SWIG_arg_fail(1)) SWIG_fail
;
13262 arg2
= (int)(SWIG_As_int(obj1
));
13263 if (SWIG_arg_fail(2)) SWIG_fail
;
13266 arg3
= (int)(SWIG_As_int(obj2
));
13267 if (SWIG_arg_fail(3)) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->SetRange(arg2
,arg3
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 Py_INCREF(Py_None
); resultobj
= Py_None
;
13283 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13294 if (SWIG_arg_fail(1)) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_From_int((int)(result
));
13311 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13322 if (SWIG_arg_fail(1)) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= SWIG_From_int((int)(result
));
13339 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 PyObject
* obj2
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self",(char *) "from",(char *) "to", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13353 if (SWIG_arg_fail(1)) SWIG_fail
;
13355 arg2
= (long)(SWIG_As_long(obj1
));
13356 if (SWIG_arg_fail(2)) SWIG_fail
;
13359 arg3
= (long)(SWIG_As_long(obj2
));
13360 if (SWIG_arg_fail(3)) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 (arg1
)->SetSelection(arg2
,arg3
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 Py_INCREF(Py_None
); resultobj
= Py_None
;
13376 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13379 wxVisualAttributes result
;
13380 PyObject
* obj0
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "variant", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13388 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13389 if (SWIG_arg_fail(1)) SWIG_fail
;
13393 if (!wxPyCheckForApp()) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13401 wxVisualAttributes
* resultptr
;
13402 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13411 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13414 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13416 return Py_BuildValue((char *)"");
13418 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13421 int arg2
= (int) 0 ;
13422 wxSpinEvent
*result
;
13423 PyObject
* obj0
= 0 ;
13424 PyObject
* obj1
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "commandType",(char *) "winid", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13432 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13433 if (SWIG_arg_fail(1)) SWIG_fail
;
13438 arg2
= (int)(SWIG_As_int(obj1
));
13439 if (SWIG_arg_fail(2)) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13456 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13460 PyObject
* obj0
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13467 if (SWIG_arg_fail(1)) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= SWIG_From_int((int)(result
));
13484 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "pos", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13496 if (SWIG_arg_fail(1)) SWIG_fail
;
13498 arg2
= (int)(SWIG_As_int(obj1
));
13499 if (SWIG_arg_fail(2)) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 (arg1
)->SetPosition(arg2
);
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 Py_INCREF(Py_None
); resultobj
= Py_None
;
13515 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13518 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13520 return Py_BuildValue((char *)"");
13522 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13523 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13528 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13533 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13535 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13542 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13543 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13548 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13553 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13555 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13562 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxWindow
*arg1
= (wxWindow
*) 0 ;
13565 int arg2
= (int) -1 ;
13566 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13567 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13568 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13569 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13570 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13571 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13572 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13573 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13574 int arg7
= (int) 0 ;
13575 long arg8
= (long) wxRA_HORIZONTAL
;
13576 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13577 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13578 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13579 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13580 wxRadioBox
*result
;
13581 bool temp3
= false ;
13584 bool temp6
= false ;
13585 bool temp10
= false ;
13586 PyObject
* obj0
= 0 ;
13587 PyObject
* obj1
= 0 ;
13588 PyObject
* obj2
= 0 ;
13589 PyObject
* obj3
= 0 ;
13590 PyObject
* obj4
= 0 ;
13591 PyObject
* obj5
= 0 ;
13592 PyObject
* obj6
= 0 ;
13593 PyObject
* obj7
= 0 ;
13594 PyObject
* obj8
= 0 ;
13595 PyObject
* obj9
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13602 if (SWIG_arg_fail(1)) SWIG_fail
;
13605 arg2
= (int)(SWIG_As_int(obj1
));
13606 if (SWIG_arg_fail(2)) SWIG_fail
;
13611 arg3
= wxString_in_helper(obj2
);
13612 if (arg3
== NULL
) SWIG_fail
;
13619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13630 if (! PySequence_Check(obj5
)) {
13631 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13634 arg6
= new wxArrayString
;
13636 int i
, len
=PySequence_Length(obj5
);
13637 for (i
=0; i
<len
; i
++) {
13638 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13640 PyObject
* str
= PyObject_Unicode(item
);
13642 PyObject
* str
= PyObject_Str(item
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13645 arg6
->Add(Py2wxString(str
));
13653 arg7
= (int)(SWIG_As_int(obj6
));
13654 if (SWIG_arg_fail(7)) SWIG_fail
;
13659 arg8
= (long)(SWIG_As_long(obj7
));
13660 if (SWIG_arg_fail(8)) SWIG_fail
;
13665 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13666 if (SWIG_arg_fail(9)) SWIG_fail
;
13667 if (arg9
== NULL
) {
13668 SWIG_null_ref("wxValidator");
13670 if (SWIG_arg_fail(9)) SWIG_fail
;
13675 arg10
= wxString_in_helper(obj9
);
13676 if (arg10
== NULL
) SWIG_fail
;
13681 if (!wxPyCheckForApp()) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 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
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13694 if (temp6
) delete arg6
;
13707 if (temp6
) delete arg6
;
13717 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxRadioBox
*result
;
13720 char *kwnames
[] = {
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13726 if (!wxPyCheckForApp()) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= (wxRadioBox
*)new wxRadioBox();
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13740 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13743 wxWindow
*arg2
= (wxWindow
*) 0 ;
13744 int arg3
= (int) -1 ;
13745 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13746 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13747 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13748 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13749 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13750 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13751 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13752 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13753 int arg8
= (int) 0 ;
13754 long arg9
= (long) wxRA_HORIZONTAL
;
13755 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13756 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13757 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13758 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13760 bool temp4
= false ;
13763 bool temp7
= false ;
13764 bool temp11
= false ;
13765 PyObject
* obj0
= 0 ;
13766 PyObject
* obj1
= 0 ;
13767 PyObject
* obj2
= 0 ;
13768 PyObject
* obj3
= 0 ;
13769 PyObject
* obj4
= 0 ;
13770 PyObject
* obj5
= 0 ;
13771 PyObject
* obj6
= 0 ;
13772 PyObject
* obj7
= 0 ;
13773 PyObject
* obj8
= 0 ;
13774 PyObject
* obj9
= 0 ;
13775 PyObject
* obj10
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13782 if (SWIG_arg_fail(1)) SWIG_fail
;
13783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13784 if (SWIG_arg_fail(2)) SWIG_fail
;
13787 arg3
= (int)(SWIG_As_int(obj2
));
13788 if (SWIG_arg_fail(3)) SWIG_fail
;
13793 arg4
= wxString_in_helper(obj3
);
13794 if (arg4
== NULL
) SWIG_fail
;
13801 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13807 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13812 if (! PySequence_Check(obj6
)) {
13813 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13816 arg7
= new wxArrayString
;
13818 int i
, len
=PySequence_Length(obj6
);
13819 for (i
=0; i
<len
; i
++) {
13820 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13822 PyObject
* str
= PyObject_Unicode(item
);
13824 PyObject
* str
= PyObject_Str(item
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13827 arg7
->Add(Py2wxString(str
));
13835 arg8
= (int)(SWIG_As_int(obj7
));
13836 if (SWIG_arg_fail(8)) SWIG_fail
;
13841 arg9
= (long)(SWIG_As_long(obj8
));
13842 if (SWIG_arg_fail(9)) SWIG_fail
;
13847 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13848 if (SWIG_arg_fail(10)) SWIG_fail
;
13849 if (arg10
== NULL
) {
13850 SWIG_null_ref("wxValidator");
13852 if (SWIG_arg_fail(10)) SWIG_fail
;
13857 arg11
= wxString_in_helper(obj10
);
13858 if (arg11
== NULL
) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 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
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13877 if (temp7
) delete arg7
;
13890 if (temp7
) delete arg7
;
13900 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self",(char *) "n", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13912 if (SWIG_arg_fail(1)) SWIG_fail
;
13914 arg2
= (int)(SWIG_As_int(obj1
));
13915 if (SWIG_arg_fail(2)) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 (arg1
)->SetSelection(arg2
);
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 Py_INCREF(Py_None
); resultobj
= Py_None
;
13931 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13935 PyObject
* obj0
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13942 if (SWIG_arg_fail(1)) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_From_int((int)(result
));
13959 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
;
13961 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13963 PyObject
* obj0
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13970 if (SWIG_arg_fail(1)) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13991 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13994 wxString
*arg2
= 0 ;
13996 bool temp2
= false ;
13997 PyObject
* obj0
= 0 ;
13998 PyObject
* obj1
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self",(char *) "s", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14005 if (SWIG_arg_fail(1)) SWIG_fail
;
14007 arg2
= wxString_in_helper(obj1
);
14008 if (arg2
== NULL
) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14035 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_From_int((int)(result
));
14063 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14066 wxString
*arg2
= 0 ;
14068 bool temp2
= false ;
14069 PyObject
* obj0
= 0 ;
14070 PyObject
* obj1
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self",(char *) "s", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14077 if (SWIG_arg_fail(1)) SWIG_fail
;
14079 arg2
= wxString_in_helper(obj1
);
14080 if (arg2
== NULL
) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= SWIG_From_int((int)(result
));
14107 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self",(char *) "n", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14120 if (SWIG_arg_fail(1)) SWIG_fail
;
14122 arg2
= (int)(SWIG_As_int(obj1
));
14123 if (SWIG_arg_fail(2)) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14145 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
;
14147 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14149 wxString
*arg3
= 0 ;
14150 bool temp3
= false ;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 PyObject
* obj2
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self",(char *) "n",(char *) "label", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14160 if (SWIG_arg_fail(1)) SWIG_fail
;
14162 arg2
= (int)(SWIG_As_int(obj1
));
14163 if (SWIG_arg_fail(2)) SWIG_fail
;
14166 arg3
= wxString_in_helper(obj2
);
14167 if (arg3
== NULL
) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 Py_INCREF(Py_None
); resultobj
= Py_None
;
14192 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14196 bool arg3
= (bool) true ;
14197 PyObject
* obj0
= 0 ;
14198 PyObject
* obj1
= 0 ;
14199 PyObject
* obj2
= 0 ;
14200 char *kwnames
[] = {
14201 (char *) "self",(char *) "n",(char *) "enable", NULL
14204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14206 if (SWIG_arg_fail(1)) SWIG_fail
;
14208 arg2
= (int)(SWIG_As_int(obj1
));
14209 if (SWIG_arg_fail(2)) SWIG_fail
;
14213 arg3
= (bool)(SWIG_As_bool(obj2
));
14214 if (SWIG_arg_fail(3)) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 (arg1
)->Enable(arg2
,arg3
);
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 Py_INCREF(Py_None
); resultobj
= Py_None
;
14231 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14235 bool arg3
= (bool) true ;
14236 PyObject
* obj0
= 0 ;
14237 PyObject
* obj1
= 0 ;
14238 PyObject
* obj2
= 0 ;
14239 char *kwnames
[] = {
14240 (char *) "self",(char *) "n",(char *) "show", NULL
14243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14245 if (SWIG_arg_fail(1)) SWIG_fail
;
14247 arg2
= (int)(SWIG_As_int(obj1
));
14248 if (SWIG_arg_fail(2)) SWIG_fail
;
14252 arg3
= (bool)(SWIG_As_bool(obj2
));
14253 if (SWIG_arg_fail(3)) SWIG_fail
;
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 (arg1
)->Show(arg2
,arg3
);
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14263 Py_INCREF(Py_None
); resultobj
= Py_None
;
14270 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14274 PyObject
* obj0
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "self", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14281 if (SWIG_arg_fail(1)) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_From_int((int)(result
));
14298 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
;
14300 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self", NULL
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14309 if (SWIG_arg_fail(1)) SWIG_fail
;
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= SWIG_From_int((int)(result
));
14326 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14327 PyObject
*resultobj
;
14328 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14333 PyObject
* obj0
= 0 ;
14334 PyObject
* obj1
= 0 ;
14335 PyObject
* obj2
= 0 ;
14336 PyObject
* obj3
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14343 if (SWIG_arg_fail(1)) SWIG_fail
;
14345 arg2
= (int)(SWIG_As_int(obj1
));
14346 if (SWIG_arg_fail(2)) SWIG_fail
;
14349 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14350 if (SWIG_arg_fail(3)) SWIG_fail
;
14353 arg4
= (long)(SWIG_As_long(obj3
));
14354 if (SWIG_arg_fail(4)) SWIG_fail
;
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_From_int((int)(result
));
14372 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14375 wxVisualAttributes result
;
14376 PyObject
* obj0
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "variant", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14384 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14385 if (SWIG_arg_fail(1)) SWIG_fail
;
14389 if (!wxPyCheckForApp()) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14397 wxVisualAttributes
* resultptr
;
14398 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14407 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14410 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14412 return Py_BuildValue((char *)"");
14414 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxWindow
*arg1
= (wxWindow
*) 0 ;
14417 int arg2
= (int) -1 ;
14418 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14419 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14424 long arg6
= (long) 0 ;
14425 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14426 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14427 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14428 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14429 wxRadioButton
*result
;
14430 bool temp3
= false ;
14433 bool temp8
= false ;
14434 PyObject
* obj0
= 0 ;
14435 PyObject
* obj1
= 0 ;
14436 PyObject
* obj2
= 0 ;
14437 PyObject
* obj3
= 0 ;
14438 PyObject
* obj4
= 0 ;
14439 PyObject
* obj5
= 0 ;
14440 PyObject
* obj6
= 0 ;
14441 PyObject
* obj7
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14448 if (SWIG_arg_fail(1)) SWIG_fail
;
14451 arg2
= (int)(SWIG_As_int(obj1
));
14452 if (SWIG_arg_fail(2)) SWIG_fail
;
14457 arg3
= wxString_in_helper(obj2
);
14458 if (arg3
== NULL
) SWIG_fail
;
14465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14476 arg6
= (long)(SWIG_As_long(obj5
));
14477 if (SWIG_arg_fail(6)) SWIG_fail
;
14482 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14483 if (SWIG_arg_fail(7)) SWIG_fail
;
14484 if (arg7
== NULL
) {
14485 SWIG_null_ref("wxValidator");
14487 if (SWIG_arg_fail(7)) SWIG_fail
;
14492 arg8
= wxString_in_helper(obj7
);
14493 if (arg8
== NULL
) SWIG_fail
;
14498 if (!wxPyCheckForApp()) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14528 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxRadioButton
*result
;
14531 char *kwnames
[] = {
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14537 if (!wxPyCheckForApp()) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (wxRadioButton
*)new wxRadioButton();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14551 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14554 wxWindow
*arg2
= (wxWindow
*) 0 ;
14555 int arg3
= (int) -1 ;
14556 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14557 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14558 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14559 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14560 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14561 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14562 long arg7
= (long) 0 ;
14563 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14564 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14565 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14566 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14568 bool temp4
= false ;
14571 bool temp9
= false ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 PyObject
* obj2
= 0 ;
14575 PyObject
* obj3
= 0 ;
14576 PyObject
* obj4
= 0 ;
14577 PyObject
* obj5
= 0 ;
14578 PyObject
* obj6
= 0 ;
14579 PyObject
* obj7
= 0 ;
14580 PyObject
* obj8
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14587 if (SWIG_arg_fail(1)) SWIG_fail
;
14588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14589 if (SWIG_arg_fail(2)) SWIG_fail
;
14592 arg3
= (int)(SWIG_As_int(obj2
));
14593 if (SWIG_arg_fail(3)) SWIG_fail
;
14598 arg4
= wxString_in_helper(obj3
);
14599 if (arg4
== NULL
) SWIG_fail
;
14606 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14612 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14617 arg7
= (long)(SWIG_As_long(obj6
));
14618 if (SWIG_arg_fail(7)) SWIG_fail
;
14623 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14624 if (SWIG_arg_fail(8)) SWIG_fail
;
14625 if (arg8
== NULL
) {
14626 SWIG_null_ref("wxValidator");
14628 if (SWIG_arg_fail(8)) SWIG_fail
;
14633 arg9
= wxString_in_helper(obj8
);
14634 if (arg9
== NULL
) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14670 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (bool)(arg1
)->GetValue();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14698 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "value", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14710 if (SWIG_arg_fail(1)) SWIG_fail
;
14712 arg2
= (bool)(SWIG_As_bool(obj1
));
14713 if (SWIG_arg_fail(2)) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->SetValue(arg2
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14732 wxVisualAttributes result
;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "variant", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14741 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14742 if (SWIG_arg_fail(1)) SWIG_fail
;
14746 if (!wxPyCheckForApp()) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14754 wxVisualAttributes
* resultptr
;
14755 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14764 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14767 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14769 return Py_BuildValue((char *)"");
14771 static int _wrap_SliderNameStr_set(PyObject
*) {
14772 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14777 static PyObject
*_wrap_SliderNameStr_get(void) {
14782 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14784 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14791 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxWindow
*arg1
= (wxWindow
*) 0 ;
14794 int arg2
= (int) -1 ;
14795 int arg3
= (int) 0 ;
14796 int arg4
= (int) 0 ;
14797 int arg5
= (int) 100 ;
14798 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14799 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14800 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14801 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14802 long arg8
= (long) wxSL_HORIZONTAL
;
14803 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14804 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14805 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14806 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14810 bool temp10
= false ;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 PyObject
* obj2
= 0 ;
14814 PyObject
* obj3
= 0 ;
14815 PyObject
* obj4
= 0 ;
14816 PyObject
* obj5
= 0 ;
14817 PyObject
* obj6
= 0 ;
14818 PyObject
* obj7
= 0 ;
14819 PyObject
* obj8
= 0 ;
14820 PyObject
* obj9
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14827 if (SWIG_arg_fail(1)) SWIG_fail
;
14830 arg2
= (int)(SWIG_As_int(obj1
));
14831 if (SWIG_arg_fail(2)) SWIG_fail
;
14836 arg3
= (int)(SWIG_As_int(obj2
));
14837 if (SWIG_arg_fail(3)) SWIG_fail
;
14842 arg4
= (int)(SWIG_As_int(obj3
));
14843 if (SWIG_arg_fail(4)) SWIG_fail
;
14848 arg5
= (int)(SWIG_As_int(obj4
));
14849 if (SWIG_arg_fail(5)) SWIG_fail
;
14855 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14861 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14866 arg8
= (long)(SWIG_As_long(obj7
));
14867 if (SWIG_arg_fail(8)) SWIG_fail
;
14872 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14873 if (SWIG_arg_fail(9)) SWIG_fail
;
14874 if (arg9
== NULL
) {
14875 SWIG_null_ref("wxValidator");
14877 if (SWIG_arg_fail(9)) SWIG_fail
;
14882 arg10
= wxString_in_helper(obj9
);
14883 if (arg10
== NULL
) SWIG_fail
;
14888 if (!wxPyCheckForApp()) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14910 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14913 char *kwnames
[] = {
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14919 if (!wxPyCheckForApp()) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (wxSlider
*)new wxSlider();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14933 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxSlider
*arg1
= (wxSlider
*) 0 ;
14936 wxWindow
*arg2
= (wxWindow
*) 0 ;
14937 int arg3
= (int) -1 ;
14938 int arg4
= (int) 0 ;
14939 int arg5
= (int) 0 ;
14940 int arg6
= (int) 100 ;
14941 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14942 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14943 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14944 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14945 long arg9
= (long) wxSL_HORIZONTAL
;
14946 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14947 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14948 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14949 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14953 bool temp11
= false ;
14954 PyObject
* obj0
= 0 ;
14955 PyObject
* obj1
= 0 ;
14956 PyObject
* obj2
= 0 ;
14957 PyObject
* obj3
= 0 ;
14958 PyObject
* obj4
= 0 ;
14959 PyObject
* obj5
= 0 ;
14960 PyObject
* obj6
= 0 ;
14961 PyObject
* obj7
= 0 ;
14962 PyObject
* obj8
= 0 ;
14963 PyObject
* obj9
= 0 ;
14964 PyObject
* obj10
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14971 if (SWIG_arg_fail(1)) SWIG_fail
;
14972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14973 if (SWIG_arg_fail(2)) SWIG_fail
;
14976 arg3
= (int)(SWIG_As_int(obj2
));
14977 if (SWIG_arg_fail(3)) SWIG_fail
;
14982 arg4
= (int)(SWIG_As_int(obj3
));
14983 if (SWIG_arg_fail(4)) SWIG_fail
;
14988 arg5
= (int)(SWIG_As_int(obj4
));
14989 if (SWIG_arg_fail(5)) SWIG_fail
;
14994 arg6
= (int)(SWIG_As_int(obj5
));
14995 if (SWIG_arg_fail(6)) SWIG_fail
;
15001 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15007 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15012 arg9
= (long)(SWIG_As_long(obj8
));
15013 if (SWIG_arg_fail(9)) SWIG_fail
;
15018 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15019 if (SWIG_arg_fail(10)) SWIG_fail
;
15020 if (arg10
== NULL
) {
15021 SWIG_null_ref("wxValidator");
15023 if (SWIG_arg_fail(10)) SWIG_fail
;
15028 arg11
= wxString_in_helper(obj10
);
15029 if (arg11
== NULL
) SWIG_fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15057 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxSlider
*arg1
= (wxSlider
*) 0 ;
15061 PyObject
* obj0
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15068 if (SWIG_arg_fail(1)) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= SWIG_From_int((int)(result
));
15085 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxSlider
*arg1
= (wxSlider
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self",(char *) "value", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15097 if (SWIG_arg_fail(1)) SWIG_fail
;
15099 arg2
= (int)(SWIG_As_int(obj1
));
15100 if (SWIG_arg_fail(2)) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 (arg1
)->SetValue(arg2
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 Py_INCREF(Py_None
); resultobj
= Py_None
;
15116 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxSlider
*arg1
= (wxSlider
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 PyObject
* obj2
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail
;
15132 arg2
= (int)(SWIG_As_int(obj1
));
15133 if (SWIG_arg_fail(2)) SWIG_fail
;
15136 arg3
= (int)(SWIG_As_int(obj2
));
15137 if (SWIG_arg_fail(3)) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 (arg1
)->SetRange(arg2
,arg3
);
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 Py_INCREF(Py_None
); resultobj
= Py_None
;
15153 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxSlider
*arg1
= (wxSlider
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15164 if (SWIG_arg_fail(1)) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= SWIG_From_int((int)(result
));
15181 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxSlider
*arg1
= (wxSlider
*) 0 ;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15192 if (SWIG_arg_fail(1)) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= SWIG_From_int((int)(result
));
15209 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxSlider
*arg1
= (wxSlider
*) 0 ;
15213 PyObject
* obj0
= 0 ;
15214 PyObject
* obj1
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self",(char *) "minValue", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15221 if (SWIG_arg_fail(1)) SWIG_fail
;
15223 arg2
= (int)(SWIG_As_int(obj1
));
15224 if (SWIG_arg_fail(2)) SWIG_fail
;
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 (arg1
)->SetMin(arg2
);
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15233 Py_INCREF(Py_None
); resultobj
= Py_None
;
15240 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxSlider
*arg1
= (wxSlider
*) 0 ;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self",(char *) "maxValue", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15254 arg2
= (int)(SWIG_As_int(obj1
));
15255 if (SWIG_arg_fail(2)) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 (arg1
)->SetMax(arg2
);
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 Py_INCREF(Py_None
); resultobj
= Py_None
;
15271 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxSlider
*arg1
= (wxSlider
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self",(char *) "lineSize", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15283 if (SWIG_arg_fail(1)) SWIG_fail
;
15285 arg2
= (int)(SWIG_As_int(obj1
));
15286 if (SWIG_arg_fail(2)) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 (arg1
)->SetLineSize(arg2
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 Py_INCREF(Py_None
); resultobj
= Py_None
;
15302 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxSlider
*arg1
= (wxSlider
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self",(char *) "pageSize", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15314 if (SWIG_arg_fail(1)) SWIG_fail
;
15316 arg2
= (int)(SWIG_As_int(obj1
));
15317 if (SWIG_arg_fail(2)) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 (arg1
)->SetPageSize(arg2
);
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 Py_INCREF(Py_None
); resultobj
= Py_None
;
15333 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxSlider
*arg1
= (wxSlider
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15344 if (SWIG_arg_fail(1)) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_From_int((int)(result
));
15361 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxSlider
*arg1
= (wxSlider
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15372 if (SWIG_arg_fail(1)) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_From_int((int)(result
));
15389 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 wxSlider
*arg1
= (wxSlider
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 PyObject
* obj1
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self",(char *) "lenPixels", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15401 if (SWIG_arg_fail(1)) SWIG_fail
;
15403 arg2
= (int)(SWIG_As_int(obj1
));
15404 if (SWIG_arg_fail(2)) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 (arg1
)->SetThumbLength(arg2
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 Py_INCREF(Py_None
); resultobj
= Py_None
;
15420 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxSlider
*arg1
= (wxSlider
*) 0 ;
15424 PyObject
* obj0
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail
;
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15436 wxPyEndAllowThreads(__tstate
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_From_int((int)(result
));
15448 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxSlider
*arg1
= (wxSlider
*) 0 ;
15452 int arg3
= (int) 1 ;
15453 PyObject
* obj0
= 0 ;
15454 PyObject
* obj1
= 0 ;
15455 PyObject
* obj2
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "n",(char *) "pos", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail
;
15464 arg2
= (int)(SWIG_As_int(obj1
));
15465 if (SWIG_arg_fail(2)) SWIG_fail
;
15469 arg3
= (int)(SWIG_As_int(obj2
));
15470 if (SWIG_arg_fail(3)) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 (arg1
)->SetTickFreq(arg2
,arg3
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 Py_INCREF(Py_None
); resultobj
= Py_None
;
15487 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxSlider
*arg1
= (wxSlider
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15498 if (SWIG_arg_fail(1)) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= SWIG_From_int((int)(result
));
15515 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxSlider
*arg1
= (wxSlider
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15525 if (SWIG_arg_fail(1)) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 (arg1
)->ClearTicks();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 Py_INCREF(Py_None
); resultobj
= Py_None
;
15540 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxSlider
*arg1
= (wxSlider
*) 0 ;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self",(char *) "tickPos", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15552 if (SWIG_arg_fail(1)) SWIG_fail
;
15554 arg2
= (int)(SWIG_As_int(obj1
));
15555 if (SWIG_arg_fail(2)) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->SetTick(arg2
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxSlider
*arg1
= (wxSlider
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15581 if (SWIG_arg_fail(1)) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 (arg1
)->ClearSel();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 Py_INCREF(Py_None
); resultobj
= Py_None
;
15596 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxSlider
*arg1
= (wxSlider
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15607 if (SWIG_arg_fail(1)) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= SWIG_From_int((int)(result
));
15624 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxSlider
*arg1
= (wxSlider
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15635 if (SWIG_arg_fail(1)) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= SWIG_From_int((int)(result
));
15652 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxSlider
*arg1
= (wxSlider
*) 0 ;
15657 PyObject
* obj0
= 0 ;
15658 PyObject
* obj1
= 0 ;
15659 PyObject
* obj2
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self",(char *) "min",(char *) "max", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15666 if (SWIG_arg_fail(1)) SWIG_fail
;
15668 arg2
= (int)(SWIG_As_int(obj1
));
15669 if (SWIG_arg_fail(2)) SWIG_fail
;
15672 arg3
= (int)(SWIG_As_int(obj2
));
15673 if (SWIG_arg_fail(3)) SWIG_fail
;
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 (arg1
)->SetSelection(arg2
,arg3
);
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15682 Py_INCREF(Py_None
); resultobj
= Py_None
;
15689 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15692 wxVisualAttributes result
;
15693 PyObject
* obj0
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "variant", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15701 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15702 if (SWIG_arg_fail(1)) SWIG_fail
;
15706 if (!wxPyCheckForApp()) SWIG_fail
;
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15714 wxVisualAttributes
* resultptr
;
15715 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15724 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15727 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15729 return Py_BuildValue((char *)"");
15731 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15732 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15737 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15742 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15744 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15751 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxWindow
*arg1
= (wxWindow
*) 0 ;
15754 int arg2
= (int) -1 ;
15755 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15756 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15761 long arg6
= (long) 0 ;
15762 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15763 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15764 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15766 wxToggleButton
*result
;
15767 bool temp3
= false ;
15770 bool temp8
= false ;
15771 PyObject
* obj0
= 0 ;
15772 PyObject
* obj1
= 0 ;
15773 PyObject
* obj2
= 0 ;
15774 PyObject
* obj3
= 0 ;
15775 PyObject
* obj4
= 0 ;
15776 PyObject
* obj5
= 0 ;
15777 PyObject
* obj6
= 0 ;
15778 PyObject
* obj7
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15785 if (SWIG_arg_fail(1)) SWIG_fail
;
15788 arg2
= (int)(SWIG_As_int(obj1
));
15789 if (SWIG_arg_fail(2)) SWIG_fail
;
15794 arg3
= wxString_in_helper(obj2
);
15795 if (arg3
== NULL
) SWIG_fail
;
15802 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15808 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15813 arg6
= (long)(SWIG_As_long(obj5
));
15814 if (SWIG_arg_fail(6)) SWIG_fail
;
15819 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15820 if (SWIG_arg_fail(7)) SWIG_fail
;
15821 if (arg7
== NULL
) {
15822 SWIG_null_ref("wxValidator");
15824 if (SWIG_arg_fail(7)) SWIG_fail
;
15829 arg8
= wxString_in_helper(obj7
);
15830 if (arg8
== NULL
) SWIG_fail
;
15835 if (!wxPyCheckForApp()) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15865 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxToggleButton
*result
;
15868 char *kwnames
[] = {
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15874 if (!wxPyCheckForApp()) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (wxToggleButton
*)new wxToggleButton();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15888 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15891 wxWindow
*arg2
= (wxWindow
*) 0 ;
15892 int arg3
= (int) -1 ;
15893 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15894 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15895 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15896 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15897 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15898 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15899 long arg7
= (long) 0 ;
15900 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15901 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15902 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15903 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15905 bool temp4
= false ;
15908 bool temp9
= false ;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 PyObject
* obj2
= 0 ;
15912 PyObject
* obj3
= 0 ;
15913 PyObject
* obj4
= 0 ;
15914 PyObject
* obj5
= 0 ;
15915 PyObject
* obj6
= 0 ;
15916 PyObject
* obj7
= 0 ;
15917 PyObject
* obj8
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15924 if (SWIG_arg_fail(1)) SWIG_fail
;
15925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15926 if (SWIG_arg_fail(2)) SWIG_fail
;
15929 arg3
= (int)(SWIG_As_int(obj2
));
15930 if (SWIG_arg_fail(3)) SWIG_fail
;
15935 arg4
= wxString_in_helper(obj3
);
15936 if (arg4
== NULL
) SWIG_fail
;
15943 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15949 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15954 arg7
= (long)(SWIG_As_long(obj6
));
15955 if (SWIG_arg_fail(7)) SWIG_fail
;
15960 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15961 if (SWIG_arg_fail(8)) SWIG_fail
;
15962 if (arg8
== NULL
) {
15963 SWIG_null_ref("wxValidator");
15965 if (SWIG_arg_fail(8)) SWIG_fail
;
15970 arg9
= wxString_in_helper(obj8
);
15971 if (arg9
== NULL
) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16007 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 PyObject
* obj1
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self",(char *) "value", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16019 if (SWIG_arg_fail(1)) SWIG_fail
;
16021 arg2
= (bool)(SWIG_As_bool(obj1
));
16022 if (SWIG_arg_fail(2)) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 (arg1
)->SetValue(arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 Py_INCREF(Py_None
); resultobj
= Py_None
;
16038 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16049 if (SWIG_arg_fail(1)) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16066 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16069 wxString
*arg2
= 0 ;
16070 bool temp2
= false ;
16071 PyObject
* obj0
= 0 ;
16072 PyObject
* obj1
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self",(char *) "label", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16079 if (SWIG_arg_fail(1)) SWIG_fail
;
16081 arg2
= wxString_in_helper(obj1
);
16082 if (arg2
== NULL
) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 (arg1
)->SetLabel((wxString
const &)*arg2
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 Py_INCREF(Py_None
); resultobj
= Py_None
;
16107 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16110 wxVisualAttributes result
;
16111 PyObject
* obj0
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "variant", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16119 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16120 if (SWIG_arg_fail(1)) SWIG_fail
;
16124 if (!wxPyCheckForApp()) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 wxVisualAttributes
* resultptr
;
16133 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16142 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16145 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16147 return Py_BuildValue((char *)"");
16149 static int _wrap_NotebookNameStr_set(PyObject
*) {
16150 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16155 static PyObject
*_wrap_NotebookNameStr_get(void) {
16160 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16162 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16169 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16180 if (SWIG_arg_fail(1)) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16197 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 PyObject
* obj1
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self",(char *) "n", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16210 if (SWIG_arg_fail(1)) SWIG_fail
;
16212 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16213 if (SWIG_arg_fail(2)) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= wxPyMake_wxObject(result
, 0);
16231 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 char *kwnames
[] = {
16237 (char *) "self", NULL
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16242 if (SWIG_arg_fail(1)) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= wxPyMake_wxObject(result
, 0);
16259 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16263 PyObject
* obj0
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16270 if (SWIG_arg_fail(1)) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= SWIG_From_int((int)(result
));
16287 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16291 wxString
*arg3
= 0 ;
16293 bool temp3
= false ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 char *kwnames
[] = {
16298 (char *) "self",(char *) "n",(char *) "strText", NULL
16301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16303 if (SWIG_arg_fail(1)) SWIG_fail
;
16305 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16306 if (SWIG_arg_fail(2)) SWIG_fail
;
16309 arg3
= wxString_in_helper(obj2
);
16310 if (arg3
== NULL
) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16337 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16342 PyObject
* obj0
= 0 ;
16343 PyObject
* obj1
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self",(char *) "n", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16350 if (SWIG_arg_fail(1)) SWIG_fail
;
16352 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16353 if (SWIG_arg_fail(2)) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16375 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16378 wxImageList
*arg2
= (wxImageList
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 PyObject
* obj1
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self",(char *) "imageList", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16387 if (SWIG_arg_fail(1)) SWIG_fail
;
16388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16389 if (SWIG_arg_fail(2)) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 (arg1
)->SetImageList(arg2
);
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 Py_INCREF(Py_None
); resultobj
= Py_None
;
16404 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16407 wxImageList
*arg2
= (wxImageList
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 PyObject
* obj1
= 0 ;
16410 char *kwnames
[] = {
16411 (char *) "self",(char *) "imageList", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16416 if (SWIG_arg_fail(1)) SWIG_fail
;
16417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16418 if (SWIG_arg_fail(2)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 (arg1
)->AssignImageList(arg2
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 Py_INCREF(Py_None
); resultobj
= Py_None
;
16433 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16436 wxImageList
*result
;
16437 PyObject
* obj0
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16444 if (SWIG_arg_fail(1)) SWIG_fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16453 resultobj
= wxPyMake_wxObject(result
, 0);
16461 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
;
16463 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "n", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16474 if (SWIG_arg_fail(1)) SWIG_fail
;
16476 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16477 if (SWIG_arg_fail(2)) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_From_int((int)(result
));
16495 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 PyObject
* obj1
= 0 ;
16503 PyObject
* obj2
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self",(char *) "n",(char *) "imageId", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16510 if (SWIG_arg_fail(1)) SWIG_fail
;
16512 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16513 if (SWIG_arg_fail(2)) SWIG_fail
;
16516 arg3
= (int)(SWIG_As_int(obj2
));
16517 if (SWIG_arg_fail(3)) SWIG_fail
;
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16535 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 PyObject
* obj1
= 0 ;
16542 char *kwnames
[] = {
16543 (char *) "self",(char *) "size", NULL
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16548 if (SWIG_arg_fail(1)) SWIG_fail
;
16551 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 Py_INCREF(Py_None
); resultobj
= Py_None
;
16567 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "sizePage", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16581 if (SWIG_arg_fail(1)) SWIG_fail
;
16584 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16594 wxSize
* resultptr
;
16595 resultptr
= new wxSize((wxSize
&)(result
));
16596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16604 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 PyObject
* obj1
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self",(char *) "n", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail
;
16619 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16620 if (SWIG_arg_fail(2)) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (bool)(arg1
)->DeletePage(arg2
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16638 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16639 PyObject
*resultobj
;
16640 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16643 PyObject
* obj0
= 0 ;
16644 PyObject
* obj1
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self",(char *) "n", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16651 if (SWIG_arg_fail(1)) SWIG_fail
;
16653 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16654 if (SWIG_arg_fail(2)) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 result
= (bool)(arg1
)->RemovePage(arg2
);
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16672 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (bool)(arg1
)->DeleteAllPages();
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16700 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16703 wxWindow
*arg2
= (wxWindow
*) 0 ;
16704 wxString
*arg3
= 0 ;
16705 bool arg4
= (bool) false ;
16706 int arg5
= (int) -1 ;
16708 bool temp3
= false ;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 PyObject
* obj2
= 0 ;
16712 PyObject
* obj3
= 0 ;
16713 PyObject
* obj4
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16720 if (SWIG_arg_fail(1)) SWIG_fail
;
16721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16722 if (SWIG_arg_fail(2)) SWIG_fail
;
16724 arg3
= wxString_in_helper(obj2
);
16725 if (arg3
== NULL
) SWIG_fail
;
16730 arg4
= (bool)(SWIG_As_bool(obj3
));
16731 if (SWIG_arg_fail(4)) SWIG_fail
;
16736 arg5
= (int)(SWIG_As_int(obj4
));
16737 if (SWIG_arg_fail(5)) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16764 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16768 wxWindow
*arg3
= (wxWindow
*) 0 ;
16769 wxString
*arg4
= 0 ;
16770 bool arg5
= (bool) false ;
16771 int arg6
= (int) -1 ;
16773 bool temp4
= false ;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 PyObject
* obj2
= 0 ;
16777 PyObject
* obj3
= 0 ;
16778 PyObject
* obj4
= 0 ;
16779 PyObject
* obj5
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail
;
16788 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16789 if (SWIG_arg_fail(2)) SWIG_fail
;
16791 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16792 if (SWIG_arg_fail(3)) SWIG_fail
;
16794 arg4
= wxString_in_helper(obj3
);
16795 if (arg4
== NULL
) SWIG_fail
;
16800 arg5
= (bool)(SWIG_As_bool(obj4
));
16801 if (SWIG_arg_fail(5)) SWIG_fail
;
16806 arg6
= (int)(SWIG_As_int(obj5
));
16807 if (SWIG_arg_fail(6)) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16834 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self",(char *) "n", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16847 if (SWIG_arg_fail(1)) SWIG_fail
;
16849 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16850 if (SWIG_arg_fail(2)) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (int)(arg1
)->SetSelection(arg2
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_From_int((int)(result
));
16868 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16870 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16871 bool arg2
= (bool) true ;
16872 PyObject
* obj0
= 0 ;
16873 PyObject
* obj1
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "self",(char *) "forward", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16880 if (SWIG_arg_fail(1)) SWIG_fail
;
16883 arg2
= (bool)(SWIG_As_bool(obj1
));
16884 if (SWIG_arg_fail(2)) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 (arg1
)->AdvanceSelection(arg2
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 Py_INCREF(Py_None
); resultobj
= Py_None
;
16901 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16904 wxVisualAttributes result
;
16905 PyObject
* obj0
= 0 ;
16906 char *kwnames
[] = {
16907 (char *) "variant", NULL
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16913 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16914 if (SWIG_arg_fail(1)) SWIG_fail
;
16918 if (!wxPyCheckForApp()) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 wxVisualAttributes
* resultptr
;
16927 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16936 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16939 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16941 return Py_BuildValue((char *)"");
16943 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16946 int arg2
= (int) 0 ;
16947 int arg3
= (int) -1 ;
16948 int arg4
= (int) -1 ;
16949 wxBookCtrlBaseEvent
*result
;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 PyObject
* obj2
= 0 ;
16953 PyObject
* obj3
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16961 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16962 if (SWIG_arg_fail(1)) SWIG_fail
;
16967 arg2
= (int)(SWIG_As_int(obj1
));
16968 if (SWIG_arg_fail(2)) SWIG_fail
;
16973 arg3
= (int)(SWIG_As_int(obj2
));
16974 if (SWIG_arg_fail(3)) SWIG_fail
;
16979 arg4
= (int)(SWIG_As_int(obj3
));
16980 if (SWIG_arg_fail(4)) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16997 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
16999 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17001 PyObject
* obj0
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "self", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17008 if (SWIG_arg_fail(1)) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= SWIG_From_int((int)(result
));
17025 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
;
17027 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17029 PyObject
* obj0
= 0 ;
17030 PyObject
* obj1
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self",(char *) "nSel", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17037 if (SWIG_arg_fail(1)) SWIG_fail
;
17039 arg2
= (int)(SWIG_As_int(obj1
));
17040 if (SWIG_arg_fail(2)) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 (arg1
)->SetSelection(arg2
);
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17049 Py_INCREF(Py_None
); resultobj
= Py_None
;
17056 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
;
17058 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17060 PyObject
* obj0
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17076 resultobj
= SWIG_From_int((int)(result
));
17084 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self",(char *) "nOldSel", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17096 if (SWIG_arg_fail(1)) SWIG_fail
;
17098 arg2
= (int)(SWIG_As_int(obj1
));
17099 if (SWIG_arg_fail(2)) SWIG_fail
;
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 (arg1
)->SetOldSelection(arg2
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 Py_INCREF(Py_None
); resultobj
= Py_None
;
17115 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17118 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17120 return Py_BuildValue((char *)"");
17122 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxWindow
*arg1
= (wxWindow
*) 0 ;
17125 int arg2
= (int) -1 ;
17126 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17127 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17128 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17129 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17130 long arg5
= (long) 0 ;
17131 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17132 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17133 wxNotebook
*result
;
17136 bool temp6
= false ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 PyObject
* obj2
= 0 ;
17140 PyObject
* obj3
= 0 ;
17141 PyObject
* obj4
= 0 ;
17142 PyObject
* obj5
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17149 if (SWIG_arg_fail(1)) SWIG_fail
;
17152 arg2
= (int)(SWIG_As_int(obj1
));
17153 if (SWIG_arg_fail(2)) SWIG_fail
;
17159 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17165 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17170 arg5
= (long)(SWIG_As_long(obj4
));
17171 if (SWIG_arg_fail(5)) SWIG_fail
;
17176 arg6
= wxString_in_helper(obj5
);
17177 if (arg6
== NULL
) SWIG_fail
;
17182 if (!wxPyCheckForApp()) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17204 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17206 wxNotebook
*result
;
17207 char *kwnames
[] = {
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17213 if (!wxPyCheckForApp()) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (wxNotebook
*)new wxNotebook();
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17227 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17230 wxWindow
*arg2
= (wxWindow
*) 0 ;
17231 int arg3
= (int) -1 ;
17232 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17233 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17234 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17235 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17236 long arg6
= (long) 0 ;
17237 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17238 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17242 bool temp7
= false ;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 PyObject
* obj2
= 0 ;
17246 PyObject
* obj3
= 0 ;
17247 PyObject
* obj4
= 0 ;
17248 PyObject
* obj5
= 0 ;
17249 PyObject
* obj6
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17256 if (SWIG_arg_fail(1)) SWIG_fail
;
17257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17258 if (SWIG_arg_fail(2)) SWIG_fail
;
17261 arg3
= (int)(SWIG_As_int(obj2
));
17262 if (SWIG_arg_fail(3)) SWIG_fail
;
17268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17279 arg6
= (long)(SWIG_As_long(obj5
));
17280 if (SWIG_arg_fail(6)) SWIG_fail
;
17285 arg7
= wxString_in_helper(obj6
);
17286 if (arg7
== NULL
) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17314 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17318 PyObject
* obj0
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self", NULL
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17325 if (SWIG_arg_fail(1)) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= SWIG_From_int((int)(result
));
17342 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self",(char *) "padding", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17355 if (SWIG_arg_fail(1)) SWIG_fail
;
17358 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 Py_INCREF(Py_None
); resultobj
= Py_None
;
17374 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self",(char *) "sz", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17387 if (SWIG_arg_fail(1)) SWIG_fail
;
17390 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 Py_INCREF(Py_None
); resultobj
= Py_None
;
17406 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17409 wxPoint
*arg2
= 0 ;
17410 long *arg3
= (long *) 0 ;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self",(char *) "pt", NULL
17421 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17424 if (SWIG_arg_fail(1)) SWIG_fail
;
17427 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= SWIG_From_int((int)(result
));
17439 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17440 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17447 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self",(char *) "sizePage", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17461 if (SWIG_arg_fail(1)) SWIG_fail
;
17464 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17474 wxSize
* resultptr
;
17475 resultptr
= new wxSize((wxSize
&)(result
));
17476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17484 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17495 if (SWIG_arg_fail(1)) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17504 wxColour
* resultptr
;
17505 resultptr
= new wxColour((wxColour
&)(result
));
17506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17514 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17517 wxVisualAttributes result
;
17518 PyObject
* obj0
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "variant", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17526 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17527 if (SWIG_arg_fail(1)) SWIG_fail
;
17531 if (!wxPyCheckForApp()) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17539 wxVisualAttributes
* resultptr
;
17540 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17549 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17554 return Py_BuildValue((char *)"");
17556 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17559 int arg2
= (int) 0 ;
17560 int arg3
= (int) -1 ;
17561 int arg4
= (int) -1 ;
17562 wxNotebookEvent
*result
;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 PyObject
* obj2
= 0 ;
17566 PyObject
* obj3
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17574 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17575 if (SWIG_arg_fail(1)) SWIG_fail
;
17580 arg2
= (int)(SWIG_As_int(obj1
));
17581 if (SWIG_arg_fail(2)) SWIG_fail
;
17586 arg3
= (int)(SWIG_As_int(obj2
));
17587 if (SWIG_arg_fail(3)) SWIG_fail
;
17592 arg4
= (int)(SWIG_As_int(obj3
));
17593 if (SWIG_arg_fail(4)) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17610 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17613 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17615 return Py_BuildValue((char *)"");
17617 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxWindow
*arg1
= (wxWindow
*) 0 ;
17620 int arg2
= (int) -1 ;
17621 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17622 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17623 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17624 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17625 long arg5
= (long) 0 ;
17626 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17627 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17628 wxListbook
*result
;
17631 bool temp6
= false ;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 PyObject
* obj2
= 0 ;
17635 PyObject
* obj3
= 0 ;
17636 PyObject
* obj4
= 0 ;
17637 PyObject
* obj5
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17644 if (SWIG_arg_fail(1)) SWIG_fail
;
17647 arg2
= (int)(SWIG_As_int(obj1
));
17648 if (SWIG_arg_fail(2)) SWIG_fail
;
17654 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17660 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17665 arg5
= (long)(SWIG_As_long(obj4
));
17666 if (SWIG_arg_fail(5)) SWIG_fail
;
17671 arg6
= wxString_in_helper(obj5
);
17672 if (arg6
== NULL
) SWIG_fail
;
17677 if (!wxPyCheckForApp()) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17699 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxListbook
*result
;
17702 char *kwnames
[] = {
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17708 if (!wxPyCheckForApp()) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (wxListbook
*)new wxListbook();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17722 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxListbook
*arg1
= (wxListbook
*) 0 ;
17725 wxWindow
*arg2
= (wxWindow
*) 0 ;
17726 int arg3
= (int) -1 ;
17727 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17728 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17729 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17730 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17731 long arg6
= (long) 0 ;
17732 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17733 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17737 bool temp7
= false ;
17738 PyObject
* obj0
= 0 ;
17739 PyObject
* obj1
= 0 ;
17740 PyObject
* obj2
= 0 ;
17741 PyObject
* obj3
= 0 ;
17742 PyObject
* obj4
= 0 ;
17743 PyObject
* obj5
= 0 ;
17744 PyObject
* obj6
= 0 ;
17745 char *kwnames
[] = {
17746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17751 if (SWIG_arg_fail(1)) SWIG_fail
;
17752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17753 if (SWIG_arg_fail(2)) SWIG_fail
;
17756 arg3
= (int)(SWIG_As_int(obj2
));
17757 if (SWIG_arg_fail(3)) SWIG_fail
;
17763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17774 arg6
= (long)(SWIG_As_long(obj5
));
17775 if (SWIG_arg_fail(6)) SWIG_fail
;
17780 arg7
= wxString_in_helper(obj6
);
17781 if (arg7
== NULL
) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17809 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxListbook
*arg1
= (wxListbook
*) 0 ;
17813 PyObject
* obj0
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17820 if (SWIG_arg_fail(1)) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17837 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxListbook
*arg1
= (wxListbook
*) 0 ;
17840 wxListView
*result
;
17841 PyObject
* obj0
= 0 ;
17842 char *kwnames
[] = {
17843 (char *) "self", NULL
17846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17848 if (SWIG_arg_fail(1)) SWIG_fail
;
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 result
= (wxListView
*)(arg1
)->GetListView();
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17863 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17866 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17868 return Py_BuildValue((char *)"");
17870 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17873 int arg2
= (int) 0 ;
17874 int arg3
= (int) -1 ;
17875 int arg4
= (int) -1 ;
17876 wxListbookEvent
*result
;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 PyObject
* obj2
= 0 ;
17880 PyObject
* obj3
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17888 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17889 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 arg2
= (int)(SWIG_As_int(obj1
));
17895 if (SWIG_arg_fail(2)) SWIG_fail
;
17900 arg3
= (int)(SWIG_As_int(obj2
));
17901 if (SWIG_arg_fail(3)) SWIG_fail
;
17906 arg4
= (int)(SWIG_As_int(obj3
));
17907 if (SWIG_arg_fail(4)) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17924 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17927 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17929 return Py_BuildValue((char *)"");
17931 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxWindow
*arg1
= (wxWindow
*) 0 ;
17935 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17936 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17937 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17938 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17939 long arg5
= (long) 0 ;
17940 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17941 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17942 wxChoicebook
*result
;
17945 bool temp6
= false ;
17946 PyObject
* obj0
= 0 ;
17947 PyObject
* obj1
= 0 ;
17948 PyObject
* obj2
= 0 ;
17949 PyObject
* obj3
= 0 ;
17950 PyObject
* obj4
= 0 ;
17951 PyObject
* obj5
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17958 if (SWIG_arg_fail(1)) SWIG_fail
;
17960 arg2
= (int)(SWIG_As_int(obj1
));
17961 if (SWIG_arg_fail(2)) SWIG_fail
;
17966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17972 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17977 arg5
= (long)(SWIG_As_long(obj4
));
17978 if (SWIG_arg_fail(5)) SWIG_fail
;
17983 arg6
= wxString_in_helper(obj5
);
17984 if (arg6
== NULL
) SWIG_fail
;
17989 if (!wxPyCheckForApp()) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18011 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
;
18013 wxChoicebook
*result
;
18014 char *kwnames
[] = {
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18020 if (!wxPyCheckForApp()) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 result
= (wxChoicebook
*)new wxChoicebook();
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18034 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18037 wxWindow
*arg2
= (wxWindow
*) 0 ;
18039 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18040 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18041 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18042 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18043 long arg6
= (long) 0 ;
18044 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18045 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18049 bool temp7
= false ;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 PyObject
* obj2
= 0 ;
18053 PyObject
* obj3
= 0 ;
18054 PyObject
* obj4
= 0 ;
18055 PyObject
* obj5
= 0 ;
18056 PyObject
* obj6
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail
;
18064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18065 if (SWIG_arg_fail(2)) SWIG_fail
;
18067 arg3
= (int)(SWIG_As_int(obj2
));
18068 if (SWIG_arg_fail(3)) SWIG_fail
;
18073 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18079 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18084 arg6
= (long)(SWIG_As_long(obj5
));
18085 if (SWIG_arg_fail(6)) SWIG_fail
;
18090 arg7
= wxString_in_helper(obj6
);
18091 if (arg7
== NULL
) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18119 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18130 if (SWIG_arg_fail(1)) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18147 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (bool)(arg1
)->DeleteAllPages();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18175 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18178 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18180 return Py_BuildValue((char *)"");
18182 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18185 int arg2
= (int) 0 ;
18186 int arg3
= (int) -1 ;
18187 int arg4
= (int) -1 ;
18188 wxChoicebookEvent
*result
;
18189 PyObject
* obj0
= 0 ;
18190 PyObject
* obj1
= 0 ;
18191 PyObject
* obj2
= 0 ;
18192 PyObject
* obj3
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18200 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18201 if (SWIG_arg_fail(1)) SWIG_fail
;
18206 arg2
= (int)(SWIG_As_int(obj1
));
18207 if (SWIG_arg_fail(2)) SWIG_fail
;
18212 arg3
= (int)(SWIG_As_int(obj2
));
18213 if (SWIG_arg_fail(3)) SWIG_fail
;
18218 arg4
= (int)(SWIG_As_int(obj3
));
18219 if (SWIG_arg_fail(4)) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18236 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18239 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18241 return Py_BuildValue((char *)"");
18243 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18245 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18246 wxBookCtrlSizer
*result
;
18247 PyObject
* obj0
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "nb", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18254 if (SWIG_arg_fail(1)) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18269 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18279 if (SWIG_arg_fail(1)) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 (arg1
)->RecalcSizes();
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 Py_INCREF(Py_None
); resultobj
= Py_None
;
18294 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18298 PyObject
* obj0
= 0 ;
18299 char *kwnames
[] = {
18300 (char *) "self", NULL
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18305 if (SWIG_arg_fail(1)) SWIG_fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (arg1
)->CalcMin();
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18314 wxSize
* resultptr
;
18315 resultptr
= new wxSize((wxSize
&)(result
));
18316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18324 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18327 wxBookCtrlBase
*result
;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18335 if (SWIG_arg_fail(1)) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18350 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18353 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18355 return Py_BuildValue((char *)"");
18357 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18360 wxNotebookSizer
*result
;
18361 PyObject
* obj0
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "nb", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18368 if (SWIG_arg_fail(1)) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18383 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18386 PyObject
* obj0
= 0 ;
18387 char *kwnames
[] = {
18388 (char *) "self", NULL
18391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18393 if (SWIG_arg_fail(1)) SWIG_fail
;
18395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 (arg1
)->RecalcSizes();
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 Py_INCREF(Py_None
); resultobj
= Py_None
;
18408 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
;
18410 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18412 PyObject
* obj0
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18419 if (SWIG_arg_fail(1)) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (arg1
)->CalcMin();
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 wxSize
* resultptr
;
18429 resultptr
= new wxSize((wxSize
&)(result
));
18430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18438 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18441 wxNotebook
*result
;
18442 PyObject
* obj0
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18449 if (SWIG_arg_fail(1)) SWIG_fail
;
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= wxPyMake_wxObject(result
, 0);
18466 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18469 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18471 return Py_BuildValue((char *)"");
18473 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18484 if (SWIG_arg_fail(1)) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= (int)(arg1
)->GetId();
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= SWIG_From_int((int)(result
));
18501 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18512 if (SWIG_arg_fail(1)) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (wxControl
*)(arg1
)->GetControl();
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= wxPyMake_wxObject(result
, 0);
18529 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18532 wxToolBarBase
*result
;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18540 if (SWIG_arg_fail(1)) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18549 resultobj
= wxPyMake_wxObject(result
, 0);
18557 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18568 if (SWIG_arg_fail(1)) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (int)(arg1
)->IsButton();
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_From_int((int)(result
));
18585 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18596 if (SWIG_arg_fail(1)) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (int)(arg1
)->IsControl();
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_From_int((int)(result
));
18613 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18617 PyObject
* obj0
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18624 if (SWIG_arg_fail(1)) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (int)(arg1
)->IsSeparator();
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_From_int((int)(result
));
18641 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18652 if (SWIG_arg_fail(1)) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (int)(arg1
)->GetStyle();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_From_int((int)(result
));
18669 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18680 if (SWIG_arg_fail(1)) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (wxItemKind
)(arg1
)->GetKind();
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= SWIG_From_int((result
));
18695 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18696 PyObject
*resultobj
;
18697 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18699 PyObject
* obj0
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18706 if (SWIG_arg_fail(1)) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (bool)(arg1
)->IsEnabled();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18723 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18727 PyObject
* obj0
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "self", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18734 if (SWIG_arg_fail(1)) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (bool)(arg1
)->IsToggled();
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18751 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
;
18753 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18762 if (SWIG_arg_fail(1)) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 result
= (bool)(arg1
)->CanBeToggled();
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18779 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18790 if (SWIG_arg_fail(1)) SWIG_fail
;
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18795 result
= (wxBitmap
*) &_result_ref
;
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18802 wxBitmap
* resultptr
= new wxBitmap(*result
);
18803 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18811 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18822 if (SWIG_arg_fail(1)) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18827 result
= (wxBitmap
*) &_result_ref
;
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18834 wxBitmap
* resultptr
= new wxBitmap(*result
);
18835 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18843 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18854 if (SWIG_arg_fail(1)) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (arg1
)->GetBitmap();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18863 wxBitmap
* resultptr
;
18864 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18873 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18884 if (SWIG_arg_fail(1)) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= (arg1
)->GetLabel();
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18905 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18909 PyObject
* obj0
= 0 ;
18910 char *kwnames
[] = {
18911 (char *) "self", NULL
18914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18916 if (SWIG_arg_fail(1)) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= (arg1
)->GetShortHelp();
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18937 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
;
18939 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18941 PyObject
* obj0
= 0 ;
18942 char *kwnames
[] = {
18943 (char *) "self", NULL
18946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18948 if (SWIG_arg_fail(1)) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 result
= (arg1
)->GetLongHelp();
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18969 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "self",(char *) "enable", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18982 if (SWIG_arg_fail(1)) SWIG_fail
;
18984 arg2
= (bool)(SWIG_As_bool(obj1
));
18985 if (SWIG_arg_fail(2)) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 result
= (bool)(arg1
)->Enable(arg2
);
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19003 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19005 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 char *kwnames
[] = {
19008 (char *) "self", NULL
19011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
19012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19013 if (SWIG_arg_fail(1)) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 Py_INCREF(Py_None
); resultobj
= Py_None
;
19028 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19033 PyObject
* obj0
= 0 ;
19034 PyObject
* obj1
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self",(char *) "toggle", NULL
19039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19041 if (SWIG_arg_fail(1)) SWIG_fail
;
19043 arg2
= (bool)(SWIG_As_bool(obj1
));
19044 if (SWIG_arg_fail(2)) SWIG_fail
;
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 result
= (bool)(arg1
)->SetToggle(arg2
);
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19062 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
;
19064 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19065 wxString
*arg2
= 0 ;
19067 bool temp2
= false ;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self",(char *) "help", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19076 if (SWIG_arg_fail(1)) SWIG_fail
;
19078 arg2
= wxString_in_helper(obj1
);
19079 if (arg2
== NULL
) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19106 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19109 wxString
*arg2
= 0 ;
19111 bool temp2
= false ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "help", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19120 if (SWIG_arg_fail(1)) SWIG_fail
;
19122 arg2
= wxString_in_helper(obj1
);
19123 if (arg2
== NULL
) SWIG_fail
;
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19150 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19153 wxBitmap
*arg2
= 0 ;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj1
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self",(char *) "bmp", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19162 if (SWIG_arg_fail(1)) SWIG_fail
;
19164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19165 if (SWIG_arg_fail(2)) SWIG_fail
;
19166 if (arg2
== NULL
) {
19167 SWIG_null_ref("wxBitmap");
19169 if (SWIG_arg_fail(2)) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 Py_INCREF(Py_None
); resultobj
= Py_None
;
19185 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19188 wxBitmap
*arg2
= 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "bmp", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19200 if (SWIG_arg_fail(2)) SWIG_fail
;
19201 if (arg2
== NULL
) {
19202 SWIG_null_ref("wxBitmap");
19204 if (SWIG_arg_fail(2)) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 Py_INCREF(Py_None
); resultobj
= Py_None
;
19220 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
;
19222 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19223 wxString
*arg2
= 0 ;
19224 bool temp2
= false ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self",(char *) "label", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19233 if (SWIG_arg_fail(1)) SWIG_fail
;
19235 arg2
= wxString_in_helper(obj1
);
19236 if (arg2
== NULL
) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 (arg1
)->SetLabel((wxString
const &)*arg2
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 Py_INCREF(Py_None
); resultobj
= Py_None
;
19261 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
;
19263 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19271 if (SWIG_arg_fail(1)) SWIG_fail
;
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 Py_INCREF(Py_None
); resultobj
= Py_None
;
19286 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19289 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self",(char *) "tbar", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19298 if (SWIG_arg_fail(1)) SWIG_fail
;
19299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19300 if (SWIG_arg_fail(2)) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->Attach(arg2
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19315 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19319 PyObject
* obj0
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19326 if (SWIG_arg_fail(1)) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= result
;
19341 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19343 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19344 PyObject
*arg2
= (PyObject
*) 0 ;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj1
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self",(char *) "clientData", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19353 if (SWIG_arg_fail(1)) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 Py_INCREF(Py_None
); resultobj
= Py_None
;
19369 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19372 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19374 return Py_BuildValue((char *)"");
19376 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
;
19378 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19380 wxString
*arg3
= 0 ;
19381 wxBitmap
*arg4
= 0 ;
19382 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19383 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19384 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19385 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19386 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19387 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19388 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19389 PyObject
*arg9
= (PyObject
*) NULL
;
19390 wxToolBarToolBase
*result
;
19391 bool temp3
= false ;
19392 bool temp7
= false ;
19393 bool temp8
= false ;
19394 PyObject
* obj0
= 0 ;
19395 PyObject
* obj1
= 0 ;
19396 PyObject
* obj2
= 0 ;
19397 PyObject
* obj3
= 0 ;
19398 PyObject
* obj4
= 0 ;
19399 PyObject
* obj5
= 0 ;
19400 PyObject
* obj6
= 0 ;
19401 PyObject
* obj7
= 0 ;
19402 PyObject
* obj8
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19409 if (SWIG_arg_fail(1)) SWIG_fail
;
19411 arg2
= (int)(SWIG_As_int(obj1
));
19412 if (SWIG_arg_fail(2)) SWIG_fail
;
19415 arg3
= wxString_in_helper(obj2
);
19416 if (arg3
== NULL
) SWIG_fail
;
19420 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19421 if (SWIG_arg_fail(4)) SWIG_fail
;
19422 if (arg4
== NULL
) {
19423 SWIG_null_ref("wxBitmap");
19425 if (SWIG_arg_fail(4)) SWIG_fail
;
19429 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19430 if (SWIG_arg_fail(5)) SWIG_fail
;
19431 if (arg5
== NULL
) {
19432 SWIG_null_ref("wxBitmap");
19434 if (SWIG_arg_fail(5)) SWIG_fail
;
19439 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19440 if (SWIG_arg_fail(6)) SWIG_fail
;
19445 arg7
= wxString_in_helper(obj6
);
19446 if (arg7
== NULL
) SWIG_fail
;
19452 arg8
= wxString_in_helper(obj7
);
19453 if (arg8
== NULL
) SWIG_fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= wxPyMake_wxObject(result
, 0);
19500 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19505 wxString
*arg4
= 0 ;
19506 wxBitmap
*arg5
= 0 ;
19507 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19508 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19509 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19510 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19511 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19512 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19513 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19514 PyObject
*arg10
= (PyObject
*) NULL
;
19515 wxToolBarToolBase
*result
;
19516 bool temp4
= false ;
19517 bool temp8
= false ;
19518 bool temp9
= false ;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 PyObject
* obj2
= 0 ;
19522 PyObject
* obj3
= 0 ;
19523 PyObject
* obj4
= 0 ;
19524 PyObject
* obj5
= 0 ;
19525 PyObject
* obj6
= 0 ;
19526 PyObject
* obj7
= 0 ;
19527 PyObject
* obj8
= 0 ;
19528 PyObject
* obj9
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19535 if (SWIG_arg_fail(1)) SWIG_fail
;
19537 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19538 if (SWIG_arg_fail(2)) SWIG_fail
;
19541 arg3
= (int)(SWIG_As_int(obj2
));
19542 if (SWIG_arg_fail(3)) SWIG_fail
;
19545 arg4
= wxString_in_helper(obj3
);
19546 if (arg4
== NULL
) SWIG_fail
;
19550 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19551 if (SWIG_arg_fail(5)) SWIG_fail
;
19552 if (arg5
== NULL
) {
19553 SWIG_null_ref("wxBitmap");
19555 if (SWIG_arg_fail(5)) SWIG_fail
;
19559 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19560 if (SWIG_arg_fail(6)) SWIG_fail
;
19561 if (arg6
== NULL
) {
19562 SWIG_null_ref("wxBitmap");
19564 if (SWIG_arg_fail(6)) SWIG_fail
;
19569 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19570 if (SWIG_arg_fail(7)) SWIG_fail
;
19575 arg8
= wxString_in_helper(obj7
);
19576 if (arg8
== NULL
) SWIG_fail
;
19582 arg9
= wxString_in_helper(obj8
);
19583 if (arg9
== NULL
) SWIG_fail
;
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 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
);
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= wxPyMake_wxObject(result
, 0);
19630 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19633 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19634 wxToolBarToolBase
*result
;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self",(char *) "tool", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail
;
19644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19645 if (SWIG_arg_fail(2)) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= wxPyMake_wxObject(result
, 0);
19662 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19666 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19667 wxToolBarToolBase
*result
;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 PyObject
* obj2
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self",(char *) "pos",(char *) "tool", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19677 if (SWIG_arg_fail(1)) SWIG_fail
;
19679 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19680 if (SWIG_arg_fail(2)) SWIG_fail
;
19682 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19683 if (SWIG_arg_fail(3)) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= wxPyMake_wxObject(result
, 0);
19700 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19703 wxControl
*arg2
= (wxControl
*) 0 ;
19704 wxToolBarToolBase
*result
;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 char *kwnames
[] = {
19708 (char *) "self",(char *) "control", NULL
19711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19713 if (SWIG_arg_fail(1)) SWIG_fail
;
19714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19715 if (SWIG_arg_fail(2)) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= wxPyMake_wxObject(result
, 0);
19732 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19736 wxControl
*arg3
= (wxControl
*) 0 ;
19737 wxToolBarToolBase
*result
;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 PyObject
* obj2
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "pos",(char *) "control", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19747 if (SWIG_arg_fail(1)) SWIG_fail
;
19749 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19750 if (SWIG_arg_fail(2)) SWIG_fail
;
19752 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19753 if (SWIG_arg_fail(3)) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19762 resultobj
= wxPyMake_wxObject(result
, 0);
19770 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19775 PyObject
* obj0
= 0 ;
19776 PyObject
* obj1
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self",(char *) "id", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19783 if (SWIG_arg_fail(1)) SWIG_fail
;
19785 arg2
= (int)(SWIG_As_int(obj1
));
19786 if (SWIG_arg_fail(2)) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= wxPyMake_wxObject(result
, 0);
19804 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
;
19806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19807 wxToolBarToolBase
*result
;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19815 if (SWIG_arg_fail(1)) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= wxPyMake_wxObject(result
, 0);
19832 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19836 wxToolBarToolBase
*result
;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self",(char *) "pos", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19845 if (SWIG_arg_fail(1)) SWIG_fail
;
19847 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19848 if (SWIG_arg_fail(2)) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= wxPyMake_wxObject(result
, 0);
19866 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
;
19868 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19870 wxToolBarToolBase
*result
;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 char *kwnames
[] = {
19874 (char *) "self",(char *) "id", NULL
19877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19879 if (SWIG_arg_fail(1)) SWIG_fail
;
19881 arg2
= (int)(SWIG_As_int(obj1
));
19882 if (SWIG_arg_fail(2)) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= wxPyMake_wxObject(result
, 0);
19900 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self",(char *) "pos", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail
;
19915 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19916 if (SWIG_arg_fail(2)) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19934 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self",(char *) "id", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19947 if (SWIG_arg_fail(1)) SWIG_fail
;
19949 arg2
= (int)(SWIG_As_int(obj1
));
19950 if (SWIG_arg_fail(2)) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)(arg1
)->DeleteTool(arg2
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19968 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19978 if (SWIG_arg_fail(1)) SWIG_fail
;
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 (arg1
)->ClearTools();
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 Py_INCREF(Py_None
); resultobj
= Py_None
;
19993 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19997 PyObject
* obj0
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
20003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20004 if (SWIG_arg_fail(1)) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (bool)(arg1
)->Realize();
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20021 static PyObject
*_wrap_ToolBarBase_EnableTool(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 *) "enable", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",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
)->EnableTool(arg2
,arg3
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 Py_INCREF(Py_None
); resultobj
= Py_None
;
20058 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 PyObject
* obj2
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "id",(char *) "toggle", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20072 if (SWIG_arg_fail(1)) SWIG_fail
;
20074 arg2
= (int)(SWIG_As_int(obj1
));
20075 if (SWIG_arg_fail(2)) SWIG_fail
;
20078 arg3
= (bool)(SWIG_As_bool(obj2
));
20079 if (SWIG_arg_fail(3)) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 (arg1
)->ToggleTool(arg2
,arg3
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 Py_INCREF(Py_None
); resultobj
= Py_None
;
20095 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 PyObject
* obj2
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self",(char *) "id",(char *) "toggle", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20109 if (SWIG_arg_fail(1)) SWIG_fail
;
20111 arg2
= (int)(SWIG_As_int(obj1
));
20112 if (SWIG_arg_fail(2)) SWIG_fail
;
20115 arg3
= (bool)(SWIG_As_bool(obj2
));
20116 if (SWIG_arg_fail(3)) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 (arg1
)->SetToggle(arg2
,arg3
);
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 Py_INCREF(Py_None
); resultobj
= Py_None
;
20132 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20137 PyObject
* obj0
= 0 ;
20138 PyObject
* obj1
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self",(char *) "id", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20145 if (SWIG_arg_fail(1)) SWIG_fail
;
20147 arg2
= (int)(SWIG_As_int(obj1
));
20148 if (SWIG_arg_fail(2)) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 resultobj
= result
;
20164 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20168 PyObject
*arg3
= (PyObject
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 PyObject
* obj2
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self",(char *) "id",(char *) "clientData", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20178 if (SWIG_arg_fail(1)) SWIG_fail
;
20180 arg2
= (int)(SWIG_As_int(obj1
));
20181 if (SWIG_arg_fail(2)) SWIG_fail
;
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 Py_INCREF(Py_None
); resultobj
= Py_None
;
20198 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self",(char *) "id", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20211 if (SWIG_arg_fail(1)) SWIG_fail
;
20213 arg2
= (int)(SWIG_As_int(obj1
));
20214 if (SWIG_arg_fail(2)) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= SWIG_From_int((int)(result
));
20232 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "id", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail
;
20247 arg2
= (int)(SWIG_As_int(obj1
));
20248 if (SWIG_arg_fail(2)) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 result
= (bool)(arg1
)->GetToolState(arg2
);
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20266 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
;
20268 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20271 PyObject
* obj0
= 0 ;
20272 PyObject
* obj1
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self",(char *) "id", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20279 if (SWIG_arg_fail(1)) SWIG_fail
;
20281 arg2
= (int)(SWIG_As_int(obj1
));
20282 if (SWIG_arg_fail(2)) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20300 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
;
20302 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20304 wxString
*arg3
= 0 ;
20305 bool temp3
= false ;
20306 PyObject
* obj0
= 0 ;
20307 PyObject
* obj1
= 0 ;
20308 PyObject
* obj2
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self",(char *) "id",(char *) "helpString", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20315 if (SWIG_arg_fail(1)) SWIG_fail
;
20317 arg2
= (int)(SWIG_As_int(obj1
));
20318 if (SWIG_arg_fail(2)) SWIG_fail
;
20321 arg3
= wxString_in_helper(obj2
);
20322 if (arg3
== NULL
) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 Py_INCREF(Py_None
); resultobj
= Py_None
;
20347 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 PyObject
* obj1
= 0 ;
20354 char *kwnames
[] = {
20355 (char *) "self",(char *) "id", NULL
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20360 if (SWIG_arg_fail(1)) SWIG_fail
;
20362 arg2
= (int)(SWIG_As_int(obj1
));
20363 if (SWIG_arg_fail(2)) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (arg1
)->GetToolShortHelp(arg2
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20385 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20386 PyObject
*resultobj
;
20387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20389 wxString
*arg3
= 0 ;
20390 bool temp3
= false ;
20391 PyObject
* obj0
= 0 ;
20392 PyObject
* obj1
= 0 ;
20393 PyObject
* obj2
= 0 ;
20394 char *kwnames
[] = {
20395 (char *) "self",(char *) "id",(char *) "helpString", NULL
20398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20400 if (SWIG_arg_fail(1)) SWIG_fail
;
20402 arg2
= (int)(SWIG_As_int(obj1
));
20403 if (SWIG_arg_fail(2)) SWIG_fail
;
20406 arg3
= wxString_in_helper(obj2
);
20407 if (arg3
== NULL
) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 Py_INCREF(Py_None
); resultobj
= Py_None
;
20432 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self",(char *) "id", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail
;
20447 arg2
= (int)(SWIG_As_int(obj1
));
20448 if (SWIG_arg_fail(2)) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= (arg1
)->GetToolLongHelp(arg2
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20470 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20477 PyObject
* obj2
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "self",(char *) "x",(char *) "y", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20484 if (SWIG_arg_fail(1)) SWIG_fail
;
20486 arg2
= (int)(SWIG_As_int(obj1
));
20487 if (SWIG_arg_fail(2)) SWIG_fail
;
20490 arg3
= (int)(SWIG_As_int(obj2
));
20491 if (SWIG_arg_fail(3)) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 (arg1
)->SetMargins(arg2
,arg3
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 Py_INCREF(Py_None
); resultobj
= Py_None
;
20507 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
;
20509 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 PyObject
* obj1
= 0 ;
20514 char *kwnames
[] = {
20515 (char *) "self",(char *) "size", NULL
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20520 if (SWIG_arg_fail(1)) SWIG_fail
;
20523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 Py_INCREF(Py_None
); resultobj
= Py_None
;
20539 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self",(char *) "packing", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail
;
20553 arg2
= (int)(SWIG_As_int(obj1
));
20554 if (SWIG_arg_fail(2)) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 (arg1
)->SetToolPacking(arg2
);
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 Py_INCREF(Py_None
); resultobj
= Py_None
;
20570 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 char *kwnames
[] = {
20577 (char *) "self",(char *) "separation", NULL
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20582 if (SWIG_arg_fail(1)) SWIG_fail
;
20584 arg2
= (int)(SWIG_As_int(obj1
));
20585 if (SWIG_arg_fail(2)) SWIG_fail
;
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 (arg1
)->SetToolSeparation(arg2
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 Py_INCREF(Py_None
); resultobj
= Py_None
;
20601 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
;
20603 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20612 if (SWIG_arg_fail(1)) SWIG_fail
;
20614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20615 result
= (arg1
)->GetToolMargins();
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20621 wxSize
* resultptr
;
20622 resultptr
= new wxSize((wxSize
&)(result
));
20623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20631 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20633 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20635 PyObject
* obj0
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20642 if (SWIG_arg_fail(1)) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 result
= (arg1
)->GetMargins();
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20651 wxSize
* resultptr
;
20652 resultptr
= new wxSize((wxSize
&)(result
));
20653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20661 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20665 PyObject
* obj0
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20672 if (SWIG_arg_fail(1)) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= (int)(arg1
)->GetToolPacking();
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= SWIG_From_int((int)(result
));
20689 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20693 PyObject
* obj0
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20700 if (SWIG_arg_fail(1)) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (int)(arg1
)->GetToolSeparation();
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= SWIG_From_int((int)(result
));
20717 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20721 PyObject
* obj0
= 0 ;
20722 PyObject
* obj1
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self",(char *) "nRows", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20729 if (SWIG_arg_fail(1)) SWIG_fail
;
20731 arg2
= (int)(SWIG_As_int(obj1
));
20732 if (SWIG_arg_fail(2)) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 (arg1
)->SetRows(arg2
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 Py_INCREF(Py_None
); resultobj
= Py_None
;
20748 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 PyObject
* obj2
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self",(char *) "rows",(char *) "cols", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20762 if (SWIG_arg_fail(1)) SWIG_fail
;
20764 arg2
= (int)(SWIG_As_int(obj1
));
20765 if (SWIG_arg_fail(2)) SWIG_fail
;
20768 arg3
= (int)(SWIG_As_int(obj2
));
20769 if (SWIG_arg_fail(3)) SWIG_fail
;
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20775 wxPyEndAllowThreads(__tstate
);
20776 if (PyErr_Occurred()) SWIG_fail
;
20778 Py_INCREF(Py_None
); resultobj
= Py_None
;
20785 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20787 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20789 PyObject
* obj0
= 0 ;
20790 char *kwnames
[] = {
20791 (char *) "self", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20796 if (SWIG_arg_fail(1)) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (int)(arg1
)->GetMaxRows();
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= SWIG_From_int((int)(result
));
20813 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20824 if (SWIG_arg_fail(1)) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (int)(arg1
)->GetMaxCols();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= SWIG_From_int((int)(result
));
20841 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
;
20843 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self",(char *) "size", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20854 if (SWIG_arg_fail(1)) SWIG_fail
;
20857 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 Py_INCREF(Py_None
); resultobj
= Py_None
;
20873 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20884 if (SWIG_arg_fail(1)) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (arg1
)->GetToolBitmapSize();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20893 wxSize
* resultptr
;
20894 resultptr
= new wxSize((wxSize
&)(result
));
20895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20903 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20914 if (SWIG_arg_fail(1)) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (arg1
)->GetToolSize();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20923 wxSize
* resultptr
;
20924 resultptr
= new wxSize((wxSize
&)(result
));
20925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20933 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
;
20935 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20938 wxToolBarToolBase
*result
;
20939 PyObject
* obj0
= 0 ;
20940 PyObject
* obj1
= 0 ;
20941 PyObject
* obj2
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self",(char *) "x",(char *) "y", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20948 if (SWIG_arg_fail(1)) SWIG_fail
;
20950 arg2
= (int)(SWIG_As_int(obj1
));
20951 if (SWIG_arg_fail(2)) SWIG_fail
;
20954 arg3
= (int)(SWIG_As_int(obj2
));
20955 if (SWIG_arg_fail(3)) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= wxPyMake_wxObject(result
, 0);
20973 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
;
20975 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20977 wxToolBarToolBase
*result
;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "self",(char *) "toolid", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20986 if (SWIG_arg_fail(1)) SWIG_fail
;
20988 arg2
= (int)(SWIG_As_int(obj1
));
20989 if (SWIG_arg_fail(2)) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= wxPyMake_wxObject(result
, 0);
21007 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21011 PyObject
* obj0
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "self", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
21017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21018 if (SWIG_arg_fail(1)) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 result
= (bool)(arg1
)->IsVertical();
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21035 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21038 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21040 return Py_BuildValue((char *)"");
21042 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxWindow
*arg1
= (wxWindow
*) 0 ;
21045 int arg2
= (int) -1 ;
21046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21050 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21051 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21052 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21056 bool temp6
= false ;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 PyObject
* obj2
= 0 ;
21060 PyObject
* obj3
= 0 ;
21061 PyObject
* obj4
= 0 ;
21062 PyObject
* obj5
= 0 ;
21063 char *kwnames
[] = {
21064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21069 if (SWIG_arg_fail(1)) SWIG_fail
;
21072 arg2
= (int)(SWIG_As_int(obj1
));
21073 if (SWIG_arg_fail(2)) SWIG_fail
;
21079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21090 arg5
= (long)(SWIG_As_long(obj4
));
21091 if (SWIG_arg_fail(5)) SWIG_fail
;
21096 arg6
= wxString_in_helper(obj5
);
21097 if (arg6
== NULL
) SWIG_fail
;
21102 if (!wxPyCheckForApp()) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21124 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21127 char *kwnames
[] = {
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21133 if (!wxPyCheckForApp()) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (wxToolBar
*)new wxToolBar();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21147 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
;
21149 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21150 wxWindow
*arg2
= (wxWindow
*) 0 ;
21151 int arg3
= (int) -1 ;
21152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21156 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21157 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21158 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21162 bool temp7
= false ;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 PyObject
* obj2
= 0 ;
21166 PyObject
* obj3
= 0 ;
21167 PyObject
* obj4
= 0 ;
21168 PyObject
* obj5
= 0 ;
21169 PyObject
* obj6
= 0 ;
21170 char *kwnames
[] = {
21171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21176 if (SWIG_arg_fail(1)) SWIG_fail
;
21177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21178 if (SWIG_arg_fail(2)) SWIG_fail
;
21181 arg3
= (int)(SWIG_As_int(obj2
));
21182 if (SWIG_arg_fail(3)) SWIG_fail
;
21188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21199 arg6
= (long)(SWIG_As_long(obj5
));
21200 if (SWIG_arg_fail(6)) SWIG_fail
;
21205 arg7
= wxString_in_helper(obj6
);
21206 if (arg7
== NULL
) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21234 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21239 wxToolBarToolBase
*result
;
21240 PyObject
* obj0
= 0 ;
21241 PyObject
* obj1
= 0 ;
21242 PyObject
* obj2
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "x",(char *) "y", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21249 if (SWIG_arg_fail(1)) SWIG_fail
;
21251 arg2
= (int)(SWIG_As_int(obj1
));
21252 if (SWIG_arg_fail(2)) SWIG_fail
;
21255 arg3
= (int)(SWIG_As_int(obj2
));
21256 if (SWIG_arg_fail(3)) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= wxPyMake_wxObject(result
, 0);
21274 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21277 wxVisualAttributes result
;
21278 PyObject
* obj0
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "variant", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21286 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21287 if (SWIG_arg_fail(1)) SWIG_fail
;
21291 if (!wxPyCheckForApp()) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21299 wxVisualAttributes
* resultptr
;
21300 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21309 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21312 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21314 return Py_BuildValue((char *)"");
21316 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21317 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21322 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21327 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21329 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21336 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxColour
const &arg1_defvalue
= wxNullColour
;
21339 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21340 wxColour
const &arg2_defvalue
= wxNullColour
;
21341 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21342 wxFont
const &arg3_defvalue
= wxNullFont
;
21343 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21344 wxListItemAttr
*result
;
21347 PyObject
* obj0
= 0 ;
21348 PyObject
* obj1
= 0 ;
21349 PyObject
* obj2
= 0 ;
21350 char *kwnames
[] = {
21351 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21358 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21369 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21370 if (SWIG_arg_fail(3)) SWIG_fail
;
21371 if (arg3
== NULL
) {
21372 SWIG_null_ref("wxFont");
21374 if (SWIG_arg_fail(3)) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21391 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21394 wxColour
*arg2
= 0 ;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self",(char *) "colText", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21404 if (SWIG_arg_fail(1)) SWIG_fail
;
21407 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 Py_INCREF(Py_None
); resultobj
= Py_None
;
21423 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
;
21425 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21426 wxColour
*arg2
= 0 ;
21428 PyObject
* obj0
= 0 ;
21429 PyObject
* obj1
= 0 ;
21430 char *kwnames
[] = {
21431 (char *) "self",(char *) "colBack", NULL
21434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21436 if (SWIG_arg_fail(1)) SWIG_fail
;
21439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 Py_INCREF(Py_None
); resultobj
= Py_None
;
21455 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21459 PyObject
* obj0
= 0 ;
21460 PyObject
* obj1
= 0 ;
21461 char *kwnames
[] = {
21462 (char *) "self",(char *) "font", NULL
21465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21467 if (SWIG_arg_fail(1)) SWIG_fail
;
21469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21470 if (SWIG_arg_fail(2)) SWIG_fail
;
21471 if (arg2
== NULL
) {
21472 SWIG_null_ref("wxFont");
21474 if (SWIG_arg_fail(2)) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 (arg1
)->SetFont((wxFont
const &)*arg2
);
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 Py_INCREF(Py_None
); resultobj
= Py_None
;
21490 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21492 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21494 PyObject
* obj0
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (bool)(arg1
)->HasTextColour();
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21518 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21522 PyObject
* obj0
= 0 ;
21523 char *kwnames
[] = {
21524 (char *) "self", NULL
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21529 if (SWIG_arg_fail(1)) SWIG_fail
;
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 result
= (bool)(arg1
)->HasBackgroundColour();
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21546 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
;
21548 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21550 PyObject
* obj0
= 0 ;
21551 char *kwnames
[] = {
21552 (char *) "self", NULL
21555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21557 if (SWIG_arg_fail(1)) SWIG_fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 result
= (bool)(arg1
)->HasFont();
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21574 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21585 if (SWIG_arg_fail(1)) SWIG_fail
;
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (arg1
)->GetTextColour();
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21594 wxColour
* resultptr
;
21595 resultptr
= new wxColour((wxColour
&)(result
));
21596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21604 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
;
21606 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21608 PyObject
* obj0
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "self", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21615 if (SWIG_arg_fail(1)) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 result
= (arg1
)->GetBackgroundColour();
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21624 wxColour
* resultptr
;
21625 resultptr
= new wxColour((wxColour
&)(result
));
21626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21634 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
;
21636 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21638 PyObject
* obj0
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21645 if (SWIG_arg_fail(1)) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 result
= (arg1
)->GetFont();
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21654 wxFont
* resultptr
;
21655 resultptr
= new wxFont((wxFont
&)(result
));
21656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21664 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21667 PyObject
* obj0
= 0 ;
21668 char *kwnames
[] = {
21669 (char *) "self", NULL
21672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21674 if (SWIG_arg_fail(1)) SWIG_fail
;
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 wxListItemAttr_Destroy(arg1
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 Py_INCREF(Py_None
); resultobj
= Py_None
;
21689 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21692 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21694 return Py_BuildValue((char *)"");
21696 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxListItem
*result
;
21699 char *kwnames
[] = {
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (wxListItem
*)new wxListItem();
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21712 resultobj
= wxPyMake_wxObject(result
, 1);
21720 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21722 wxListItem
*arg1
= (wxListItem
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "self", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21730 if (SWIG_arg_fail(1)) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 Py_INCREF(Py_None
); resultobj
= Py_None
;
21745 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxListItem
*arg1
= (wxListItem
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 char *kwnames
[] = {
21750 (char *) "self", NULL
21753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21755 if (SWIG_arg_fail(1)) SWIG_fail
;
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 Py_INCREF(Py_None
); resultobj
= Py_None
;
21770 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21772 wxListItem
*arg1
= (wxListItem
*) 0 ;
21773 PyObject
* obj0
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "self", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21780 if (SWIG_arg_fail(1)) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 (arg1
)->ClearAttributes();
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 Py_INCREF(Py_None
); resultobj
= Py_None
;
21795 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxListItem
*arg1
= (wxListItem
*) 0 ;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "mask", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21807 if (SWIG_arg_fail(1)) SWIG_fail
;
21809 arg2
= (long)(SWIG_As_long(obj1
));
21810 if (SWIG_arg_fail(2)) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 (arg1
)->SetMask(arg2
);
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 Py_INCREF(Py_None
); resultobj
= Py_None
;
21826 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
;
21828 wxListItem
*arg1
= (wxListItem
*) 0 ;
21830 PyObject
* obj0
= 0 ;
21831 PyObject
* obj1
= 0 ;
21832 char *kwnames
[] = {
21833 (char *) "self",(char *) "id", NULL
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21838 if (SWIG_arg_fail(1)) SWIG_fail
;
21840 arg2
= (long)(SWIG_As_long(obj1
));
21841 if (SWIG_arg_fail(2)) SWIG_fail
;
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 (arg1
)->SetId(arg2
);
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21850 Py_INCREF(Py_None
); resultobj
= Py_None
;
21857 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
;
21859 wxListItem
*arg1
= (wxListItem
*) 0 ;
21861 PyObject
* obj0
= 0 ;
21862 PyObject
* obj1
= 0 ;
21863 char *kwnames
[] = {
21864 (char *) "self",(char *) "col", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21869 if (SWIG_arg_fail(1)) SWIG_fail
;
21871 arg2
= (int)(SWIG_As_int(obj1
));
21872 if (SWIG_arg_fail(2)) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 (arg1
)->SetColumn(arg2
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 Py_INCREF(Py_None
); resultobj
= Py_None
;
21888 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxListItem
*arg1
= (wxListItem
*) 0 ;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "self",(char *) "state", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21900 if (SWIG_arg_fail(1)) SWIG_fail
;
21902 arg2
= (long)(SWIG_As_long(obj1
));
21903 if (SWIG_arg_fail(2)) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 (arg1
)->SetState(arg2
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 Py_INCREF(Py_None
); resultobj
= Py_None
;
21919 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxListItem
*arg1
= (wxListItem
*) 0 ;
21923 PyObject
* obj0
= 0 ;
21924 PyObject
* obj1
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "self",(char *) "stateMask", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21931 if (SWIG_arg_fail(1)) SWIG_fail
;
21933 arg2
= (long)(SWIG_As_long(obj1
));
21934 if (SWIG_arg_fail(2)) SWIG_fail
;
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 (arg1
)->SetStateMask(arg2
);
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21943 Py_INCREF(Py_None
); resultobj
= Py_None
;
21950 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
;
21952 wxListItem
*arg1
= (wxListItem
*) 0 ;
21953 wxString
*arg2
= 0 ;
21954 bool temp2
= false ;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self",(char *) "text", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21963 if (SWIG_arg_fail(1)) SWIG_fail
;
21965 arg2
= wxString_in_helper(obj1
);
21966 if (arg2
== NULL
) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 (arg1
)->SetText((wxString
const &)*arg2
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 Py_INCREF(Py_None
); resultobj
= Py_None
;
21991 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21993 wxListItem
*arg1
= (wxListItem
*) 0 ;
21995 PyObject
* obj0
= 0 ;
21996 PyObject
* obj1
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self",(char *) "image", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22003 if (SWIG_arg_fail(1)) SWIG_fail
;
22005 arg2
= (int)(SWIG_As_int(obj1
));
22006 if (SWIG_arg_fail(2)) SWIG_fail
;
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 (arg1
)->SetImage(arg2
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 Py_INCREF(Py_None
); resultobj
= Py_None
;
22022 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
;
22024 wxListItem
*arg1
= (wxListItem
*) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self",(char *) "data", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22034 if (SWIG_arg_fail(1)) SWIG_fail
;
22036 arg2
= (long)(SWIG_As_long(obj1
));
22037 if (SWIG_arg_fail(2)) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 (arg1
)->SetData(arg2
);
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 Py_INCREF(Py_None
); resultobj
= Py_None
;
22053 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxListItem
*arg1
= (wxListItem
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 PyObject
* obj1
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self",(char *) "width", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22065 if (SWIG_arg_fail(1)) SWIG_fail
;
22067 arg2
= (int)(SWIG_As_int(obj1
));
22068 if (SWIG_arg_fail(2)) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 (arg1
)->SetWidth(arg2
);
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 Py_INCREF(Py_None
); resultobj
= Py_None
;
22084 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 wxListItem
*arg1
= (wxListItem
*) 0 ;
22087 wxListColumnFormat arg2
;
22088 PyObject
* obj0
= 0 ;
22089 PyObject
* obj1
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self",(char *) "align", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22096 if (SWIG_arg_fail(1)) SWIG_fail
;
22098 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22099 if (SWIG_arg_fail(2)) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 Py_INCREF(Py_None
); resultobj
= Py_None
;
22115 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxListItem
*arg1
= (wxListItem
*) 0 ;
22118 wxColour
*arg2
= 0 ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self",(char *) "colText", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22128 if (SWIG_arg_fail(1)) SWIG_fail
;
22131 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 Py_INCREF(Py_None
); resultobj
= Py_None
;
22147 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxListItem
*arg1
= (wxListItem
*) 0 ;
22150 wxColour
*arg2
= 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self",(char *) "colBack", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22160 if (SWIG_arg_fail(1)) SWIG_fail
;
22163 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 Py_INCREF(Py_None
); resultobj
= Py_None
;
22179 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxListItem
*arg1
= (wxListItem
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self",(char *) "font", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22191 if (SWIG_arg_fail(1)) SWIG_fail
;
22193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22194 if (SWIG_arg_fail(2)) SWIG_fail
;
22195 if (arg2
== NULL
) {
22196 SWIG_null_ref("wxFont");
22198 if (SWIG_arg_fail(2)) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 (arg1
)->SetFont((wxFont
const &)*arg2
);
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 Py_INCREF(Py_None
); resultobj
= Py_None
;
22214 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxListItem
*arg1
= (wxListItem
*) 0 ;
22218 PyObject
* obj0
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22225 if (SWIG_arg_fail(1)) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (long)(arg1
)->GetMask();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22234 resultobj
= SWIG_From_long((long)(result
));
22242 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22243 PyObject
*resultobj
;
22244 wxListItem
*arg1
= (wxListItem
*) 0 ;
22246 PyObject
* obj0
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22253 if (SWIG_arg_fail(1)) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (long)(arg1
)->GetId();
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= SWIG_From_long((long)(result
));
22270 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxListItem
*arg1
= (wxListItem
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 char *kwnames
[] = {
22276 (char *) "self", NULL
22279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22281 if (SWIG_arg_fail(1)) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (int)(arg1
)->GetColumn();
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= SWIG_From_int((int)(result
));
22298 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxListItem
*arg1
= (wxListItem
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22309 if (SWIG_arg_fail(1)) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (long)(arg1
)->GetState();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= SWIG_From_long((long)(result
));
22326 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
;
22328 wxListItem
*arg1
= (wxListItem
*) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22337 if (SWIG_arg_fail(1)) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 wxString
const &_result_ref
= (arg1
)->GetText();
22342 result
= (wxString
*) &_result_ref
;
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22352 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22361 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
;
22363 wxListItem
*arg1
= (wxListItem
*) 0 ;
22365 PyObject
* obj0
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22372 if (SWIG_arg_fail(1)) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 result
= (int)(arg1
)->GetImage();
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22381 resultobj
= SWIG_From_int((int)(result
));
22389 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxListItem
*arg1
= (wxListItem
*) 0 ;
22393 PyObject
* obj0
= 0 ;
22394 char *kwnames
[] = {
22395 (char *) "self", NULL
22398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22400 if (SWIG_arg_fail(1)) SWIG_fail
;
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= (long)(arg1
)->GetData();
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= SWIG_From_long((long)(result
));
22417 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxListItem
*arg1
= (wxListItem
*) 0 ;
22421 PyObject
* obj0
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22428 if (SWIG_arg_fail(1)) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (int)(arg1
)->GetWidth();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= SWIG_From_int((int)(result
));
22445 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22446 PyObject
*resultobj
;
22447 wxListItem
*arg1
= (wxListItem
*) 0 ;
22448 wxListColumnFormat result
;
22449 PyObject
* obj0
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22456 if (SWIG_arg_fail(1)) SWIG_fail
;
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= SWIG_From_int((result
));
22471 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
;
22473 wxListItem
*arg1
= (wxListItem
*) 0 ;
22474 wxListItemAttr
*result
;
22475 PyObject
* obj0
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail
;
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22497 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
;
22499 wxListItem
*arg1
= (wxListItem
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 char *kwnames
[] = {
22503 (char *) "self", NULL
22506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22508 if (SWIG_arg_fail(1)) SWIG_fail
;
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 result
= (bool)(arg1
)->HasAttributes();
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22525 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxListItem
*arg1
= (wxListItem
*) 0 ;
22529 PyObject
* obj0
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22536 if (SWIG_arg_fail(1)) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 wxColour
* resultptr
;
22546 resultptr
= new wxColour((wxColour
&)(result
));
22547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22555 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 wxListItem
*arg1
= (wxListItem
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22566 if (SWIG_arg_fail(1)) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 wxColour
* resultptr
;
22576 resultptr
= new wxColour((wxColour
&)(result
));
22577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22585 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxListItem
*arg1
= (wxListItem
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22596 if (SWIG_arg_fail(1)) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= ((wxListItem
const *)arg1
)->GetFont();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22605 wxFont
* resultptr
;
22606 resultptr
= new wxFont((wxFont
&)(result
));
22607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22615 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxListItem
*arg1
= (wxListItem
*) 0 ;
22619 PyObject
* obj0
= 0 ;
22620 PyObject
* obj1
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self",(char *) "m_mask", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail
;
22629 arg2
= (long)(SWIG_As_long(obj1
));
22630 if (SWIG_arg_fail(2)) SWIG_fail
;
22632 if (arg1
) (arg1
)->m_mask
= arg2
;
22634 Py_INCREF(Py_None
); resultobj
= Py_None
;
22641 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxListItem
*arg1
= (wxListItem
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22652 if (SWIG_arg_fail(1)) SWIG_fail
;
22653 result
= (long) ((arg1
)->m_mask
);
22656 resultobj
= SWIG_From_long((long)(result
));
22664 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxListItem
*arg1
= (wxListItem
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 PyObject
* obj1
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self",(char *) "m_itemId", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail
;
22678 arg2
= (long)(SWIG_As_long(obj1
));
22679 if (SWIG_arg_fail(2)) SWIG_fail
;
22681 if (arg1
) (arg1
)->m_itemId
= arg2
;
22683 Py_INCREF(Py_None
); resultobj
= Py_None
;
22690 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxListItem
*arg1
= (wxListItem
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22701 if (SWIG_arg_fail(1)) SWIG_fail
;
22702 result
= (long) ((arg1
)->m_itemId
);
22705 resultobj
= SWIG_From_long((long)(result
));
22713 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
;
22715 wxListItem
*arg1
= (wxListItem
*) 0 ;
22717 PyObject
* obj0
= 0 ;
22718 PyObject
* obj1
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self",(char *) "m_col", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22725 if (SWIG_arg_fail(1)) SWIG_fail
;
22727 arg2
= (int)(SWIG_As_int(obj1
));
22728 if (SWIG_arg_fail(2)) SWIG_fail
;
22730 if (arg1
) (arg1
)->m_col
= arg2
;
22732 Py_INCREF(Py_None
); resultobj
= Py_None
;
22739 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxListItem
*arg1
= (wxListItem
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail
;
22751 result
= (int) ((arg1
)->m_col
);
22754 resultobj
= SWIG_From_int((int)(result
));
22762 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxListItem
*arg1
= (wxListItem
*) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self",(char *) "m_state", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22774 if (SWIG_arg_fail(1)) SWIG_fail
;
22776 arg2
= (long)(SWIG_As_long(obj1
));
22777 if (SWIG_arg_fail(2)) SWIG_fail
;
22779 if (arg1
) (arg1
)->m_state
= arg2
;
22781 Py_INCREF(Py_None
); resultobj
= Py_None
;
22788 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxListItem
*arg1
= (wxListItem
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22799 if (SWIG_arg_fail(1)) SWIG_fail
;
22800 result
= (long) ((arg1
)->m_state
);
22803 resultobj
= SWIG_From_long((long)(result
));
22811 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxListItem
*arg1
= (wxListItem
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self",(char *) "m_stateMask", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22823 if (SWIG_arg_fail(1)) SWIG_fail
;
22825 arg2
= (long)(SWIG_As_long(obj1
));
22826 if (SWIG_arg_fail(2)) SWIG_fail
;
22828 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22830 Py_INCREF(Py_None
); resultobj
= Py_None
;
22837 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxListItem
*arg1
= (wxListItem
*) 0 ;
22841 PyObject
* obj0
= 0 ;
22842 char *kwnames
[] = {
22843 (char *) "self", NULL
22846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22848 if (SWIG_arg_fail(1)) SWIG_fail
;
22849 result
= (long) ((arg1
)->m_stateMask
);
22852 resultobj
= SWIG_From_long((long)(result
));
22860 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxListItem
*arg1
= (wxListItem
*) 0 ;
22863 wxString
*arg2
= (wxString
*) 0 ;
22864 bool temp2
= false ;
22865 PyObject
* obj0
= 0 ;
22866 PyObject
* obj1
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self",(char *) "m_text", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22873 if (SWIG_arg_fail(1)) SWIG_fail
;
22875 arg2
= wxString_in_helper(obj1
);
22876 if (arg2
== NULL
) SWIG_fail
;
22879 if (arg1
) (arg1
)->m_text
= *arg2
;
22881 Py_INCREF(Py_None
); resultobj
= Py_None
;
22896 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxListItem
*arg1
= (wxListItem
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22907 if (SWIG_arg_fail(1)) SWIG_fail
;
22908 result
= (wxString
*)& ((arg1
)->m_text
);
22912 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22914 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22923 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
;
22925 wxListItem
*arg1
= (wxListItem
*) 0 ;
22927 PyObject
* obj0
= 0 ;
22928 PyObject
* obj1
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self",(char *) "m_image", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail
;
22937 arg2
= (int)(SWIG_As_int(obj1
));
22938 if (SWIG_arg_fail(2)) SWIG_fail
;
22940 if (arg1
) (arg1
)->m_image
= arg2
;
22942 Py_INCREF(Py_None
); resultobj
= Py_None
;
22949 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxListItem
*arg1
= (wxListItem
*) 0 ;
22953 PyObject
* obj0
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22960 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 result
= (int) ((arg1
)->m_image
);
22964 resultobj
= SWIG_From_int((int)(result
));
22972 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxListItem
*arg1
= (wxListItem
*) 0 ;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self",(char *) "m_data", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail
;
22986 arg2
= (long)(SWIG_As_long(obj1
));
22987 if (SWIG_arg_fail(2)) SWIG_fail
;
22989 if (arg1
) (arg1
)->m_data
= arg2
;
22991 Py_INCREF(Py_None
); resultobj
= Py_None
;
22998 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
;
23000 wxListItem
*arg1
= (wxListItem
*) 0 ;
23002 PyObject
* obj0
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "self", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
23008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail
;
23010 result
= (long) ((arg1
)->m_data
);
23013 resultobj
= SWIG_From_long((long)(result
));
23021 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxListItem
*arg1
= (wxListItem
*) 0 ;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self",(char *) "m_format", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23033 if (SWIG_arg_fail(1)) SWIG_fail
;
23035 arg2
= (int)(SWIG_As_int(obj1
));
23036 if (SWIG_arg_fail(2)) SWIG_fail
;
23038 if (arg1
) (arg1
)->m_format
= arg2
;
23040 Py_INCREF(Py_None
); resultobj
= Py_None
;
23047 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxListItem
*arg1
= (wxListItem
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23058 if (SWIG_arg_fail(1)) SWIG_fail
;
23059 result
= (int) ((arg1
)->m_format
);
23062 resultobj
= SWIG_From_int((int)(result
));
23070 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23071 PyObject
*resultobj
;
23072 wxListItem
*arg1
= (wxListItem
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self",(char *) "m_width", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23082 if (SWIG_arg_fail(1)) SWIG_fail
;
23084 arg2
= (int)(SWIG_As_int(obj1
));
23085 if (SWIG_arg_fail(2)) SWIG_fail
;
23087 if (arg1
) (arg1
)->m_width
= arg2
;
23089 Py_INCREF(Py_None
); resultobj
= Py_None
;
23096 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxListItem
*arg1
= (wxListItem
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 char *kwnames
[] = {
23102 (char *) "self", NULL
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23107 if (SWIG_arg_fail(1)) SWIG_fail
;
23108 result
= (int) ((arg1
)->m_width
);
23111 resultobj
= SWIG_From_int((int)(result
));
23119 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23122 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23124 return Py_BuildValue((char *)"");
23126 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23129 int arg2
= (int) 0 ;
23130 wxListEvent
*result
;
23131 PyObject
* obj0
= 0 ;
23132 PyObject
* obj1
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "commandType",(char *) "id", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23140 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23141 if (SWIG_arg_fail(1)) SWIG_fail
;
23146 arg2
= (int)(SWIG_As_int(obj1
));
23147 if (SWIG_arg_fail(2)) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23164 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23166 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 PyObject
* obj1
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self",(char *) "m_code", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23176 if (SWIG_arg_fail(1)) SWIG_fail
;
23178 arg2
= (int)(SWIG_As_int(obj1
));
23179 if (SWIG_arg_fail(2)) SWIG_fail
;
23181 if (arg1
) (arg1
)->m_code
= arg2
;
23183 Py_INCREF(Py_None
); resultobj
= Py_None
;
23190 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail
;
23202 result
= (int) ((arg1
)->m_code
);
23205 resultobj
= SWIG_From_int((int)(result
));
23213 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
;
23215 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self",(char *) "m_oldItemIndex", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail
;
23227 arg2
= (long)(SWIG_As_long(obj1
));
23228 if (SWIG_arg_fail(2)) SWIG_fail
;
23230 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23232 Py_INCREF(Py_None
); resultobj
= Py_None
;
23239 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23243 PyObject
* obj0
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23250 if (SWIG_arg_fail(1)) SWIG_fail
;
23251 result
= (long) ((arg1
)->m_oldItemIndex
);
23254 resultobj
= SWIG_From_long((long)(result
));
23262 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23266 PyObject
* obj0
= 0 ;
23267 PyObject
* obj1
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self",(char *) "m_itemIndex", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23274 if (SWIG_arg_fail(1)) SWIG_fail
;
23276 arg2
= (long)(SWIG_As_long(obj1
));
23277 if (SWIG_arg_fail(2)) SWIG_fail
;
23279 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23281 Py_INCREF(Py_None
); resultobj
= Py_None
;
23288 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23292 PyObject
* obj0
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23299 if (SWIG_arg_fail(1)) SWIG_fail
;
23300 result
= (long) ((arg1
)->m_itemIndex
);
23303 resultobj
= SWIG_From_long((long)(result
));
23311 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
;
23313 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23315 PyObject
* obj0
= 0 ;
23316 PyObject
* obj1
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self",(char *) "m_col", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23323 if (SWIG_arg_fail(1)) SWIG_fail
;
23325 arg2
= (int)(SWIG_As_int(obj1
));
23326 if (SWIG_arg_fail(2)) SWIG_fail
;
23328 if (arg1
) (arg1
)->m_col
= arg2
;
23330 Py_INCREF(Py_None
); resultobj
= Py_None
;
23337 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
;
23339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23341 PyObject
* obj0
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23348 if (SWIG_arg_fail(1)) SWIG_fail
;
23349 result
= (int) ((arg1
)->m_col
);
23352 resultobj
= SWIG_From_int((int)(result
));
23360 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23363 wxPoint
*arg2
= (wxPoint
*) 0 ;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self",(char *) "m_pointDrag", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail
;
23373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23374 if (SWIG_arg_fail(2)) SWIG_fail
;
23375 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23377 Py_INCREF(Py_None
); resultobj
= Py_None
;
23384 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23388 PyObject
* obj0
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23395 if (SWIG_arg_fail(1)) SWIG_fail
;
23396 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23405 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23408 wxListItem
*result
;
23409 PyObject
* obj0
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23416 if (SWIG_arg_fail(1)) SWIG_fail
;
23417 result
= (wxListItem
*)& ((arg1
)->m_item
);
23420 resultobj
= wxPyMake_wxObject(result
, 0);
23428 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23432 PyObject
* obj0
= 0 ;
23433 char *kwnames
[] = {
23434 (char *) "self", NULL
23437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23439 if (SWIG_arg_fail(1)) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (int)(arg1
)->GetKeyCode();
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= SWIG_From_int((int)(result
));
23456 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
;
23458 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23460 PyObject
* obj0
= 0 ;
23461 char *kwnames
[] = {
23462 (char *) "self", NULL
23465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23467 if (SWIG_arg_fail(1)) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= (long)(arg1
)->GetIndex();
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= SWIG_From_long((long)(result
));
23484 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23488 PyObject
* obj0
= 0 ;
23489 char *kwnames
[] = {
23490 (char *) "self", NULL
23493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23495 if (SWIG_arg_fail(1)) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 result
= (int)(arg1
)->GetColumn();
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23504 resultobj
= SWIG_From_int((int)(result
));
23512 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23516 PyObject
* obj0
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23523 if (SWIG_arg_fail(1)) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 result
= (arg1
)->GetPoint();
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23532 wxPoint
* resultptr
;
23533 resultptr
= new wxPoint((wxPoint
&)(result
));
23534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23542 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
;
23544 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23553 if (SWIG_arg_fail(1)) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 wxString
const &_result_ref
= (arg1
)->GetLabel();
23558 result
= (wxString
*) &_result_ref
;
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23568 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23577 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
;
23579 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23581 PyObject
* obj0
= 0 ;
23582 char *kwnames
[] = {
23583 (char *) "self", NULL
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23588 if (SWIG_arg_fail(1)) SWIG_fail
;
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 wxString
const &_result_ref
= (arg1
)->GetText();
23593 result
= (wxString
*) &_result_ref
;
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23603 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23612 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23616 PyObject
* obj0
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23623 if (SWIG_arg_fail(1)) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= (int)(arg1
)->GetImage();
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= SWIG_From_int((int)(result
));
23640 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23644 PyObject
* obj0
= 0 ;
23645 char *kwnames
[] = {
23646 (char *) "self", NULL
23649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23651 if (SWIG_arg_fail(1)) SWIG_fail
;
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 result
= (long)(arg1
)->GetData();
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= SWIG_From_long((long)(result
));
23668 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
;
23670 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23672 PyObject
* obj0
= 0 ;
23673 char *kwnames
[] = {
23674 (char *) "self", NULL
23677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23679 if (SWIG_arg_fail(1)) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= (long)(arg1
)->GetMask();
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_From_long((long)(result
));
23696 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23697 PyObject
*resultobj
;
23698 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23699 wxListItem
*result
;
23700 PyObject
* obj0
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self", NULL
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23707 if (SWIG_arg_fail(1)) SWIG_fail
;
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23712 result
= (wxListItem
*) &_result_ref
;
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23725 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23736 if (SWIG_arg_fail(1)) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 result
= (long)(arg1
)->GetCacheFrom();
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= SWIG_From_long((long)(result
));
23753 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23764 if (SWIG_arg_fail(1)) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (long)(arg1
)->GetCacheTo();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= SWIG_From_long((long)(result
));
23781 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23792 if (SWIG_arg_fail(1)) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23809 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 PyObject
* obj1
= 0 ;
23815 char *kwnames
[] = {
23816 (char *) "self",(char *) "editCancelled", NULL
23819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23821 if (SWIG_arg_fail(1)) SWIG_fail
;
23823 arg2
= (bool)(SWIG_As_bool(obj1
));
23824 if (SWIG_arg_fail(2)) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 (arg1
)->SetEditCanceled(arg2
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 Py_INCREF(Py_None
); resultobj
= Py_None
;
23840 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23843 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23845 return Py_BuildValue((char *)"");
23847 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxWindow
*arg1
= (wxWindow
*) 0 ;
23850 int arg2
= (int) -1 ;
23851 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23852 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23853 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23854 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23855 long arg5
= (long) wxLC_ICON
;
23856 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23857 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23858 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23860 wxPyListCtrl
*result
;
23863 bool temp7
= false ;
23864 PyObject
* obj0
= 0 ;
23865 PyObject
* obj1
= 0 ;
23866 PyObject
* obj2
= 0 ;
23867 PyObject
* obj3
= 0 ;
23868 PyObject
* obj4
= 0 ;
23869 PyObject
* obj5
= 0 ;
23870 PyObject
* obj6
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23877 if (SWIG_arg_fail(1)) SWIG_fail
;
23880 arg2
= (int)(SWIG_As_int(obj1
));
23881 if (SWIG_arg_fail(2)) SWIG_fail
;
23887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23893 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23898 arg5
= (long)(SWIG_As_long(obj4
));
23899 if (SWIG_arg_fail(5)) SWIG_fail
;
23904 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23905 if (SWIG_arg_fail(6)) SWIG_fail
;
23906 if (arg6
== NULL
) {
23907 SWIG_null_ref("wxValidator");
23909 if (SWIG_arg_fail(6)) SWIG_fail
;
23914 arg7
= wxString_in_helper(obj6
);
23915 if (arg7
== NULL
) SWIG_fail
;
23920 if (!wxPyCheckForApp()) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23942 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
;
23944 wxPyListCtrl
*result
;
23945 char *kwnames
[] = {
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23951 if (!wxPyCheckForApp()) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23965 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23968 wxWindow
*arg2
= (wxWindow
*) 0 ;
23969 int arg3
= (int) -1 ;
23970 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23971 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23972 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23973 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23974 long arg6
= (long) wxLC_ICON
;
23975 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23976 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23977 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23978 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23982 bool temp8
= false ;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 PyObject
* obj2
= 0 ;
23986 PyObject
* obj3
= 0 ;
23987 PyObject
* obj4
= 0 ;
23988 PyObject
* obj5
= 0 ;
23989 PyObject
* obj6
= 0 ;
23990 PyObject
* obj7
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23997 if (SWIG_arg_fail(1)) SWIG_fail
;
23998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23999 if (SWIG_arg_fail(2)) SWIG_fail
;
24002 arg3
= (int)(SWIG_As_int(obj2
));
24003 if (SWIG_arg_fail(3)) SWIG_fail
;
24009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24020 arg6
= (long)(SWIG_As_long(obj5
));
24021 if (SWIG_arg_fail(6)) SWIG_fail
;
24026 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24027 if (SWIG_arg_fail(7)) SWIG_fail
;
24028 if (arg7
== NULL
) {
24029 SWIG_null_ref("wxValidator");
24031 if (SWIG_arg_fail(7)) SWIG_fail
;
24036 arg8
= wxString_in_helper(obj7
);
24037 if (arg8
== NULL
) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24065 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24068 PyObject
*arg2
= (PyObject
*) 0 ;
24069 PyObject
*arg3
= (PyObject
*) 0 ;
24070 PyObject
* obj0
= 0 ;
24071 PyObject
* obj1
= 0 ;
24072 PyObject
* obj2
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self",(char *) "self",(char *) "_class", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24079 if (SWIG_arg_fail(1)) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 Py_INCREF(Py_None
); resultobj
= Py_None
;
24096 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24099 wxColour
*arg2
= 0 ;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self",(char *) "col", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24110 if (SWIG_arg_fail(1)) SWIG_fail
;
24113 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24131 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24134 wxColour
*arg2
= 0 ;
24137 PyObject
* obj0
= 0 ;
24138 PyObject
* obj1
= 0 ;
24139 char *kwnames
[] = {
24140 (char *) "self",(char *) "col", NULL
24143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24145 if (SWIG_arg_fail(1)) SWIG_fail
;
24148 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24166 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24170 wxListItem
*result
;
24171 PyObject
* obj0
= 0 ;
24172 PyObject
* obj1
= 0 ;
24173 char *kwnames
[] = {
24174 (char *) "self",(char *) "col", NULL
24177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24179 if (SWIG_arg_fail(1)) SWIG_fail
;
24181 arg2
= (int)(SWIG_As_int(obj1
));
24182 if (SWIG_arg_fail(2)) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= wxPyMake_wxObject(result
, 0);
24200 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
;
24202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24204 wxListItem
*arg3
= 0 ;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 PyObject
* obj2
= 0 ;
24209 char *kwnames
[] = {
24210 (char *) "self",(char *) "col",(char *) "item", NULL
24213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24215 if (SWIG_arg_fail(1)) SWIG_fail
;
24217 arg2
= (int)(SWIG_As_int(obj1
));
24218 if (SWIG_arg_fail(2)) SWIG_fail
;
24221 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24222 if (SWIG_arg_fail(3)) SWIG_fail
;
24223 if (arg3
== NULL
) {
24224 SWIG_null_ref("wxListItem");
24226 if (SWIG_arg_fail(3)) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 result
= (bool)(arg1
)->SetColumn(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_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self",(char *) "col", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24257 if (SWIG_arg_fail(1)) SWIG_fail
;
24259 arg2
= (int)(SWIG_As_int(obj1
));
24260 if (SWIG_arg_fail(2)) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_From_int((int)(result
));
24278 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 PyObject
* obj2
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "col",(char *) "width", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24293 if (SWIG_arg_fail(1)) SWIG_fail
;
24295 arg2
= (int)(SWIG_As_int(obj1
));
24296 if (SWIG_arg_fail(2)) SWIG_fail
;
24299 arg3
= (int)(SWIG_As_int(obj2
));
24300 if (SWIG_arg_fail(3)) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24318 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24322 PyObject
* obj0
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24329 if (SWIG_arg_fail(1)) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24338 resultobj
= SWIG_From_int((int)(result
));
24346 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24350 PyObject
* obj0
= 0 ;
24351 char *kwnames
[] = {
24352 (char *) "self", NULL
24355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24366 wxRect
* resultptr
;
24367 resultptr
= new wxRect((wxRect
&)(result
));
24368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24376 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24379 wxTextCtrl
*result
;
24380 PyObject
* obj0
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
24386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24387 if (SWIG_arg_fail(1)) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= wxPyMake_wxObject(result
, 0);
24404 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24408 int arg3
= (int) 0 ;
24409 wxListItem
*result
;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 PyObject
* obj2
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self",(char *) "itemId",(char *) "col", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24419 if (SWIG_arg_fail(1)) SWIG_fail
;
24421 arg2
= (long)(SWIG_As_long(obj1
));
24422 if (SWIG_arg_fail(2)) SWIG_fail
;
24426 arg3
= (int)(SWIG_As_int(obj2
));
24427 if (SWIG_arg_fail(3)) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= wxPyMake_wxObject(result
, 0);
24446 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24449 wxListItem
*arg2
= 0 ;
24451 PyObject
* obj0
= 0 ;
24452 PyObject
* obj1
= 0 ;
24453 char *kwnames
[] = {
24454 (char *) "self",(char *) "info", NULL
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24459 if (SWIG_arg_fail(1)) SWIG_fail
;
24461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24462 if (SWIG_arg_fail(2)) SWIG_fail
;
24463 if (arg2
== NULL
) {
24464 SWIG_null_ref("wxListItem");
24466 if (SWIG_arg_fail(2)) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= (bool)(arg1
)->SetItem(*arg2
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24484 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
;
24486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24489 wxString
*arg4
= 0 ;
24490 int arg5
= (int) -1 ;
24492 bool temp4
= false ;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 PyObject
* obj2
= 0 ;
24496 PyObject
* obj3
= 0 ;
24497 PyObject
* obj4
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail
;
24506 arg2
= (long)(SWIG_As_long(obj1
));
24507 if (SWIG_arg_fail(2)) SWIG_fail
;
24510 arg3
= (int)(SWIG_As_int(obj2
));
24511 if (SWIG_arg_fail(3)) SWIG_fail
;
24514 arg4
= wxString_in_helper(obj3
);
24515 if (arg4
== NULL
) SWIG_fail
;
24520 arg5
= (int)(SWIG_As_int(obj4
));
24521 if (SWIG_arg_fail(5)) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= SWIG_From_long((long)(result
));
24548 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 PyObject
* obj1
= 0 ;
24556 PyObject
* obj2
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24563 if (SWIG_arg_fail(1)) SWIG_fail
;
24565 arg2
= (long)(SWIG_As_long(obj1
));
24566 if (SWIG_arg_fail(2)) SWIG_fail
;
24569 arg3
= (long)(SWIG_As_long(obj2
));
24570 if (SWIG_arg_fail(3)) SWIG_fail
;
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= SWIG_From_int((int)(result
));
24588 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
;
24590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24595 PyObject
* obj0
= 0 ;
24596 PyObject
* obj1
= 0 ;
24597 PyObject
* obj2
= 0 ;
24598 PyObject
* obj3
= 0 ;
24599 char *kwnames
[] = {
24600 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24605 if (SWIG_arg_fail(1)) SWIG_fail
;
24607 arg2
= (long)(SWIG_As_long(obj1
));
24608 if (SWIG_arg_fail(2)) SWIG_fail
;
24611 arg3
= (long)(SWIG_As_long(obj2
));
24612 if (SWIG_arg_fail(3)) SWIG_fail
;
24615 arg4
= (long)(SWIG_As_long(obj3
));
24616 if (SWIG_arg_fail(4)) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24634 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
;
24636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24639 int arg4
= (int) -1 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 PyObject
* obj2
= 0 ;
24644 PyObject
* obj3
= 0 ;
24645 char *kwnames
[] = {
24646 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24651 if (SWIG_arg_fail(1)) SWIG_fail
;
24653 arg2
= (long)(SWIG_As_long(obj1
));
24654 if (SWIG_arg_fail(2)) SWIG_fail
;
24657 arg3
= (int)(SWIG_As_int(obj2
));
24658 if (SWIG_arg_fail(3)) SWIG_fail
;
24662 arg4
= (int)(SWIG_As_int(obj3
));
24663 if (SWIG_arg_fail(4)) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24682 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
;
24684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 char *kwnames
[] = {
24690 (char *) "self",(char *) "item", NULL
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24695 if (SWIG_arg_fail(1)) SWIG_fail
;
24697 arg2
= (long)(SWIG_As_long(obj1
));
24698 if (SWIG_arg_fail(2)) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24720 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24724 wxString
*arg3
= 0 ;
24725 bool temp3
= false ;
24726 PyObject
* obj0
= 0 ;
24727 PyObject
* obj1
= 0 ;
24728 PyObject
* obj2
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self",(char *) "item",(char *) "str", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24735 if (SWIG_arg_fail(1)) SWIG_fail
;
24737 arg2
= (long)(SWIG_As_long(obj1
));
24738 if (SWIG_arg_fail(2)) SWIG_fail
;
24741 arg3
= wxString_in_helper(obj2
);
24742 if (arg3
== NULL
) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 Py_INCREF(Py_None
); resultobj
= Py_None
;
24767 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24772 PyObject
* obj0
= 0 ;
24773 PyObject
* obj1
= 0 ;
24774 char *kwnames
[] = {
24775 (char *) "self",(char *) "item", NULL
24778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24780 if (SWIG_arg_fail(1)) SWIG_fail
;
24782 arg2
= (long)(SWIG_As_long(obj1
));
24783 if (SWIG_arg_fail(2)) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= SWIG_From_long((long)(result
));
24801 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 PyObject
* obj2
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self",(char *) "item",(char *) "data", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24816 if (SWIG_arg_fail(1)) SWIG_fail
;
24818 arg2
= (long)(SWIG_As_long(obj1
));
24819 if (SWIG_arg_fail(2)) SWIG_fail
;
24822 arg3
= (long)(SWIG_As_long(obj2
));
24823 if (SWIG_arg_fail(3)) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24841 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self",(char *) "item", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24854 if (SWIG_arg_fail(1)) SWIG_fail
;
24856 arg2
= (long)(SWIG_As_long(obj1
));
24857 if (SWIG_arg_fail(2)) SWIG_fail
;
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24867 wxPoint
* resultptr
;
24868 resultptr
= new wxPoint((wxPoint
&)(result
));
24869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24877 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24881 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24883 PyObject
* obj0
= 0 ;
24884 PyObject
* obj1
= 0 ;
24885 PyObject
* obj2
= 0 ;
24886 char *kwnames
[] = {
24887 (char *) "self",(char *) "item",(char *) "code", NULL
24890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24892 if (SWIG_arg_fail(1)) SWIG_fail
;
24894 arg2
= (long)(SWIG_As_long(obj1
));
24895 if (SWIG_arg_fail(2)) SWIG_fail
;
24899 arg3
= (int)(SWIG_As_int(obj2
));
24900 if (SWIG_arg_fail(3)) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24911 wxRect
* resultptr
;
24912 resultptr
= new wxRect((wxRect
&)(result
));
24913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24921 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24925 wxPoint
*arg3
= 0 ;
24928 PyObject
* obj0
= 0 ;
24929 PyObject
* obj1
= 0 ;
24930 PyObject
* obj2
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "item",(char *) "pos", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail
;
24939 arg2
= (long)(SWIG_As_long(obj1
));
24940 if (SWIG_arg_fail(2)) SWIG_fail
;
24944 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24962 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
;
24964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24966 PyObject
* obj0
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "self", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24973 if (SWIG_arg_fail(1)) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= SWIG_From_int((int)(result
));
24990 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24991 PyObject
*resultobj
;
24992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
25000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail
;
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= SWIG_From_int((int)(result
));
25018 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
;
25020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25022 PyObject
* obj0
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
25028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25029 if (SWIG_arg_fail(1)) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25038 wxSize
* resultptr
;
25039 resultptr
= new wxSize((wxSize
&)(result
));
25040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25048 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25052 PyObject
* obj0
= 0 ;
25053 char *kwnames
[] = {
25054 (char *) "self", NULL
25057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25059 if (SWIG_arg_fail(1)) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25068 resultobj
= SWIG_From_int((int)(result
));
25076 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
;
25078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25080 PyObject
* obj0
= 0 ;
25081 char *kwnames
[] = {
25082 (char *) "self", NULL
25085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25087 if (SWIG_arg_fail(1)) SWIG_fail
;
25089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25090 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25096 wxColour
* resultptr
;
25097 resultptr
= new wxColour((wxColour
&)(result
));
25098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25106 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25107 PyObject
*resultobj
;
25108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25109 wxColour
*arg2
= 0 ;
25111 PyObject
* obj0
= 0 ;
25112 PyObject
* obj1
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "self",(char *) "col", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25119 if (SWIG_arg_fail(1)) SWIG_fail
;
25122 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 Py_INCREF(Py_None
); resultobj
= Py_None
;
25138 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25142 PyObject
* obj0
= 0 ;
25143 char *kwnames
[] = {
25144 (char *) "self", NULL
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25149 if (SWIG_arg_fail(1)) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= SWIG_From_long((long)(result
));
25166 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25170 bool arg3
= (bool) true ;
25171 PyObject
* obj0
= 0 ;
25172 PyObject
* obj1
= 0 ;
25173 PyObject
* obj2
= 0 ;
25174 char *kwnames
[] = {
25175 (char *) "self",(char *) "style",(char *) "add", NULL
25178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25180 if (SWIG_arg_fail(1)) SWIG_fail
;
25182 arg2
= (long)(SWIG_As_long(obj1
));
25183 if (SWIG_arg_fail(2)) SWIG_fail
;
25187 arg3
= (bool)(SWIG_As_bool(obj2
));
25188 if (SWIG_arg_fail(3)) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 (arg1
)->SetSingleStyle(arg2
,arg3
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 Py_INCREF(Py_None
); resultobj
= Py_None
;
25205 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
;
25207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25209 PyObject
* obj0
= 0 ;
25210 PyObject
* obj1
= 0 ;
25211 char *kwnames
[] = {
25212 (char *) "self",(char *) "style", NULL
25215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25217 if (SWIG_arg_fail(1)) SWIG_fail
;
25219 arg2
= (long)(SWIG_As_long(obj1
));
25220 if (SWIG_arg_fail(2)) SWIG_fail
;
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 (arg1
)->SetWindowStyleFlag(arg2
);
25226 wxPyEndAllowThreads(__tstate
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25229 Py_INCREF(Py_None
); resultobj
= Py_None
;
25236 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25237 PyObject
*resultobj
;
25238 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25240 int arg3
= (int) wxLIST_NEXT_ALL
;
25241 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 PyObject
* obj2
= 0 ;
25246 PyObject
* obj3
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25253 if (SWIG_arg_fail(1)) SWIG_fail
;
25255 arg2
= (long)(SWIG_As_long(obj1
));
25256 if (SWIG_arg_fail(2)) SWIG_fail
;
25260 arg3
= (int)(SWIG_As_int(obj2
));
25261 if (SWIG_arg_fail(3)) SWIG_fail
;
25266 arg4
= (int)(SWIG_As_int(obj3
));
25267 if (SWIG_arg_fail(4)) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= SWIG_From_long((long)(result
));
25286 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25290 wxImageList
*result
;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self",(char *) "which", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25299 if (SWIG_arg_fail(1)) SWIG_fail
;
25301 arg2
= (int)(SWIG_As_int(obj1
));
25302 if (SWIG_arg_fail(2)) SWIG_fail
;
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= wxPyMake_wxObject(result
, 0);
25320 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25323 wxImageList
*arg2
= (wxImageList
*) 0 ;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 PyObject
* obj2
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "self",(char *) "imageList",(char *) "which", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25334 if (SWIG_arg_fail(1)) SWIG_fail
;
25335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25336 if (SWIG_arg_fail(2)) SWIG_fail
;
25338 arg3
= (int)(SWIG_As_int(obj2
));
25339 if (SWIG_arg_fail(3)) SWIG_fail
;
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 (arg1
)->SetImageList(arg2
,arg3
);
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 Py_INCREF(Py_None
); resultobj
= Py_None
;
25355 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
;
25357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25358 wxImageList
*arg2
= (wxImageList
*) 0 ;
25360 PyObject
* obj0
= 0 ;
25361 PyObject
* obj1
= 0 ;
25362 PyObject
* obj2
= 0 ;
25363 char *kwnames
[] = {
25364 (char *) "self",(char *) "imageList",(char *) "which", NULL
25367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25369 if (SWIG_arg_fail(1)) SWIG_fail
;
25370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25371 if (SWIG_arg_fail(2)) SWIG_fail
;
25373 arg3
= (int)(SWIG_As_int(obj2
));
25374 if (SWIG_arg_fail(3)) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 (arg1
)->AssignImageList(arg2
,arg3
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 Py_INCREF(Py_None
); resultobj
= Py_None
;
25390 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
;
25392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25394 PyObject
* obj0
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "self", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25401 if (SWIG_arg_fail(1)) SWIG_fail
;
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25418 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25422 PyObject
* obj0
= 0 ;
25423 char *kwnames
[] = {
25424 (char *) "self", NULL
25427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25429 if (SWIG_arg_fail(1)) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25446 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
;
25448 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "item", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25458 if (SWIG_arg_fail(1)) SWIG_fail
;
25460 arg2
= (long)(SWIG_As_long(obj1
));
25461 if (SWIG_arg_fail(2)) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 (arg1
)->RefreshItem(arg2
);
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 Py_INCREF(Py_None
); resultobj
= Py_None
;
25477 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 PyObject
* obj2
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25491 if (SWIG_arg_fail(1)) SWIG_fail
;
25493 arg2
= (long)(SWIG_As_long(obj1
));
25494 if (SWIG_arg_fail(2)) SWIG_fail
;
25497 arg3
= (long)(SWIG_As_long(obj2
));
25498 if (SWIG_arg_fail(3)) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 (arg1
)->RefreshItems(arg2
,arg3
);
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 Py_INCREF(Py_None
); resultobj
= Py_None
;
25514 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25517 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25519 PyObject
* obj0
= 0 ;
25520 PyObject
* obj1
= 0 ;
25521 char *kwnames
[] = {
25522 (char *) "self",(char *) "flag", NULL
25525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25527 if (SWIG_arg_fail(1)) SWIG_fail
;
25530 arg2
= (int)(SWIG_As_int(obj1
));
25531 if (SWIG_arg_fail(2)) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 result
= (bool)(arg1
)->Arrange(arg2
);
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25550 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
;
25552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 char *kwnames
[] = {
25558 (char *) "self",(char *) "item", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25563 if (SWIG_arg_fail(1)) SWIG_fail
;
25565 arg2
= (long)(SWIG_As_long(obj1
));
25566 if (SWIG_arg_fail(2)) SWIG_fail
;
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (bool)(arg1
)->DeleteItem(arg2
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25584 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25588 PyObject
* obj0
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "self", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25595 if (SWIG_arg_fail(1)) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (bool)(arg1
)->DeleteAllItems();
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25612 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self",(char *) "col", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail
;
25627 arg2
= (int)(SWIG_As_int(obj1
));
25628 if (SWIG_arg_fail(2)) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25646 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25650 PyObject
* obj0
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25657 if (SWIG_arg_fail(1)) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 result
= (bool)(arg1
)->DeleteAllColumns();
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25674 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25677 PyObject
* obj0
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "self", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25684 if (SWIG_arg_fail(1)) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 (arg1
)->ClearAll();
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 Py_INCREF(Py_None
); resultobj
= Py_None
;
25699 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25703 wxTextCtrl
*result
;
25704 PyObject
* obj0
= 0 ;
25705 PyObject
* obj1
= 0 ;
25706 char *kwnames
[] = {
25707 (char *) "self",(char *) "item", NULL
25710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25712 if (SWIG_arg_fail(1)) SWIG_fail
;
25714 arg2
= (long)(SWIG_As_long(obj1
));
25715 if (SWIG_arg_fail(2)) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= wxPyMake_wxObject(result
, 0);
25733 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self",(char *) "cancel", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25746 if (SWIG_arg_fail(1)) SWIG_fail
;
25748 arg2
= (bool)(SWIG_As_bool(obj1
));
25749 if (SWIG_arg_fail(2)) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (bool)(arg1
)->EndEditLabel(arg2
);
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25767 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25772 PyObject
* obj0
= 0 ;
25773 PyObject
* obj1
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "item", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25780 if (SWIG_arg_fail(1)) SWIG_fail
;
25782 arg2
= (long)(SWIG_As_long(obj1
));
25783 if (SWIG_arg_fail(2)) SWIG_fail
;
25786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25801 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25805 wxString
*arg3
= 0 ;
25806 bool arg4
= (bool) false ;
25808 bool temp3
= false ;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 PyObject
* obj2
= 0 ;
25812 PyObject
* obj3
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25819 if (SWIG_arg_fail(1)) SWIG_fail
;
25821 arg2
= (long)(SWIG_As_long(obj1
));
25822 if (SWIG_arg_fail(2)) SWIG_fail
;
25825 arg3
= wxString_in_helper(obj2
);
25826 if (arg3
== NULL
) SWIG_fail
;
25831 arg4
= (bool)(SWIG_As_bool(obj3
));
25832 if (SWIG_arg_fail(4)) SWIG_fail
;
25836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25837 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25839 wxPyEndAllowThreads(__tstate
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= SWIG_From_long((long)(result
));
25859 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
;
25861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 PyObject
* obj2
= 0 ;
25868 char *kwnames
[] = {
25869 (char *) "self",(char *) "start",(char *) "data", NULL
25872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25874 if (SWIG_arg_fail(1)) SWIG_fail
;
25876 arg2
= (long)(SWIG_As_long(obj1
));
25877 if (SWIG_arg_fail(2)) SWIG_fail
;
25880 arg3
= (long)(SWIG_As_long(obj2
));
25881 if (SWIG_arg_fail(3)) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25891 resultobj
= SWIG_From_long((long)(result
));
25899 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25903 wxPoint
*arg3
= 0 ;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 PyObject
* obj2
= 0 ;
25910 PyObject
* obj3
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25917 if (SWIG_arg_fail(1)) SWIG_fail
;
25919 arg2
= (long)(SWIG_As_long(obj1
));
25920 if (SWIG_arg_fail(2)) SWIG_fail
;
25924 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25927 arg4
= (int)(SWIG_As_int(obj3
));
25928 if (SWIG_arg_fail(4)) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25938 resultobj
= SWIG_From_long((long)(result
));
25946 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
;
25948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25949 wxPoint
*arg2
= 0 ;
25955 PyObject
* obj0
= 0 ;
25956 PyObject
* obj1
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "self",(char *) "point", NULL
25961 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25964 if (SWIG_arg_fail(1)) SWIG_fail
;
25967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25977 resultobj
= SWIG_From_long((long)(result
));
25979 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25980 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25987 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25990 wxListItem
*arg2
= 0 ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 char *kwnames
[] = {
25995 (char *) "self",(char *) "info", NULL
25998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26000 if (SWIG_arg_fail(1)) SWIG_fail
;
26002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26003 if (SWIG_arg_fail(2)) SWIG_fail
;
26004 if (arg2
== NULL
) {
26005 SWIG_null_ref("wxListItem");
26007 if (SWIG_arg_fail(2)) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 result
= (long)(arg1
)->InsertItem(*arg2
);
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_From_long((long)(result
));
26025 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
;
26027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26029 wxString
*arg3
= 0 ;
26031 bool temp3
= false ;
26032 PyObject
* obj0
= 0 ;
26033 PyObject
* obj1
= 0 ;
26034 PyObject
* obj2
= 0 ;
26035 char *kwnames
[] = {
26036 (char *) "self",(char *) "index",(char *) "label", NULL
26039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26041 if (SWIG_arg_fail(1)) SWIG_fail
;
26043 arg2
= (long)(SWIG_As_long(obj1
));
26044 if (SWIG_arg_fail(2)) SWIG_fail
;
26047 arg3
= wxString_in_helper(obj2
);
26048 if (arg3
== NULL
) SWIG_fail
;
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= SWIG_From_long((long)(result
));
26075 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
;
26077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 PyObject
* obj2
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26090 if (SWIG_arg_fail(1)) SWIG_fail
;
26092 arg2
= (long)(SWIG_As_long(obj1
));
26093 if (SWIG_arg_fail(2)) SWIG_fail
;
26096 arg3
= (int)(SWIG_As_int(obj2
));
26097 if (SWIG_arg_fail(3)) SWIG_fail
;
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26107 resultobj
= SWIG_From_long((long)(result
));
26115 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
;
26117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26119 wxString
*arg3
= 0 ;
26122 bool temp3
= false ;
26123 PyObject
* obj0
= 0 ;
26124 PyObject
* obj1
= 0 ;
26125 PyObject
* obj2
= 0 ;
26126 PyObject
* obj3
= 0 ;
26127 char *kwnames
[] = {
26128 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26133 if (SWIG_arg_fail(1)) SWIG_fail
;
26135 arg2
= (long)(SWIG_As_long(obj1
));
26136 if (SWIG_arg_fail(2)) SWIG_fail
;
26139 arg3
= wxString_in_helper(obj2
);
26140 if (arg3
== NULL
) SWIG_fail
;
26144 arg4
= (int)(SWIG_As_int(obj3
));
26145 if (SWIG_arg_fail(4)) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_From_long((long)(result
));
26171 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26175 wxListItem
*arg3
= 0 ;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 PyObject
* obj2
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self",(char *) "col",(char *) "info", NULL
26184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26186 if (SWIG_arg_fail(1)) SWIG_fail
;
26188 arg2
= (long)(SWIG_As_long(obj1
));
26189 if (SWIG_arg_fail(2)) SWIG_fail
;
26192 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26193 if (SWIG_arg_fail(3)) SWIG_fail
;
26194 if (arg3
== NULL
) {
26195 SWIG_null_ref("wxListItem");
26197 if (SWIG_arg_fail(3)) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= SWIG_From_long((long)(result
));
26215 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
;
26217 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26219 wxString
*arg3
= 0 ;
26220 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26221 int arg5
= (int) -1 ;
26223 bool temp3
= false ;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26226 PyObject
* obj2
= 0 ;
26227 PyObject
* obj3
= 0 ;
26228 PyObject
* obj4
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail
;
26237 arg2
= (long)(SWIG_As_long(obj1
));
26238 if (SWIG_arg_fail(2)) SWIG_fail
;
26241 arg3
= wxString_in_helper(obj2
);
26242 if (arg3
== NULL
) SWIG_fail
;
26247 arg4
= (int)(SWIG_As_int(obj3
));
26248 if (SWIG_arg_fail(4)) SWIG_fail
;
26253 arg5
= (int)(SWIG_As_int(obj4
));
26254 if (SWIG_arg_fail(5)) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_From_long((long)(result
));
26281 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
;
26283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 PyObject
* obj1
= 0 ;
26287 char *kwnames
[] = {
26288 (char *) "self",(char *) "count", NULL
26291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26293 if (SWIG_arg_fail(1)) SWIG_fail
;
26295 arg2
= (long)(SWIG_As_long(obj1
));
26296 if (SWIG_arg_fail(2)) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 (arg1
)->SetItemCount(arg2
);
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 Py_INCREF(Py_None
); resultobj
= Py_None
;
26312 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26320 PyObject
* obj2
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "self",(char *) "dx",(char *) "dy", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26327 if (SWIG_arg_fail(1)) SWIG_fail
;
26329 arg2
= (int)(SWIG_As_int(obj1
));
26330 if (SWIG_arg_fail(2)) SWIG_fail
;
26333 arg3
= (int)(SWIG_As_int(obj2
));
26334 if (SWIG_arg_fail(3)) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26352 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
;
26354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26356 wxColour
*arg3
= 0 ;
26358 PyObject
* obj0
= 0 ;
26359 PyObject
* obj1
= 0 ;
26360 PyObject
* obj2
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self",(char *) "item",(char *) "col", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26367 if (SWIG_arg_fail(1)) SWIG_fail
;
26369 arg2
= (long)(SWIG_As_long(obj1
));
26370 if (SWIG_arg_fail(2)) SWIG_fail
;
26374 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 Py_INCREF(Py_None
); resultobj
= Py_None
;
26390 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
;
26392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26395 PyObject
* obj0
= 0 ;
26396 PyObject
* obj1
= 0 ;
26397 char *kwnames
[] = {
26398 (char *) "self",(char *) "item", NULL
26401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26403 if (SWIG_arg_fail(1)) SWIG_fail
;
26405 arg2
= (long)(SWIG_As_long(obj1
));
26406 if (SWIG_arg_fail(2)) SWIG_fail
;
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 wxColour
* resultptr
;
26417 resultptr
= new wxColour((wxColour
&)(result
));
26418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26426 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
;
26428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26430 wxColour
*arg3
= 0 ;
26432 PyObject
* obj0
= 0 ;
26433 PyObject
* obj1
= 0 ;
26434 PyObject
* obj2
= 0 ;
26435 char *kwnames
[] = {
26436 (char *) "self",(char *) "item",(char *) "col", NULL
26439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26441 if (SWIG_arg_fail(1)) SWIG_fail
;
26443 arg2
= (long)(SWIG_As_long(obj1
));
26444 if (SWIG_arg_fail(2)) SWIG_fail
;
26448 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 Py_INCREF(Py_None
); resultobj
= Py_None
;
26464 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self",(char *) "item", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26477 if (SWIG_arg_fail(1)) SWIG_fail
;
26479 arg2
= (long)(SWIG_As_long(obj1
));
26480 if (SWIG_arg_fail(2)) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26490 wxColour
* resultptr
;
26491 resultptr
= new wxColour((wxColour
&)(result
));
26492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26500 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
;
26502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26503 PyObject
*arg2
= (PyObject
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "func", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26513 if (SWIG_arg_fail(1)) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26531 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26542 if (SWIG_arg_fail(1)) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= wxPyMake_wxObject(result
, 0);
26559 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26562 wxVisualAttributes result
;
26563 PyObject
* obj0
= 0 ;
26564 char *kwnames
[] = {
26565 (char *) "variant", NULL
26568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26571 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26572 if (SWIG_arg_fail(1)) SWIG_fail
;
26576 if (!wxPyCheckForApp()) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26584 wxVisualAttributes
* resultptr
;
26585 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26594 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26597 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26599 return Py_BuildValue((char *)"");
26601 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
;
26603 wxWindow
*arg1
= (wxWindow
*) 0 ;
26604 int arg2
= (int) -1 ;
26605 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26606 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26607 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26608 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26609 long arg5
= (long) wxLC_REPORT
;
26610 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26611 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26612 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26613 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26614 wxListView
*result
;
26617 bool temp7
= false ;
26618 PyObject
* obj0
= 0 ;
26619 PyObject
* obj1
= 0 ;
26620 PyObject
* obj2
= 0 ;
26621 PyObject
* obj3
= 0 ;
26622 PyObject
* obj4
= 0 ;
26623 PyObject
* obj5
= 0 ;
26624 PyObject
* obj6
= 0 ;
26625 char *kwnames
[] = {
26626 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26631 if (SWIG_arg_fail(1)) SWIG_fail
;
26634 arg2
= (int)(SWIG_As_int(obj1
));
26635 if (SWIG_arg_fail(2)) SWIG_fail
;
26641 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26647 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26652 arg5
= (long)(SWIG_As_long(obj4
));
26653 if (SWIG_arg_fail(5)) SWIG_fail
;
26658 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26659 if (SWIG_arg_fail(6)) SWIG_fail
;
26660 if (arg6
== NULL
) {
26661 SWIG_null_ref("wxValidator");
26663 if (SWIG_arg_fail(6)) SWIG_fail
;
26668 arg7
= wxString_in_helper(obj6
);
26669 if (arg7
== NULL
) SWIG_fail
;
26674 if (!wxPyCheckForApp()) SWIG_fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26696 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
;
26698 wxListView
*result
;
26699 char *kwnames
[] = {
26703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26705 if (!wxPyCheckForApp()) SWIG_fail
;
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= (wxListView
*)new wxListView();
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26719 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
;
26721 wxListView
*arg1
= (wxListView
*) 0 ;
26722 wxWindow
*arg2
= (wxWindow
*) 0 ;
26723 int arg3
= (int) -1 ;
26724 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26725 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26726 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26727 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26728 long arg6
= (long) wxLC_REPORT
;
26729 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26730 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26731 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26732 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26736 bool temp8
= false ;
26737 PyObject
* obj0
= 0 ;
26738 PyObject
* obj1
= 0 ;
26739 PyObject
* obj2
= 0 ;
26740 PyObject
* obj3
= 0 ;
26741 PyObject
* obj4
= 0 ;
26742 PyObject
* obj5
= 0 ;
26743 PyObject
* obj6
= 0 ;
26744 PyObject
* obj7
= 0 ;
26745 char *kwnames
[] = {
26746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26751 if (SWIG_arg_fail(1)) SWIG_fail
;
26752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26753 if (SWIG_arg_fail(2)) SWIG_fail
;
26756 arg3
= (int)(SWIG_As_int(obj2
));
26757 if (SWIG_arg_fail(3)) SWIG_fail
;
26763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26774 arg6
= (long)(SWIG_As_long(obj5
));
26775 if (SWIG_arg_fail(6)) SWIG_fail
;
26780 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26781 if (SWIG_arg_fail(7)) SWIG_fail
;
26782 if (arg7
== NULL
) {
26783 SWIG_null_ref("wxValidator");
26785 if (SWIG_arg_fail(7)) SWIG_fail
;
26790 arg8
= wxString_in_helper(obj7
);
26791 if (arg8
== NULL
) SWIG_fail
;
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26819 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26820 PyObject
*resultobj
;
26821 wxListView
*arg1
= (wxListView
*) 0 ;
26823 bool arg3
= (bool) true ;
26824 PyObject
* obj0
= 0 ;
26825 PyObject
* obj1
= 0 ;
26826 PyObject
* obj2
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self",(char *) "n",(char *) "on", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26833 if (SWIG_arg_fail(1)) SWIG_fail
;
26835 arg2
= (long)(SWIG_As_long(obj1
));
26836 if (SWIG_arg_fail(2)) SWIG_fail
;
26840 arg3
= (bool)(SWIG_As_bool(obj2
));
26841 if (SWIG_arg_fail(3)) SWIG_fail
;
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 (arg1
)->Select(arg2
,arg3
);
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 Py_INCREF(Py_None
); resultobj
= Py_None
;
26858 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
;
26860 wxListView
*arg1
= (wxListView
*) 0 ;
26862 PyObject
* obj0
= 0 ;
26863 PyObject
* obj1
= 0 ;
26864 char *kwnames
[] = {
26865 (char *) "self",(char *) "index", NULL
26868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26870 if (SWIG_arg_fail(1)) SWIG_fail
;
26872 arg2
= (long)(SWIG_As_long(obj1
));
26873 if (SWIG_arg_fail(2)) SWIG_fail
;
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 (arg1
)->Focus(arg2
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 Py_INCREF(Py_None
); resultobj
= Py_None
;
26889 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
;
26891 wxListView
*arg1
= (wxListView
*) 0 ;
26893 PyObject
* obj0
= 0 ;
26894 char *kwnames
[] = {
26895 (char *) "self", NULL
26898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26900 if (SWIG_arg_fail(1)) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 resultobj
= SWIG_From_long((long)(result
));
26917 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
;
26919 wxListView
*arg1
= (wxListView
*) 0 ;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "self",(char *) "item", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail
;
26932 arg2
= (long)(SWIG_As_long(obj1
));
26933 if (SWIG_arg_fail(2)) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= SWIG_From_long((long)(result
));
26951 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26952 PyObject
*resultobj
;
26953 wxListView
*arg1
= (wxListView
*) 0 ;
26955 PyObject
* obj0
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_From_long((long)(result
));
26979 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26980 PyObject
*resultobj
;
26981 wxListView
*arg1
= (wxListView
*) 0 ;
26984 PyObject
* obj0
= 0 ;
26985 PyObject
* obj1
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self",(char *) "index", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26992 if (SWIG_arg_fail(1)) SWIG_fail
;
26994 arg2
= (long)(SWIG_As_long(obj1
));
26995 if (SWIG_arg_fail(2)) SWIG_fail
;
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 result
= (bool)(arg1
)->IsSelected(arg2
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27013 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
;
27015 wxListView
*arg1
= (wxListView
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 PyObject
* obj2
= 0 ;
27021 char *kwnames
[] = {
27022 (char *) "self",(char *) "col",(char *) "image", NULL
27025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27027 if (SWIG_arg_fail(1)) SWIG_fail
;
27029 arg2
= (int)(SWIG_As_int(obj1
));
27030 if (SWIG_arg_fail(2)) SWIG_fail
;
27033 arg3
= (int)(SWIG_As_int(obj2
));
27034 if (SWIG_arg_fail(3)) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 (arg1
)->SetColumnImage(arg2
,arg3
);
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 Py_INCREF(Py_None
); resultobj
= Py_None
;
27050 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxListView
*arg1
= (wxListView
*) 0 ;
27054 PyObject
* obj0
= 0 ;
27055 PyObject
* obj1
= 0 ;
27056 char *kwnames
[] = {
27057 (char *) "self",(char *) "col", NULL
27060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27062 if (SWIG_arg_fail(1)) SWIG_fail
;
27064 arg2
= (int)(SWIG_As_int(obj1
));
27065 if (SWIG_arg_fail(2)) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 (arg1
)->ClearColumnImage(arg2
);
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27074 Py_INCREF(Py_None
); resultobj
= Py_None
;
27081 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27084 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27086 return Py_BuildValue((char *)"");
27088 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27089 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27094 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27099 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27101 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27108 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
;
27110 wxTreeItemId
*result
;
27111 char *kwnames
[] = {
27115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= (wxTreeItemId
*)new wxTreeItemId();
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27130 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
;
27132 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27133 PyObject
* obj0
= 0 ;
27134 char *kwnames
[] = {
27135 (char *) "self", NULL
27138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27140 if (SWIG_arg_fail(1)) SWIG_fail
;
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27148 Py_INCREF(Py_None
); resultobj
= Py_None
;
27155 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27156 PyObject
*resultobj
;
27157 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27159 PyObject
* obj0
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27166 if (SWIG_arg_fail(1)) SWIG_fail
;
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27183 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
;
27185 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27186 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27188 PyObject
* obj0
= 0 ;
27189 PyObject
* obj1
= 0 ;
27190 char *kwnames
[] = {
27191 (char *) "self",(char *) "other", NULL
27194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27196 if (SWIG_arg_fail(1)) SWIG_fail
;
27197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27198 if (SWIG_arg_fail(2)) SWIG_fail
;
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27203 wxPyEndAllowThreads(__tstate
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27215 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27218 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27220 PyObject
* obj0
= 0 ;
27221 PyObject
* obj1
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self",(char *) "other", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27228 if (SWIG_arg_fail(1)) SWIG_fail
;
27229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27230 if (SWIG_arg_fail(2)) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27247 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27248 PyObject
*resultobj
;
27249 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27250 void *arg2
= (void *) 0 ;
27251 PyObject
* obj0
= 0 ;
27252 PyObject
* obj1
= 0 ;
27253 char *kwnames
[] = {
27254 (char *) "self",(char *) "m_pItem", NULL
27257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27259 if (SWIG_arg_fail(1)) SWIG_fail
;
27261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27262 SWIG_arg_fail(2);SWIG_fail
;
27265 if (arg1
) (arg1
)->m_pItem
= arg2
;
27267 Py_INCREF(Py_None
); resultobj
= Py_None
;
27274 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27278 PyObject
* obj0
= 0 ;
27279 char *kwnames
[] = {
27280 (char *) "self", NULL
27283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27285 if (SWIG_arg_fail(1)) SWIG_fail
;
27286 result
= (void *) ((arg1
)->m_pItem
);
27288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27295 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27298 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27300 return Py_BuildValue((char *)"");
27302 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
;
27304 PyObject
*arg1
= (PyObject
*) NULL
;
27305 wxPyTreeItemData
*result
;
27306 PyObject
* obj0
= 0 ;
27307 char *kwnames
[] = {
27308 (char *) "obj", NULL
27311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27329 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
;
27331 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27333 PyObject
* obj0
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self", NULL
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27340 if (SWIG_arg_fail(1)) SWIG_fail
;
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 result
= (PyObject
*)(arg1
)->GetData();
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 resultobj
= result
;
27355 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27358 PyObject
*arg2
= (PyObject
*) 0 ;
27359 PyObject
* obj0
= 0 ;
27360 PyObject
* obj1
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self",(char *) "obj", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27367 if (SWIG_arg_fail(1)) SWIG_fail
;
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 (arg1
)->SetData(arg2
);
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 Py_INCREF(Py_None
); resultobj
= Py_None
;
27383 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27386 wxTreeItemId
*result
;
27387 PyObject
* obj0
= 0 ;
27388 char *kwnames
[] = {
27389 (char *) "self", NULL
27392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27394 if (SWIG_arg_fail(1)) SWIG_fail
;
27396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27399 result
= (wxTreeItemId
*) &_result_ref
;
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27412 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27413 PyObject
*resultobj
;
27414 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27415 wxTreeItemId
*arg2
= 0 ;
27416 PyObject
* obj0
= 0 ;
27417 PyObject
* obj1
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "self",(char *) "id", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27424 if (SWIG_arg_fail(1)) SWIG_fail
;
27426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27427 if (SWIG_arg_fail(2)) SWIG_fail
;
27428 if (arg2
== NULL
) {
27429 SWIG_null_ref("wxTreeItemId");
27431 if (SWIG_arg_fail(2)) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27440 Py_INCREF(Py_None
); resultobj
= Py_None
;
27447 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27450 PyObject
* obj0
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27457 if (SWIG_arg_fail(1)) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 wxPyTreeItemData_Destroy(arg1
);
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 Py_INCREF(Py_None
); resultobj
= Py_None
;
27472 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27475 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27477 return Py_BuildValue((char *)"");
27479 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27480 PyObject
*resultobj
;
27481 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27482 int arg2
= (int) 0 ;
27483 wxTreeEvent
*result
;
27484 PyObject
* obj0
= 0 ;
27485 PyObject
* obj1
= 0 ;
27486 char *kwnames
[] = {
27487 (char *) "commandType",(char *) "id", NULL
27490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27493 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27494 if (SWIG_arg_fail(1)) SWIG_fail
;
27499 arg2
= (int)(SWIG_As_int(obj1
));
27500 if (SWIG_arg_fail(2)) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27517 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27520 wxTreeItemId result
;
27521 PyObject
* obj0
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27537 wxTreeItemId
* resultptr
;
27538 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27547 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27548 PyObject
*resultobj
;
27549 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27550 wxTreeItemId
*arg2
= 0 ;
27551 PyObject
* obj0
= 0 ;
27552 PyObject
* obj1
= 0 ;
27553 char *kwnames
[] = {
27554 (char *) "self",(char *) "item", NULL
27557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27559 if (SWIG_arg_fail(1)) SWIG_fail
;
27561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27562 if (SWIG_arg_fail(2)) SWIG_fail
;
27563 if (arg2
== NULL
) {
27564 SWIG_null_ref("wxTreeItemId");
27566 if (SWIG_arg_fail(2)) SWIG_fail
;
27569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27570 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27572 wxPyEndAllowThreads(__tstate
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27575 Py_INCREF(Py_None
); resultobj
= Py_None
;
27582 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27583 PyObject
*resultobj
;
27584 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27585 wxTreeItemId result
;
27586 PyObject
* obj0
= 0 ;
27587 char *kwnames
[] = {
27588 (char *) "self", NULL
27591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27593 if (SWIG_arg_fail(1)) SWIG_fail
;
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27602 wxTreeItemId
* resultptr
;
27603 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27612 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
;
27614 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27615 wxTreeItemId
*arg2
= 0 ;
27616 PyObject
* obj0
= 0 ;
27617 PyObject
* obj1
= 0 ;
27618 char *kwnames
[] = {
27619 (char *) "self",(char *) "item", NULL
27622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27624 if (SWIG_arg_fail(1)) SWIG_fail
;
27626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27627 if (SWIG_arg_fail(2)) SWIG_fail
;
27628 if (arg2
== NULL
) {
27629 SWIG_null_ref("wxTreeItemId");
27631 if (SWIG_arg_fail(2)) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 Py_INCREF(Py_None
); resultobj
= Py_None
;
27647 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27651 PyObject
* obj0
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27658 if (SWIG_arg_fail(1)) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27667 wxPoint
* resultptr
;
27668 resultptr
= new wxPoint((wxPoint
&)(result
));
27669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27677 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27680 wxPoint
*arg2
= 0 ;
27682 PyObject
* obj0
= 0 ;
27683 PyObject
* obj1
= 0 ;
27684 char *kwnames
[] = {
27685 (char *) "self",(char *) "pt", NULL
27688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27690 if (SWIG_arg_fail(1)) SWIG_fail
;
27693 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 Py_INCREF(Py_None
); resultobj
= Py_None
;
27709 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
;
27711 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27712 wxKeyEvent
*result
;
27713 PyObject
* obj0
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27720 if (SWIG_arg_fail(1)) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27725 result
= (wxKeyEvent
*) &_result_ref
;
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27738 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
;
27740 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27742 PyObject
* obj0
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "self", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27752 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27754 wxPyEndAllowThreads(__tstate
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27758 resultobj
= SWIG_From_int((int)(result
));
27766 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
;
27768 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27769 wxKeyEvent
*arg2
= 0 ;
27770 PyObject
* obj0
= 0 ;
27771 PyObject
* obj1
= 0 ;
27772 char *kwnames
[] = {
27773 (char *) "self",(char *) "evt", NULL
27776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27778 if (SWIG_arg_fail(1)) SWIG_fail
;
27780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27781 if (SWIG_arg_fail(2)) SWIG_fail
;
27782 if (arg2
== NULL
) {
27783 SWIG_null_ref("wxKeyEvent");
27785 if (SWIG_arg_fail(2)) SWIG_fail
;
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 Py_INCREF(Py_None
); resultobj
= Py_None
;
27801 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
;
27803 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27805 PyObject
* obj0
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "self", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27812 if (SWIG_arg_fail(1)) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27816 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27817 result
= (wxString
*) &_result_ref
;
27820 wxPyEndAllowThreads(__tstate
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27827 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27836 static PyObject
*_wrap_TreeEvent_SetLabel(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 *) "label", NULL
27847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",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
)->SetLabel((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_IsEditCancelled(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_IsEditCancelled",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
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27905 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
;
27907 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27909 PyObject
* obj0
= 0 ;
27910 PyObject
* obj1
= 0 ;
27911 char *kwnames
[] = {
27912 (char *) "self",(char *) "editCancelled", NULL
27915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27917 if (SWIG_arg_fail(1)) SWIG_fail
;
27919 arg2
= (bool)(SWIG_As_bool(obj1
));
27920 if (SWIG_arg_fail(2)) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 (arg1
)->SetEditCanceled(arg2
);
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27929 Py_INCREF(Py_None
); resultobj
= Py_None
;
27936 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
;
27938 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27939 wxString
*arg2
= 0 ;
27940 bool temp2
= false ;
27941 PyObject
* obj0
= 0 ;
27942 PyObject
* obj1
= 0 ;
27943 char *kwnames
[] = {
27944 (char *) "self",(char *) "toolTip", NULL
27947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27949 if (SWIG_arg_fail(1)) SWIG_fail
;
27951 arg2
= wxString_in_helper(obj1
);
27952 if (arg2
== NULL
) SWIG_fail
;
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27957 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27959 wxPyEndAllowThreads(__tstate
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 Py_INCREF(Py_None
); resultobj
= Py_None
;
27977 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27988 if (SWIG_arg_fail(1)) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (arg1
)->GetToolTip();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28009 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
28011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28012 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
28014 return Py_BuildValue((char *)"");
28016 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28017 PyObject
*resultobj
;
28018 wxWindow
*arg1
= (wxWindow
*) 0 ;
28019 int arg2
= (int) -1 ;
28020 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28021 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28022 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28023 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28024 long arg5
= (long) wxTR_DEFAULT_STYLE
;
28025 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28026 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28027 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
28028 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28029 wxPyTreeCtrl
*result
;
28032 bool temp7
= false ;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 PyObject
* obj2
= 0 ;
28036 PyObject
* obj3
= 0 ;
28037 PyObject
* obj4
= 0 ;
28038 PyObject
* obj5
= 0 ;
28039 PyObject
* obj6
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28046 if (SWIG_arg_fail(1)) SWIG_fail
;
28049 arg2
= (int)(SWIG_As_int(obj1
));
28050 if (SWIG_arg_fail(2)) SWIG_fail
;
28056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28062 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28067 arg5
= (long)(SWIG_As_long(obj4
));
28068 if (SWIG_arg_fail(5)) SWIG_fail
;
28073 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28074 if (SWIG_arg_fail(6)) SWIG_fail
;
28075 if (arg6
== NULL
) {
28076 SWIG_null_ref("wxValidator");
28078 if (SWIG_arg_fail(6)) SWIG_fail
;
28083 arg7
= wxString_in_helper(obj6
);
28084 if (arg7
== NULL
) SWIG_fail
;
28089 if (!wxPyCheckForApp()) SWIG_fail
;
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28111 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28112 PyObject
*resultobj
;
28113 wxPyTreeCtrl
*result
;
28114 char *kwnames
[] = {
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28120 if (!wxPyCheckForApp()) SWIG_fail
;
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28134 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28137 wxWindow
*arg2
= (wxWindow
*) 0 ;
28138 int arg3
= (int) -1 ;
28139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28143 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28144 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28145 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28146 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28147 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28151 bool temp8
= false ;
28152 PyObject
* obj0
= 0 ;
28153 PyObject
* obj1
= 0 ;
28154 PyObject
* obj2
= 0 ;
28155 PyObject
* obj3
= 0 ;
28156 PyObject
* obj4
= 0 ;
28157 PyObject
* obj5
= 0 ;
28158 PyObject
* obj6
= 0 ;
28159 PyObject
* obj7
= 0 ;
28160 char *kwnames
[] = {
28161 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28166 if (SWIG_arg_fail(1)) SWIG_fail
;
28167 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28168 if (SWIG_arg_fail(2)) SWIG_fail
;
28171 arg3
= (int)(SWIG_As_int(obj2
));
28172 if (SWIG_arg_fail(3)) SWIG_fail
;
28178 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28184 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28189 arg6
= (long)(SWIG_As_long(obj5
));
28190 if (SWIG_arg_fail(6)) SWIG_fail
;
28195 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28196 if (SWIG_arg_fail(7)) SWIG_fail
;
28197 if (arg7
== NULL
) {
28198 SWIG_null_ref("wxValidator");
28200 if (SWIG_arg_fail(7)) SWIG_fail
;
28205 arg8
= wxString_in_helper(obj7
);
28206 if (arg8
== NULL
) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28234 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28235 PyObject
*resultobj
;
28236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28237 PyObject
*arg2
= (PyObject
*) 0 ;
28238 PyObject
*arg3
= (PyObject
*) 0 ;
28239 PyObject
* obj0
= 0 ;
28240 PyObject
* obj1
= 0 ;
28241 PyObject
* obj2
= 0 ;
28242 char *kwnames
[] = {
28243 (char *) "self",(char *) "self",(char *) "_class", NULL
28246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28248 if (SWIG_arg_fail(1)) SWIG_fail
;
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 Py_INCREF(Py_None
); resultobj
= Py_None
;
28265 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
;
28267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 char *kwnames
[] = {
28271 (char *) "self", NULL
28274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28276 if (SWIG_arg_fail(1)) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28293 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28294 PyObject
*resultobj
;
28295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28296 unsigned int result
;
28297 PyObject
* obj0
= 0 ;
28298 char *kwnames
[] = {
28299 (char *) "self", NULL
28302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28304 if (SWIG_arg_fail(1)) SWIG_fail
;
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28321 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28322 PyObject
*resultobj
;
28323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28324 unsigned int arg2
;
28325 PyObject
* obj0
= 0 ;
28326 PyObject
* obj1
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "self",(char *) "indent", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28333 if (SWIG_arg_fail(1)) SWIG_fail
;
28335 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28336 if (SWIG_arg_fail(2)) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 (arg1
)->SetIndent(arg2
);
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 Py_INCREF(Py_None
); resultobj
= Py_None
;
28352 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
;
28354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28355 unsigned int result
;
28356 PyObject
* obj0
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "self", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28363 if (SWIG_arg_fail(1)) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28380 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
;
28382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28383 unsigned int arg2
;
28384 PyObject
* obj0
= 0 ;
28385 PyObject
* obj1
= 0 ;
28386 char *kwnames
[] = {
28387 (char *) "self",(char *) "spacing", NULL
28390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28392 if (SWIG_arg_fail(1)) SWIG_fail
;
28394 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28395 if (SWIG_arg_fail(2)) SWIG_fail
;
28398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28399 (arg1
)->SetSpacing(arg2
);
28401 wxPyEndAllowThreads(__tstate
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28404 Py_INCREF(Py_None
); resultobj
= Py_None
;
28411 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28412 PyObject
*resultobj
;
28413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28414 wxImageList
*result
;
28415 PyObject
* obj0
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28422 if (SWIG_arg_fail(1)) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= wxPyMake_wxObject(result
, 0);
28439 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28442 wxImageList
*result
;
28443 PyObject
* obj0
= 0 ;
28444 char *kwnames
[] = {
28445 (char *) "self", NULL
28448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28450 if (SWIG_arg_fail(1)) SWIG_fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28459 resultobj
= wxPyMake_wxObject(result
, 0);
28467 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
;
28469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28470 wxImageList
*arg2
= (wxImageList
*) 0 ;
28471 PyObject
* obj0
= 0 ;
28472 PyObject
* obj1
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self",(char *) "imageList", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail
;
28480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28481 if (SWIG_arg_fail(2)) SWIG_fail
;
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 (arg1
)->SetImageList(arg2
);
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 Py_INCREF(Py_None
); resultobj
= Py_None
;
28496 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28499 wxImageList
*arg2
= (wxImageList
*) 0 ;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 char *kwnames
[] = {
28503 (char *) "self",(char *) "imageList", NULL
28506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28508 if (SWIG_arg_fail(1)) SWIG_fail
;
28509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28510 if (SWIG_arg_fail(2)) SWIG_fail
;
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 (arg1
)->SetStateImageList(arg2
);
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28518 Py_INCREF(Py_None
); resultobj
= Py_None
;
28525 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
;
28527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28528 wxImageList
*arg2
= (wxImageList
*) 0 ;
28529 PyObject
* obj0
= 0 ;
28530 PyObject
* obj1
= 0 ;
28531 char *kwnames
[] = {
28532 (char *) "self",(char *) "imageList", NULL
28535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28537 if (SWIG_arg_fail(1)) SWIG_fail
;
28538 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28539 if (SWIG_arg_fail(2)) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 (arg1
)->AssignImageList(arg2
);
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 Py_INCREF(Py_None
); resultobj
= Py_None
;
28554 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
;
28556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28557 wxImageList
*arg2
= (wxImageList
*) 0 ;
28558 PyObject
* obj0
= 0 ;
28559 PyObject
* obj1
= 0 ;
28560 char *kwnames
[] = {
28561 (char *) "self",(char *) "imageList", NULL
28564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28566 if (SWIG_arg_fail(1)) SWIG_fail
;
28567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28568 if (SWIG_arg_fail(2)) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 (arg1
)->AssignStateImageList(arg2
);
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 Py_INCREF(Py_None
); resultobj
= Py_None
;
28583 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28586 wxTreeItemId
*arg2
= 0 ;
28588 PyObject
* obj0
= 0 ;
28589 PyObject
* obj1
= 0 ;
28590 char *kwnames
[] = {
28591 (char *) "self",(char *) "item", NULL
28594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28596 if (SWIG_arg_fail(1)) SWIG_fail
;
28598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28599 if (SWIG_arg_fail(2)) SWIG_fail
;
28600 if (arg2
== NULL
) {
28601 SWIG_null_ref("wxTreeItemId");
28603 if (SWIG_arg_fail(2)) SWIG_fail
;
28606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28625 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
;
28627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28628 wxTreeItemId
*arg2
= 0 ;
28629 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28631 PyObject
* obj0
= 0 ;
28632 PyObject
* obj1
= 0 ;
28633 PyObject
* obj2
= 0 ;
28634 char *kwnames
[] = {
28635 (char *) "self",(char *) "item",(char *) "which", NULL
28638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28640 if (SWIG_arg_fail(1)) SWIG_fail
;
28642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28643 if (SWIG_arg_fail(2)) SWIG_fail
;
28644 if (arg2
== NULL
) {
28645 SWIG_null_ref("wxTreeItemId");
28647 if (SWIG_arg_fail(2)) SWIG_fail
;
28651 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28652 if (SWIG_arg_fail(3)) SWIG_fail
;
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= SWIG_From_int((int)(result
));
28671 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28674 wxTreeItemId
*arg2
= 0 ;
28675 wxPyTreeItemData
*result
;
28676 PyObject
* obj0
= 0 ;
28677 PyObject
* obj1
= 0 ;
28678 char *kwnames
[] = {
28679 (char *) "self",(char *) "item", NULL
28682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28684 if (SWIG_arg_fail(1)) SWIG_fail
;
28686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28687 if (SWIG_arg_fail(2)) SWIG_fail
;
28688 if (arg2
== NULL
) {
28689 SWIG_null_ref("wxTreeItemId");
28691 if (SWIG_arg_fail(2)) SWIG_fail
;
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28707 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
;
28709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28710 wxTreeItemId
*arg2
= 0 ;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 char *kwnames
[] = {
28715 (char *) "self",(char *) "item", NULL
28718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28720 if (SWIG_arg_fail(1)) SWIG_fail
;
28722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28723 if (SWIG_arg_fail(2)) SWIG_fail
;
28724 if (arg2
== NULL
) {
28725 SWIG_null_ref("wxTreeItemId");
28727 if (SWIG_arg_fail(2)) SWIG_fail
;
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28733 wxPyEndAllowThreads(__tstate
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= result
;
28743 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
;
28745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28746 wxTreeItemId
*arg2
= 0 ;
28748 PyObject
* obj0
= 0 ;
28749 PyObject
* obj1
= 0 ;
28750 char *kwnames
[] = {
28751 (char *) "self",(char *) "item", NULL
28754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28756 if (SWIG_arg_fail(1)) SWIG_fail
;
28758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28759 if (SWIG_arg_fail(2)) SWIG_fail
;
28760 if (arg2
== NULL
) {
28761 SWIG_null_ref("wxTreeItemId");
28763 if (SWIG_arg_fail(2)) SWIG_fail
;
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28769 wxPyEndAllowThreads(__tstate
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28773 wxColour
* resultptr
;
28774 resultptr
= new wxColour((wxColour
&)(result
));
28775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28783 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28784 PyObject
*resultobj
;
28785 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28786 wxTreeItemId
*arg2
= 0 ;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 char *kwnames
[] = {
28791 (char *) "self",(char *) "item", NULL
28794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28796 if (SWIG_arg_fail(1)) SWIG_fail
;
28798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28799 if (SWIG_arg_fail(2)) SWIG_fail
;
28800 if (arg2
== NULL
) {
28801 SWIG_null_ref("wxTreeItemId");
28803 if (SWIG_arg_fail(2)) SWIG_fail
;
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28813 wxColour
* resultptr
;
28814 resultptr
= new wxColour((wxColour
&)(result
));
28815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28823 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28826 wxTreeItemId
*arg2
= 0 ;
28828 PyObject
* obj0
= 0 ;
28829 PyObject
* obj1
= 0 ;
28830 char *kwnames
[] = {
28831 (char *) "self",(char *) "item", NULL
28834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28836 if (SWIG_arg_fail(1)) SWIG_fail
;
28838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28839 if (SWIG_arg_fail(2)) SWIG_fail
;
28840 if (arg2
== NULL
) {
28841 SWIG_null_ref("wxTreeItemId");
28843 if (SWIG_arg_fail(2)) SWIG_fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28853 wxFont
* resultptr
;
28854 resultptr
= new wxFont((wxFont
&)(result
));
28855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28863 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28864 PyObject
*resultobj
;
28865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28866 wxTreeItemId
*arg2
= 0 ;
28867 wxString
*arg3
= 0 ;
28868 bool temp3
= false ;
28869 PyObject
* obj0
= 0 ;
28870 PyObject
* obj1
= 0 ;
28871 PyObject
* obj2
= 0 ;
28872 char *kwnames
[] = {
28873 (char *) "self",(char *) "item",(char *) "text", NULL
28876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28878 if (SWIG_arg_fail(1)) SWIG_fail
;
28880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28881 if (SWIG_arg_fail(2)) SWIG_fail
;
28882 if (arg2
== NULL
) {
28883 SWIG_null_ref("wxTreeItemId");
28885 if (SWIG_arg_fail(2)) SWIG_fail
;
28888 arg3
= wxString_in_helper(obj2
);
28889 if (arg3
== NULL
) SWIG_fail
;
28893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28894 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28896 wxPyEndAllowThreads(__tstate
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28899 Py_INCREF(Py_None
); resultobj
= Py_None
;
28914 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
;
28916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28917 wxTreeItemId
*arg2
= 0 ;
28919 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28920 PyObject
* obj0
= 0 ;
28921 PyObject
* obj1
= 0 ;
28922 PyObject
* obj2
= 0 ;
28923 PyObject
* obj3
= 0 ;
28924 char *kwnames
[] = {
28925 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28930 if (SWIG_arg_fail(1)) SWIG_fail
;
28932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28933 if (SWIG_arg_fail(2)) SWIG_fail
;
28934 if (arg2
== NULL
) {
28935 SWIG_null_ref("wxTreeItemId");
28937 if (SWIG_arg_fail(2)) SWIG_fail
;
28940 arg3
= (int)(SWIG_As_int(obj2
));
28941 if (SWIG_arg_fail(3)) SWIG_fail
;
28945 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28946 if (SWIG_arg_fail(4)) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 Py_INCREF(Py_None
); resultobj
= Py_None
;
28963 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28966 wxTreeItemId
*arg2
= 0 ;
28967 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28968 PyObject
* obj0
= 0 ;
28969 PyObject
* obj1
= 0 ;
28970 PyObject
* obj2
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self",(char *) "item",(char *) "data", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28977 if (SWIG_arg_fail(1)) SWIG_fail
;
28979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28980 if (SWIG_arg_fail(2)) SWIG_fail
;
28981 if (arg2
== NULL
) {
28982 SWIG_null_ref("wxTreeItemId");
28984 if (SWIG_arg_fail(2)) SWIG_fail
;
28986 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28987 if (SWIG_arg_fail(3)) SWIG_fail
;
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 Py_INCREF(Py_None
); resultobj
= Py_None
;
29002 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29005 wxTreeItemId
*arg2
= 0 ;
29006 PyObject
*arg3
= (PyObject
*) 0 ;
29007 PyObject
* obj0
= 0 ;
29008 PyObject
* obj1
= 0 ;
29009 PyObject
* obj2
= 0 ;
29010 char *kwnames
[] = {
29011 (char *) "self",(char *) "item",(char *) "obj", NULL
29014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29016 if (SWIG_arg_fail(1)) SWIG_fail
;
29018 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29019 if (SWIG_arg_fail(2)) SWIG_fail
;
29020 if (arg2
== NULL
) {
29021 SWIG_null_ref("wxTreeItemId");
29023 if (SWIG_arg_fail(2)) SWIG_fail
;
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 Py_INCREF(Py_None
); resultobj
= Py_None
;
29040 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
;
29042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29043 wxTreeItemId
*arg2
= 0 ;
29044 bool arg3
= (bool) true ;
29045 PyObject
* obj0
= 0 ;
29046 PyObject
* obj1
= 0 ;
29047 PyObject
* obj2
= 0 ;
29048 char *kwnames
[] = {
29049 (char *) "self",(char *) "item",(char *) "has", NULL
29052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29054 if (SWIG_arg_fail(1)) SWIG_fail
;
29056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29057 if (SWIG_arg_fail(2)) SWIG_fail
;
29058 if (arg2
== NULL
) {
29059 SWIG_null_ref("wxTreeItemId");
29061 if (SWIG_arg_fail(2)) SWIG_fail
;
29065 arg3
= (bool)(SWIG_As_bool(obj2
));
29066 if (SWIG_arg_fail(3)) SWIG_fail
;
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29073 wxPyEndAllowThreads(__tstate
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29076 Py_INCREF(Py_None
); resultobj
= Py_None
;
29083 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
;
29085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29086 wxTreeItemId
*arg2
= 0 ;
29087 bool arg3
= (bool) true ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 PyObject
* obj2
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self",(char *) "item",(char *) "bold", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail
;
29099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29100 if (SWIG_arg_fail(2)) SWIG_fail
;
29101 if (arg2
== NULL
) {
29102 SWIG_null_ref("wxTreeItemId");
29104 if (SWIG_arg_fail(2)) SWIG_fail
;
29108 arg3
= (bool)(SWIG_As_bool(obj2
));
29109 if (SWIG_arg_fail(3)) SWIG_fail
;
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29116 wxPyEndAllowThreads(__tstate
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 Py_INCREF(Py_None
); resultobj
= Py_None
;
29126 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29127 PyObject
*resultobj
;
29128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29129 wxTreeItemId
*arg2
= 0 ;
29130 bool arg3
= (bool) true ;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 PyObject
* obj2
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self",(char *) "item",(char *) "highlight", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29140 if (SWIG_arg_fail(1)) SWIG_fail
;
29142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29143 if (SWIG_arg_fail(2)) SWIG_fail
;
29144 if (arg2
== NULL
) {
29145 SWIG_null_ref("wxTreeItemId");
29147 if (SWIG_arg_fail(2)) SWIG_fail
;
29151 arg3
= (bool)(SWIG_As_bool(obj2
));
29152 if (SWIG_arg_fail(3)) SWIG_fail
;
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 Py_INCREF(Py_None
); resultobj
= Py_None
;
29169 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
;
29171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29172 wxTreeItemId
*arg2
= 0 ;
29173 wxColour
*arg3
= 0 ;
29175 PyObject
* obj0
= 0 ;
29176 PyObject
* obj1
= 0 ;
29177 PyObject
* obj2
= 0 ;
29178 char *kwnames
[] = {
29179 (char *) "self",(char *) "item",(char *) "col", NULL
29182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29184 if (SWIG_arg_fail(1)) SWIG_fail
;
29186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29187 if (SWIG_arg_fail(2)) SWIG_fail
;
29188 if (arg2
== NULL
) {
29189 SWIG_null_ref("wxTreeItemId");
29191 if (SWIG_arg_fail(2)) SWIG_fail
;
29195 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29199 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 Py_INCREF(Py_None
); resultobj
= Py_None
;
29211 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
;
29213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29214 wxTreeItemId
*arg2
= 0 ;
29215 wxColour
*arg3
= 0 ;
29217 PyObject
* obj0
= 0 ;
29218 PyObject
* obj1
= 0 ;
29219 PyObject
* obj2
= 0 ;
29220 char *kwnames
[] = {
29221 (char *) "self",(char *) "item",(char *) "col", NULL
29224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29226 if (SWIG_arg_fail(1)) SWIG_fail
;
29228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29229 if (SWIG_arg_fail(2)) SWIG_fail
;
29230 if (arg2
== NULL
) {
29231 SWIG_null_ref("wxTreeItemId");
29233 if (SWIG_arg_fail(2)) SWIG_fail
;
29237 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29241 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29243 wxPyEndAllowThreads(__tstate
);
29244 if (PyErr_Occurred()) SWIG_fail
;
29246 Py_INCREF(Py_None
); resultobj
= Py_None
;
29253 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29254 PyObject
*resultobj
;
29255 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29256 wxTreeItemId
*arg2
= 0 ;
29258 PyObject
* obj0
= 0 ;
29259 PyObject
* obj1
= 0 ;
29260 PyObject
* obj2
= 0 ;
29261 char *kwnames
[] = {
29262 (char *) "self",(char *) "item",(char *) "font", NULL
29265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29267 if (SWIG_arg_fail(1)) SWIG_fail
;
29269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29270 if (SWIG_arg_fail(2)) SWIG_fail
;
29271 if (arg2
== NULL
) {
29272 SWIG_null_ref("wxTreeItemId");
29274 if (SWIG_arg_fail(2)) SWIG_fail
;
29277 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29278 if (SWIG_arg_fail(3)) SWIG_fail
;
29279 if (arg3
== NULL
) {
29280 SWIG_null_ref("wxFont");
29282 if (SWIG_arg_fail(3)) SWIG_fail
;
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29288 wxPyEndAllowThreads(__tstate
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29291 Py_INCREF(Py_None
); resultobj
= Py_None
;
29298 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
;
29300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29301 wxTreeItemId
*arg2
= 0 ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self",(char *) "item", NULL
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29311 if (SWIG_arg_fail(1)) SWIG_fail
;
29313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29314 if (SWIG_arg_fail(2)) SWIG_fail
;
29315 if (arg2
== NULL
) {
29316 SWIG_null_ref("wxTreeItemId");
29318 if (SWIG_arg_fail(2)) SWIG_fail
;
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29336 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
;
29338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29339 wxTreeItemId
*arg2
= 0 ;
29341 PyObject
* obj0
= 0 ;
29342 PyObject
* obj1
= 0 ;
29343 char *kwnames
[] = {
29344 (char *) "self",(char *) "item", NULL
29347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29349 if (SWIG_arg_fail(1)) SWIG_fail
;
29351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29352 if (SWIG_arg_fail(2)) SWIG_fail
;
29353 if (arg2
== NULL
) {
29354 SWIG_null_ref("wxTreeItemId");
29356 if (SWIG_arg_fail(2)) SWIG_fail
;
29359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29360 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29362 wxPyEndAllowThreads(__tstate
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29374 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29375 PyObject
*resultobj
;
29376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29377 wxTreeItemId
*arg2
= 0 ;
29379 PyObject
* obj0
= 0 ;
29380 PyObject
* obj1
= 0 ;
29381 char *kwnames
[] = {
29382 (char *) "self",(char *) "item", NULL
29385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29387 if (SWIG_arg_fail(1)) SWIG_fail
;
29389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29390 if (SWIG_arg_fail(2)) SWIG_fail
;
29391 if (arg2
== NULL
) {
29392 SWIG_null_ref("wxTreeItemId");
29394 if (SWIG_arg_fail(2)) SWIG_fail
;
29397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29398 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29412 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
;
29414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29415 wxTreeItemId
*arg2
= 0 ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 char *kwnames
[] = {
29420 (char *) "self",(char *) "item", NULL
29423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29425 if (SWIG_arg_fail(1)) SWIG_fail
;
29427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29428 if (SWIG_arg_fail(2)) SWIG_fail
;
29429 if (arg2
== NULL
) {
29430 SWIG_null_ref("wxTreeItemId");
29432 if (SWIG_arg_fail(2)) SWIG_fail
;
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29450 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29451 PyObject
*resultobj
;
29452 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29453 wxTreeItemId
*arg2
= 0 ;
29455 PyObject
* obj0
= 0 ;
29456 PyObject
* obj1
= 0 ;
29457 char *kwnames
[] = {
29458 (char *) "self",(char *) "item", NULL
29461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29463 if (SWIG_arg_fail(1)) SWIG_fail
;
29465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29466 if (SWIG_arg_fail(2)) SWIG_fail
;
29467 if (arg2
== NULL
) {
29468 SWIG_null_ref("wxTreeItemId");
29470 if (SWIG_arg_fail(2)) SWIG_fail
;
29473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29474 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29476 wxPyEndAllowThreads(__tstate
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29488 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29489 PyObject
*resultobj
;
29490 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29491 wxTreeItemId
*arg2
= 0 ;
29492 bool arg3
= (bool) true ;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 PyObject
* obj2
= 0 ;
29497 char *kwnames
[] = {
29498 (char *) "self",(char *) "item",(char *) "recursively", NULL
29501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29503 if (SWIG_arg_fail(1)) SWIG_fail
;
29505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29506 if (SWIG_arg_fail(2)) SWIG_fail
;
29507 if (arg2
== NULL
) {
29508 SWIG_null_ref("wxTreeItemId");
29510 if (SWIG_arg_fail(2)) SWIG_fail
;
29514 arg3
= (bool)(SWIG_As_bool(obj2
));
29515 if (SWIG_arg_fail(3)) SWIG_fail
;
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29526 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29534 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
;
29536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29537 wxTreeItemId result
;
29538 PyObject
* obj0
= 0 ;
29539 char *kwnames
[] = {
29540 (char *) "self", NULL
29543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29545 if (SWIG_arg_fail(1)) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29554 wxTreeItemId
* resultptr
;
29555 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29564 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
;
29566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29567 wxTreeItemId result
;
29568 PyObject
* obj0
= 0 ;
29569 char *kwnames
[] = {
29570 (char *) "self", NULL
29573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29575 if (SWIG_arg_fail(1)) SWIG_fail
;
29577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29578 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29580 wxPyEndAllowThreads(__tstate
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29584 wxTreeItemId
* resultptr
;
29585 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29594 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29595 PyObject
*resultobj
;
29596 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29598 PyObject
* obj0
= 0 ;
29599 char *kwnames
[] = {
29600 (char *) "self", NULL
29603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29605 if (SWIG_arg_fail(1)) SWIG_fail
;
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= result
;
29620 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
;
29622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29623 wxTreeItemId
*arg2
= 0 ;
29624 wxTreeItemId result
;
29625 PyObject
* obj0
= 0 ;
29626 PyObject
* obj1
= 0 ;
29627 char *kwnames
[] = {
29628 (char *) "self",(char *) "item", NULL
29631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29633 if (SWIG_arg_fail(1)) SWIG_fail
;
29635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29636 if (SWIG_arg_fail(2)) SWIG_fail
;
29637 if (arg2
== NULL
) {
29638 SWIG_null_ref("wxTreeItemId");
29640 if (SWIG_arg_fail(2)) SWIG_fail
;
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29646 wxPyEndAllowThreads(__tstate
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29650 wxTreeItemId
* resultptr
;
29651 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29660 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
;
29662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29663 wxTreeItemId
*arg2
= 0 ;
29665 PyObject
* obj0
= 0 ;
29666 PyObject
* obj1
= 0 ;
29667 char *kwnames
[] = {
29668 (char *) "self",(char *) "item", NULL
29671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29673 if (SWIG_arg_fail(1)) SWIG_fail
;
29675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29676 if (SWIG_arg_fail(2)) SWIG_fail
;
29677 if (arg2
== NULL
) {
29678 SWIG_null_ref("wxTreeItemId");
29680 if (SWIG_arg_fail(2)) SWIG_fail
;
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29686 wxPyEndAllowThreads(__tstate
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= result
;
29696 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
;
29698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29699 wxTreeItemId
*arg2
= 0 ;
29700 void *arg3
= (void *) 0 ;
29702 PyObject
* obj0
= 0 ;
29703 PyObject
* obj1
= 0 ;
29704 PyObject
* obj2
= 0 ;
29705 char *kwnames
[] = {
29706 (char *) "self",(char *) "item",(char *) "cookie", NULL
29709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29711 if (SWIG_arg_fail(1)) SWIG_fail
;
29713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29714 if (SWIG_arg_fail(2)) SWIG_fail
;
29715 if (arg2
== NULL
) {
29716 SWIG_null_ref("wxTreeItemId");
29718 if (SWIG_arg_fail(2)) SWIG_fail
;
29721 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29722 SWIG_arg_fail(3);SWIG_fail
;
29726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29727 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= result
;
29739 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29740 PyObject
*resultobj
;
29741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29742 wxTreeItemId
*arg2
= 0 ;
29743 wxTreeItemId result
;
29744 PyObject
* obj0
= 0 ;
29745 PyObject
* obj1
= 0 ;
29746 char *kwnames
[] = {
29747 (char *) "self",(char *) "item", NULL
29750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29752 if (SWIG_arg_fail(1)) SWIG_fail
;
29754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29755 if (SWIG_arg_fail(2)) SWIG_fail
;
29756 if (arg2
== NULL
) {
29757 SWIG_null_ref("wxTreeItemId");
29759 if (SWIG_arg_fail(2)) SWIG_fail
;
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29769 wxTreeItemId
* resultptr
;
29770 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29779 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29782 wxTreeItemId
*arg2
= 0 ;
29783 wxTreeItemId result
;
29784 PyObject
* obj0
= 0 ;
29785 PyObject
* obj1
= 0 ;
29786 char *kwnames
[] = {
29787 (char *) "self",(char *) "item", NULL
29790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29792 if (SWIG_arg_fail(1)) SWIG_fail
;
29794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29795 if (SWIG_arg_fail(2)) SWIG_fail
;
29796 if (arg2
== NULL
) {
29797 SWIG_null_ref("wxTreeItemId");
29799 if (SWIG_arg_fail(2)) SWIG_fail
;
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29809 wxTreeItemId
* resultptr
;
29810 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29819 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29820 PyObject
*resultobj
;
29821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29822 wxTreeItemId
*arg2
= 0 ;
29823 wxTreeItemId result
;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 char *kwnames
[] = {
29827 (char *) "self",(char *) "item", NULL
29830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29832 if (SWIG_arg_fail(1)) SWIG_fail
;
29834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29835 if (SWIG_arg_fail(2)) SWIG_fail
;
29836 if (arg2
== NULL
) {
29837 SWIG_null_ref("wxTreeItemId");
29839 if (SWIG_arg_fail(2)) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 wxTreeItemId
* resultptr
;
29850 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29859 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
;
29861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29862 wxTreeItemId result
;
29863 PyObject
* obj0
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail
;
29872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29873 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29879 wxTreeItemId
* resultptr
;
29880 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29889 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29890 PyObject
*resultobj
;
29891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29892 wxTreeItemId
*arg2
= 0 ;
29893 wxTreeItemId result
;
29894 PyObject
* obj0
= 0 ;
29895 PyObject
* obj1
= 0 ;
29896 char *kwnames
[] = {
29897 (char *) "self",(char *) "item", NULL
29900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29902 if (SWIG_arg_fail(1)) SWIG_fail
;
29904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29905 if (SWIG_arg_fail(2)) SWIG_fail
;
29906 if (arg2
== NULL
) {
29907 SWIG_null_ref("wxTreeItemId");
29909 if (SWIG_arg_fail(2)) SWIG_fail
;
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
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);
29929 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
;
29931 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29932 wxTreeItemId
*arg2
= 0 ;
29933 wxTreeItemId result
;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 char *kwnames
[] = {
29937 (char *) "self",(char *) "item", NULL
29940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29942 if (SWIG_arg_fail(1)) SWIG_fail
;
29944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29945 if (SWIG_arg_fail(2)) SWIG_fail
;
29946 if (arg2
== NULL
) {
29947 SWIG_null_ref("wxTreeItemId");
29949 if (SWIG_arg_fail(2)) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29959 wxTreeItemId
* resultptr
;
29960 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29969 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29970 PyObject
*resultobj
;
29971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29972 wxString
*arg2
= 0 ;
29973 int arg3
= (int) -1 ;
29974 int arg4
= (int) -1 ;
29975 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29976 wxTreeItemId result
;
29977 bool temp2
= false ;
29978 PyObject
* obj0
= 0 ;
29979 PyObject
* obj1
= 0 ;
29980 PyObject
* obj2
= 0 ;
29981 PyObject
* obj3
= 0 ;
29982 PyObject
* obj4
= 0 ;
29983 char *kwnames
[] = {
29984 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29989 if (SWIG_arg_fail(1)) SWIG_fail
;
29991 arg2
= wxString_in_helper(obj1
);
29992 if (arg2
== NULL
) SWIG_fail
;
29997 arg3
= (int)(SWIG_As_int(obj2
));
29998 if (SWIG_arg_fail(3)) SWIG_fail
;
30003 arg4
= (int)(SWIG_As_int(obj3
));
30004 if (SWIG_arg_fail(4)) SWIG_fail
;
30008 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30009 if (SWIG_arg_fail(5)) SWIG_fail
;
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30013 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30019 wxTreeItemId
* resultptr
;
30020 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30037 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
;
30039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30040 wxTreeItemId
*arg2
= 0 ;
30041 wxString
*arg3
= 0 ;
30042 int arg4
= (int) -1 ;
30043 int arg5
= (int) -1 ;
30044 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30045 wxTreeItemId result
;
30046 bool temp3
= false ;
30047 PyObject
* obj0
= 0 ;
30048 PyObject
* obj1
= 0 ;
30049 PyObject
* obj2
= 0 ;
30050 PyObject
* obj3
= 0 ;
30051 PyObject
* obj4
= 0 ;
30052 PyObject
* obj5
= 0 ;
30053 char *kwnames
[] = {
30054 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30059 if (SWIG_arg_fail(1)) SWIG_fail
;
30061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30062 if (SWIG_arg_fail(2)) SWIG_fail
;
30063 if (arg2
== NULL
) {
30064 SWIG_null_ref("wxTreeItemId");
30066 if (SWIG_arg_fail(2)) SWIG_fail
;
30069 arg3
= wxString_in_helper(obj2
);
30070 if (arg3
== NULL
) SWIG_fail
;
30075 arg4
= (int)(SWIG_As_int(obj3
));
30076 if (SWIG_arg_fail(4)) SWIG_fail
;
30081 arg5
= (int)(SWIG_As_int(obj4
));
30082 if (SWIG_arg_fail(5)) SWIG_fail
;
30086 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30087 if (SWIG_arg_fail(6)) SWIG_fail
;
30090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30091 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30093 wxPyEndAllowThreads(__tstate
);
30094 if (PyErr_Occurred()) SWIG_fail
;
30097 wxTreeItemId
* resultptr
;
30098 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30115 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30116 PyObject
*resultobj
;
30117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30118 wxTreeItemId
*arg2
= 0 ;
30119 wxTreeItemId
*arg3
= 0 ;
30120 wxString
*arg4
= 0 ;
30121 int arg5
= (int) -1 ;
30122 int arg6
= (int) -1 ;
30123 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30124 wxTreeItemId result
;
30125 bool temp4
= false ;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 PyObject
* obj2
= 0 ;
30129 PyObject
* obj3
= 0 ;
30130 PyObject
* obj4
= 0 ;
30131 PyObject
* obj5
= 0 ;
30132 PyObject
* obj6
= 0 ;
30133 char *kwnames
[] = {
30134 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30139 if (SWIG_arg_fail(1)) SWIG_fail
;
30141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30142 if (SWIG_arg_fail(2)) SWIG_fail
;
30143 if (arg2
== NULL
) {
30144 SWIG_null_ref("wxTreeItemId");
30146 if (SWIG_arg_fail(2)) SWIG_fail
;
30149 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(3)) SWIG_fail
;
30151 if (arg3
== NULL
) {
30152 SWIG_null_ref("wxTreeItemId");
30154 if (SWIG_arg_fail(3)) SWIG_fail
;
30157 arg4
= wxString_in_helper(obj3
);
30158 if (arg4
== NULL
) SWIG_fail
;
30163 arg5
= (int)(SWIG_As_int(obj4
));
30164 if (SWIG_arg_fail(5)) SWIG_fail
;
30169 arg6
= (int)(SWIG_As_int(obj5
));
30170 if (SWIG_arg_fail(6)) SWIG_fail
;
30174 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30175 if (SWIG_arg_fail(7)) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30185 wxTreeItemId
* resultptr
;
30186 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30203 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
;
30205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30206 wxTreeItemId
*arg2
= 0 ;
30208 wxString
*arg4
= 0 ;
30209 int arg5
= (int) -1 ;
30210 int arg6
= (int) -1 ;
30211 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30212 wxTreeItemId result
;
30213 bool temp4
= false ;
30214 PyObject
* obj0
= 0 ;
30215 PyObject
* obj1
= 0 ;
30216 PyObject
* obj2
= 0 ;
30217 PyObject
* obj3
= 0 ;
30218 PyObject
* obj4
= 0 ;
30219 PyObject
* obj5
= 0 ;
30220 PyObject
* obj6
= 0 ;
30221 char *kwnames
[] = {
30222 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30227 if (SWIG_arg_fail(1)) SWIG_fail
;
30229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30230 if (SWIG_arg_fail(2)) SWIG_fail
;
30231 if (arg2
== NULL
) {
30232 SWIG_null_ref("wxTreeItemId");
30234 if (SWIG_arg_fail(2)) SWIG_fail
;
30237 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30238 if (SWIG_arg_fail(3)) SWIG_fail
;
30241 arg4
= wxString_in_helper(obj3
);
30242 if (arg4
== NULL
) SWIG_fail
;
30247 arg5
= (int)(SWIG_As_int(obj4
));
30248 if (SWIG_arg_fail(5)) SWIG_fail
;
30253 arg6
= (int)(SWIG_As_int(obj5
));
30254 if (SWIG_arg_fail(6)) SWIG_fail
;
30258 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30259 if (SWIG_arg_fail(7)) SWIG_fail
;
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30269 wxTreeItemId
* resultptr
;
30270 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30287 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
;
30289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30290 wxTreeItemId
*arg2
= 0 ;
30291 wxString
*arg3
= 0 ;
30292 int arg4
= (int) -1 ;
30293 int arg5
= (int) -1 ;
30294 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30295 wxTreeItemId result
;
30296 bool temp3
= false ;
30297 PyObject
* obj0
= 0 ;
30298 PyObject
* obj1
= 0 ;
30299 PyObject
* obj2
= 0 ;
30300 PyObject
* obj3
= 0 ;
30301 PyObject
* obj4
= 0 ;
30302 PyObject
* obj5
= 0 ;
30303 char *kwnames
[] = {
30304 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30309 if (SWIG_arg_fail(1)) SWIG_fail
;
30311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30312 if (SWIG_arg_fail(2)) SWIG_fail
;
30313 if (arg2
== NULL
) {
30314 SWIG_null_ref("wxTreeItemId");
30316 if (SWIG_arg_fail(2)) SWIG_fail
;
30319 arg3
= wxString_in_helper(obj2
);
30320 if (arg3
== NULL
) SWIG_fail
;
30325 arg4
= (int)(SWIG_As_int(obj3
));
30326 if (SWIG_arg_fail(4)) SWIG_fail
;
30331 arg5
= (int)(SWIG_As_int(obj4
));
30332 if (SWIG_arg_fail(5)) SWIG_fail
;
30336 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30337 if (SWIG_arg_fail(6)) SWIG_fail
;
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30347 wxTreeItemId
* resultptr
;
30348 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30365 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30368 wxTreeItemId
*arg2
= 0 ;
30369 PyObject
* obj0
= 0 ;
30370 PyObject
* obj1
= 0 ;
30371 char *kwnames
[] = {
30372 (char *) "self",(char *) "item", NULL
30375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30377 if (SWIG_arg_fail(1)) SWIG_fail
;
30379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30380 if (SWIG_arg_fail(2)) SWIG_fail
;
30381 if (arg2
== NULL
) {
30382 SWIG_null_ref("wxTreeItemId");
30384 if (SWIG_arg_fail(2)) SWIG_fail
;
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 Py_INCREF(Py_None
); resultobj
= Py_None
;
30400 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
;
30402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30403 wxTreeItemId
*arg2
= 0 ;
30404 PyObject
* obj0
= 0 ;
30405 PyObject
* obj1
= 0 ;
30406 char *kwnames
[] = {
30407 (char *) "self",(char *) "item", NULL
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30412 if (SWIG_arg_fail(1)) SWIG_fail
;
30414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(2)) SWIG_fail
;
30416 if (arg2
== NULL
) {
30417 SWIG_null_ref("wxTreeItemId");
30419 if (SWIG_arg_fail(2)) SWIG_fail
;
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30428 Py_INCREF(Py_None
); resultobj
= Py_None
;
30435 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30436 PyObject
*resultobj
;
30437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30438 PyObject
* obj0
= 0 ;
30439 char *kwnames
[] = {
30440 (char *) "self", NULL
30443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30445 if (SWIG_arg_fail(1)) SWIG_fail
;
30447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30448 (arg1
)->DeleteAllItems();
30450 wxPyEndAllowThreads(__tstate
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30453 Py_INCREF(Py_None
); resultobj
= Py_None
;
30460 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
;
30462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30463 wxTreeItemId
*arg2
= 0 ;
30464 PyObject
* obj0
= 0 ;
30465 PyObject
* obj1
= 0 ;
30466 char *kwnames
[] = {
30467 (char *) "self",(char *) "item", NULL
30470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30472 if (SWIG_arg_fail(1)) SWIG_fail
;
30474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30475 if (SWIG_arg_fail(2)) SWIG_fail
;
30476 if (arg2
== NULL
) {
30477 SWIG_null_ref("wxTreeItemId");
30479 if (SWIG_arg_fail(2)) SWIG_fail
;
30482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30483 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 Py_INCREF(Py_None
); resultobj
= Py_None
;
30495 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30498 wxTreeItemId
*arg2
= 0 ;
30499 PyObject
* obj0
= 0 ;
30500 PyObject
* obj1
= 0 ;
30501 char *kwnames
[] = {
30502 (char *) "self",(char *) "item", NULL
30505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30507 if (SWIG_arg_fail(1)) SWIG_fail
;
30509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30510 if (SWIG_arg_fail(2)) SWIG_fail
;
30511 if (arg2
== NULL
) {
30512 SWIG_null_ref("wxTreeItemId");
30514 if (SWIG_arg_fail(2)) SWIG_fail
;
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 Py_INCREF(Py_None
); resultobj
= Py_None
;
30530 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
;
30532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30533 wxTreeItemId
*arg2
= 0 ;
30534 PyObject
* obj0
= 0 ;
30535 PyObject
* obj1
= 0 ;
30536 char *kwnames
[] = {
30537 (char *) "self",(char *) "item", NULL
30540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30542 if (SWIG_arg_fail(1)) SWIG_fail
;
30544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30545 if (SWIG_arg_fail(2)) SWIG_fail
;
30546 if (arg2
== NULL
) {
30547 SWIG_null_ref("wxTreeItemId");
30549 if (SWIG_arg_fail(2)) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 Py_INCREF(Py_None
); resultobj
= Py_None
;
30565 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
;
30567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30568 wxTreeItemId
*arg2
= 0 ;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 char *kwnames
[] = {
30572 (char *) "self",(char *) "item", NULL
30575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30577 if (SWIG_arg_fail(1)) SWIG_fail
;
30579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30580 if (SWIG_arg_fail(2)) SWIG_fail
;
30581 if (arg2
== NULL
) {
30582 SWIG_null_ref("wxTreeItemId");
30584 if (SWIG_arg_fail(2)) SWIG_fail
;
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30593 Py_INCREF(Py_None
); resultobj
= Py_None
;
30600 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
;
30602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30603 PyObject
* obj0
= 0 ;
30604 char *kwnames
[] = {
30605 (char *) "self", NULL
30608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30610 if (SWIG_arg_fail(1)) SWIG_fail
;
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 (arg1
)->Unselect();
30615 wxPyEndAllowThreads(__tstate
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30618 Py_INCREF(Py_None
); resultobj
= Py_None
;
30625 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30626 PyObject
*resultobj
;
30627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30628 wxTreeItemId
*arg2
= 0 ;
30629 PyObject
* obj0
= 0 ;
30630 PyObject
* obj1
= 0 ;
30631 char *kwnames
[] = {
30632 (char *) "self",(char *) "item", NULL
30635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30637 if (SWIG_arg_fail(1)) SWIG_fail
;
30639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30640 if (SWIG_arg_fail(2)) SWIG_fail
;
30641 if (arg2
== NULL
) {
30642 SWIG_null_ref("wxTreeItemId");
30644 if (SWIG_arg_fail(2)) SWIG_fail
;
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30653 Py_INCREF(Py_None
); resultobj
= Py_None
;
30660 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30663 PyObject
* obj0
= 0 ;
30664 char *kwnames
[] = {
30665 (char *) "self", NULL
30668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30670 if (SWIG_arg_fail(1)) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->UnselectAll();
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 Py_INCREF(Py_None
); resultobj
= Py_None
;
30685 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
;
30687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30688 wxTreeItemId
*arg2
= 0 ;
30689 bool arg3
= (bool) true ;
30690 PyObject
* obj0
= 0 ;
30691 PyObject
* obj1
= 0 ;
30692 PyObject
* obj2
= 0 ;
30693 char *kwnames
[] = {
30694 (char *) "self",(char *) "item",(char *) "select", NULL
30697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30699 if (SWIG_arg_fail(1)) SWIG_fail
;
30701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30702 if (SWIG_arg_fail(2)) SWIG_fail
;
30703 if (arg2
== NULL
) {
30704 SWIG_null_ref("wxTreeItemId");
30706 if (SWIG_arg_fail(2)) SWIG_fail
;
30710 arg3
= (bool)(SWIG_As_bool(obj2
));
30711 if (SWIG_arg_fail(3)) SWIG_fail
;
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30718 wxPyEndAllowThreads(__tstate
);
30719 if (PyErr_Occurred()) SWIG_fail
;
30721 Py_INCREF(Py_None
); resultobj
= Py_None
;
30728 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
;
30730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30731 wxTreeItemId
*arg2
= 0 ;
30732 PyObject
* obj0
= 0 ;
30733 PyObject
* obj1
= 0 ;
30734 char *kwnames
[] = {
30735 (char *) "self",(char *) "item", NULL
30738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30740 if (SWIG_arg_fail(1)) SWIG_fail
;
30742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30743 if (SWIG_arg_fail(2)) SWIG_fail
;
30744 if (arg2
== NULL
) {
30745 SWIG_null_ref("wxTreeItemId");
30747 if (SWIG_arg_fail(2)) SWIG_fail
;
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30753 wxPyEndAllowThreads(__tstate
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30756 Py_INCREF(Py_None
); resultobj
= Py_None
;
30763 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30764 PyObject
*resultobj
;
30765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30766 wxTreeItemId
*arg2
= 0 ;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 char *kwnames
[] = {
30770 (char *) "self",(char *) "item", NULL
30773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30775 if (SWIG_arg_fail(1)) SWIG_fail
;
30777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30778 if (SWIG_arg_fail(2)) SWIG_fail
;
30779 if (arg2
== NULL
) {
30780 SWIG_null_ref("wxTreeItemId");
30782 if (SWIG_arg_fail(2)) SWIG_fail
;
30785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30786 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30788 wxPyEndAllowThreads(__tstate
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30791 Py_INCREF(Py_None
); resultobj
= Py_None
;
30798 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30799 PyObject
*resultobj
;
30800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30801 wxTreeItemId
*arg2
= 0 ;
30802 PyObject
* obj0
= 0 ;
30803 PyObject
* obj1
= 0 ;
30804 char *kwnames
[] = {
30805 (char *) "self",(char *) "item", NULL
30808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30810 if (SWIG_arg_fail(1)) SWIG_fail
;
30812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30813 if (SWIG_arg_fail(2)) SWIG_fail
;
30814 if (arg2
== NULL
) {
30815 SWIG_null_ref("wxTreeItemId");
30817 if (SWIG_arg_fail(2)) SWIG_fail
;
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30823 wxPyEndAllowThreads(__tstate
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30826 Py_INCREF(Py_None
); resultobj
= Py_None
;
30833 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30834 PyObject
*resultobj
;
30835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30836 wxTreeItemId
*arg2
= 0 ;
30837 PyObject
* obj0
= 0 ;
30838 PyObject
* obj1
= 0 ;
30839 char *kwnames
[] = {
30840 (char *) "self",(char *) "item", NULL
30843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30845 if (SWIG_arg_fail(1)) SWIG_fail
;
30847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30848 if (SWIG_arg_fail(2)) SWIG_fail
;
30849 if (arg2
== NULL
) {
30850 SWIG_null_ref("wxTreeItemId");
30852 if (SWIG_arg_fail(2)) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 Py_INCREF(Py_None
); resultobj
= Py_None
;
30868 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30869 PyObject
*resultobj
;
30870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30871 wxTextCtrl
*result
;
30872 PyObject
* obj0
= 0 ;
30873 char *kwnames
[] = {
30874 (char *) "self", NULL
30877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30879 if (SWIG_arg_fail(1)) SWIG_fail
;
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30888 resultobj
= wxPyMake_wxObject(result
, 0);
30896 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30897 PyObject
*resultobj
;
30898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30899 wxTreeItemId
*arg2
= 0 ;
30900 bool arg3
= (bool) false ;
30901 PyObject
* obj0
= 0 ;
30902 PyObject
* obj1
= 0 ;
30903 PyObject
* obj2
= 0 ;
30904 char *kwnames
[] = {
30905 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30910 if (SWIG_arg_fail(1)) SWIG_fail
;
30912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30913 if (SWIG_arg_fail(2)) SWIG_fail
;
30914 if (arg2
== NULL
) {
30915 SWIG_null_ref("wxTreeItemId");
30917 if (SWIG_arg_fail(2)) SWIG_fail
;
30921 arg3
= (bool)(SWIG_As_bool(obj2
));
30922 if (SWIG_arg_fail(3)) SWIG_fail
;
30926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30927 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 Py_INCREF(Py_None
); resultobj
= Py_None
;
30939 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
;
30941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30942 wxTreeItemId
*arg2
= 0 ;
30943 PyObject
* obj0
= 0 ;
30944 PyObject
* obj1
= 0 ;
30945 char *kwnames
[] = {
30946 (char *) "self",(char *) "item", NULL
30949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30951 if (SWIG_arg_fail(1)) SWIG_fail
;
30953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30954 if (SWIG_arg_fail(2)) SWIG_fail
;
30955 if (arg2
== NULL
) {
30956 SWIG_null_ref("wxTreeItemId");
30958 if (SWIG_arg_fail(2)) SWIG_fail
;
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 Py_INCREF(Py_None
); resultobj
= Py_None
;
30974 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
;
30976 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30977 wxPoint
*arg2
= 0 ;
30979 wxTreeItemId result
;
30983 PyObject
* obj0
= 0 ;
30984 PyObject
* obj1
= 0 ;
30985 char *kwnames
[] = {
30986 (char *) "self",(char *) "point", NULL
30989 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30992 if (SWIG_arg_fail(1)) SWIG_fail
;
30995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30999 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31001 wxPyEndAllowThreads(__tstate
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31005 wxTreeItemId
* resultptr
;
31006 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31009 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31010 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31017 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
;
31019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31020 wxTreeItemId
*arg2
= 0 ;
31021 bool arg3
= (bool) false ;
31023 PyObject
* obj0
= 0 ;
31024 PyObject
* obj1
= 0 ;
31025 PyObject
* obj2
= 0 ;
31026 char *kwnames
[] = {
31027 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31032 if (SWIG_arg_fail(1)) SWIG_fail
;
31034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31035 if (SWIG_arg_fail(2)) SWIG_fail
;
31036 if (arg2
== NULL
) {
31037 SWIG_null_ref("wxTreeItemId");
31039 if (SWIG_arg_fail(2)) SWIG_fail
;
31043 arg3
= (bool)(SWIG_As_bool(obj2
));
31044 if (SWIG_arg_fail(3)) SWIG_fail
;
31048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31049 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31051 wxPyEndAllowThreads(__tstate
);
31052 if (PyErr_Occurred()) SWIG_fail
;
31054 resultobj
= result
;
31061 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31062 PyObject
*resultobj
;
31063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31064 wxTreeItemId
*arg2
= 0 ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 PyObject
* obj2
= 0 ;
31069 char *kwnames
[] = {
31070 (char *) "self",(char *) "node",(char *) "state", NULL
31073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31075 if (SWIG_arg_fail(1)) SWIG_fail
;
31077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31078 if (SWIG_arg_fail(2)) SWIG_fail
;
31079 if (arg2
== NULL
) {
31080 SWIG_null_ref("wxTreeItemId");
31082 if (SWIG_arg_fail(2)) SWIG_fail
;
31085 arg3
= (int)(SWIG_As_int(obj2
));
31086 if (SWIG_arg_fail(3)) SWIG_fail
;
31089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31090 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31095 Py_INCREF(Py_None
); resultobj
= Py_None
;
31102 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31103 PyObject
*resultobj
;
31104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31105 wxTreeItemId
*arg2
= 0 ;
31107 PyObject
* obj0
= 0 ;
31108 PyObject
* obj1
= 0 ;
31109 char *kwnames
[] = {
31110 (char *) "self",(char *) "node", NULL
31113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
31114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31115 if (SWIG_arg_fail(1)) SWIG_fail
;
31117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31118 if (SWIG_arg_fail(2)) SWIG_fail
;
31119 if (arg2
== NULL
) {
31120 SWIG_null_ref("wxTreeItemId");
31122 if (SWIG_arg_fail(2)) SWIG_fail
;
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
31128 wxPyEndAllowThreads(__tstate
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31132 resultobj
= SWIG_From_int((int)(result
));
31140 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
;
31142 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31143 wxVisualAttributes result
;
31144 PyObject
* obj0
= 0 ;
31145 char *kwnames
[] = {
31146 (char *) "variant", NULL
31149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
31152 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
31153 if (SWIG_arg_fail(1)) SWIG_fail
;
31157 if (!wxPyCheckForApp()) SWIG_fail
;
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31165 wxVisualAttributes
* resultptr
;
31166 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
31167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
31175 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
31177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31178 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
31180 return Py_BuildValue((char *)"");
31182 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
31183 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31188 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31193 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31195 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31202 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31203 PyObject
*resultobj
;
31204 wxWindow
*arg1
= (wxWindow
*) 0 ;
31205 int arg2
= (int) (int)-1 ;
31206 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31207 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31208 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31209 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31210 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31211 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31212 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31213 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31214 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31215 int arg8
= (int) 0 ;
31216 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31217 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31218 wxGenericDirCtrl
*result
;
31219 bool temp3
= false ;
31222 bool temp7
= false ;
31223 bool temp9
= false ;
31224 PyObject
* obj0
= 0 ;
31225 PyObject
* obj1
= 0 ;
31226 PyObject
* obj2
= 0 ;
31227 PyObject
* obj3
= 0 ;
31228 PyObject
* obj4
= 0 ;
31229 PyObject
* obj5
= 0 ;
31230 PyObject
* obj6
= 0 ;
31231 PyObject
* obj7
= 0 ;
31232 PyObject
* obj8
= 0 ;
31233 char *kwnames
[] = {
31234 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31239 if (SWIG_arg_fail(1)) SWIG_fail
;
31242 arg2
= (int const)(SWIG_As_int(obj1
));
31243 if (SWIG_arg_fail(2)) SWIG_fail
;
31248 arg3
= wxString_in_helper(obj2
);
31249 if (arg3
== NULL
) SWIG_fail
;
31256 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31262 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31267 arg6
= (long)(SWIG_As_long(obj5
));
31268 if (SWIG_arg_fail(6)) SWIG_fail
;
31273 arg7
= wxString_in_helper(obj6
);
31274 if (arg7
== NULL
) SWIG_fail
;
31280 arg8
= (int)(SWIG_As_int(obj7
));
31281 if (SWIG_arg_fail(8)) SWIG_fail
;
31286 arg9
= wxString_in_helper(obj8
);
31287 if (arg9
== NULL
) SWIG_fail
;
31292 if (!wxPyCheckForApp()) SWIG_fail
;
31293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31294 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31330 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
;
31332 wxGenericDirCtrl
*result
;
31333 char *kwnames
[] = {
31337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31339 if (!wxPyCheckForApp()) SWIG_fail
;
31340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31341 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31353 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31354 PyObject
*resultobj
;
31355 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31356 wxWindow
*arg2
= (wxWindow
*) 0 ;
31357 int arg3
= (int) (int)-1 ;
31358 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31359 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31360 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31361 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31362 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31363 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31364 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31365 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31366 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31367 int arg9
= (int) 0 ;
31368 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31369 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31371 bool temp4
= false ;
31374 bool temp8
= false ;
31375 bool temp10
= false ;
31376 PyObject
* obj0
= 0 ;
31377 PyObject
* obj1
= 0 ;
31378 PyObject
* obj2
= 0 ;
31379 PyObject
* obj3
= 0 ;
31380 PyObject
* obj4
= 0 ;
31381 PyObject
* obj5
= 0 ;
31382 PyObject
* obj6
= 0 ;
31383 PyObject
* obj7
= 0 ;
31384 PyObject
* obj8
= 0 ;
31385 PyObject
* obj9
= 0 ;
31386 char *kwnames
[] = {
31387 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31392 if (SWIG_arg_fail(1)) SWIG_fail
;
31393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31394 if (SWIG_arg_fail(2)) SWIG_fail
;
31397 arg3
= (int const)(SWIG_As_int(obj2
));
31398 if (SWIG_arg_fail(3)) SWIG_fail
;
31403 arg4
= wxString_in_helper(obj3
);
31404 if (arg4
== NULL
) SWIG_fail
;
31411 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31417 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31422 arg7
= (long)(SWIG_As_long(obj6
));
31423 if (SWIG_arg_fail(7)) SWIG_fail
;
31428 arg8
= wxString_in_helper(obj7
);
31429 if (arg8
== NULL
) SWIG_fail
;
31435 arg9
= (int)(SWIG_As_int(obj8
));
31436 if (SWIG_arg_fail(9)) SWIG_fail
;
31441 arg10
= wxString_in_helper(obj9
);
31442 if (arg10
== NULL
) SWIG_fail
;
31447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31448 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31450 wxPyEndAllowThreads(__tstate
);
31451 if (PyErr_Occurred()) SWIG_fail
;
31454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31486 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31487 PyObject
*resultobj
;
31488 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31489 wxString
*arg2
= 0 ;
31491 bool temp2
= false ;
31492 PyObject
* obj0
= 0 ;
31493 PyObject
* obj1
= 0 ;
31494 char *kwnames
[] = {
31495 (char *) "self",(char *) "path", NULL
31498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31500 if (SWIG_arg_fail(1)) SWIG_fail
;
31502 arg2
= wxString_in_helper(obj1
);
31503 if (arg2
== NULL
) SWIG_fail
;
31507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31508 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31530 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31531 PyObject
*resultobj
;
31532 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31534 PyObject
* obj0
= 0 ;
31535 char *kwnames
[] = {
31536 (char *) "self", NULL
31539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31541 if (SWIG_arg_fail(1)) SWIG_fail
;
31543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31544 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31562 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31563 PyObject
*resultobj
;
31564 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31565 wxString
*arg2
= 0 ;
31566 bool temp2
= false ;
31567 PyObject
* obj0
= 0 ;
31568 PyObject
* obj1
= 0 ;
31569 char *kwnames
[] = {
31570 (char *) "self",(char *) "path", NULL
31573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31575 if (SWIG_arg_fail(1)) SWIG_fail
;
31577 arg2
= wxString_in_helper(obj1
);
31578 if (arg2
== NULL
) SWIG_fail
;
31582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31583 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 Py_INCREF(Py_None
); resultobj
= Py_None
;
31603 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31604 PyObject
*resultobj
;
31605 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31607 PyObject
* obj0
= 0 ;
31608 char *kwnames
[] = {
31609 (char *) "self", NULL
31612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31614 if (SWIG_arg_fail(1)) SWIG_fail
;
31616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31617 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31619 wxPyEndAllowThreads(__tstate
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31635 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31636 PyObject
*resultobj
;
31637 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31639 PyObject
* obj0
= 0 ;
31640 char *kwnames
[] = {
31641 (char *) "self", NULL
31644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31646 if (SWIG_arg_fail(1)) SWIG_fail
;
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31649 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31667 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
;
31669 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31670 wxString
*arg2
= 0 ;
31671 bool temp2
= false ;
31672 PyObject
* obj0
= 0 ;
31673 PyObject
* obj1
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "self",(char *) "path", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31680 if (SWIG_arg_fail(1)) SWIG_fail
;
31682 arg2
= wxString_in_helper(obj1
);
31683 if (arg2
== NULL
) SWIG_fail
;
31687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31688 (arg1
)->SetPath((wxString
const &)*arg2
);
31690 wxPyEndAllowThreads(__tstate
);
31691 if (PyErr_Occurred()) SWIG_fail
;
31693 Py_INCREF(Py_None
); resultobj
= Py_None
;
31708 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
;
31710 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31712 PyObject
* obj0
= 0 ;
31713 PyObject
* obj1
= 0 ;
31714 char *kwnames
[] = {
31715 (char *) "self",(char *) "show", NULL
31718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31720 if (SWIG_arg_fail(1)) SWIG_fail
;
31722 arg2
= (bool)(SWIG_As_bool(obj1
));
31723 if (SWIG_arg_fail(2)) SWIG_fail
;
31726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31727 (arg1
)->ShowHidden(arg2
);
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31732 Py_INCREF(Py_None
); resultobj
= Py_None
;
31739 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31740 PyObject
*resultobj
;
31741 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31743 PyObject
* obj0
= 0 ;
31744 char *kwnames
[] = {
31745 (char *) "self", NULL
31748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31750 if (SWIG_arg_fail(1)) SWIG_fail
;
31752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31753 result
= (bool)(arg1
)->GetShowHidden();
31755 wxPyEndAllowThreads(__tstate
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31767 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31768 PyObject
*resultobj
;
31769 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31771 PyObject
* obj0
= 0 ;
31772 char *kwnames
[] = {
31773 (char *) "self", NULL
31776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31778 if (SWIG_arg_fail(1)) SWIG_fail
;
31780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31781 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31783 wxPyEndAllowThreads(__tstate
);
31784 if (PyErr_Occurred()) SWIG_fail
;
31788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31799 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
;
31801 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31802 wxString
*arg2
= 0 ;
31803 bool temp2
= false ;
31804 PyObject
* obj0
= 0 ;
31805 PyObject
* obj1
= 0 ;
31806 char *kwnames
[] = {
31807 (char *) "self",(char *) "filter", NULL
31810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31812 if (SWIG_arg_fail(1)) SWIG_fail
;
31814 arg2
= wxString_in_helper(obj1
);
31815 if (arg2
== NULL
) SWIG_fail
;
31819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31820 (arg1
)->SetFilter((wxString
const &)*arg2
);
31822 wxPyEndAllowThreads(__tstate
);
31823 if (PyErr_Occurred()) SWIG_fail
;
31825 Py_INCREF(Py_None
); resultobj
= Py_None
;
31840 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31841 PyObject
*resultobj
;
31842 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31844 PyObject
* obj0
= 0 ;
31845 char *kwnames
[] = {
31846 (char *) "self", NULL
31849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31851 if (SWIG_arg_fail(1)) SWIG_fail
;
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31856 wxPyEndAllowThreads(__tstate
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31860 resultobj
= SWIG_From_int((int)(result
));
31868 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
;
31870 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31872 PyObject
* obj0
= 0 ;
31873 PyObject
* obj1
= 0 ;
31874 char *kwnames
[] = {
31875 (char *) "self",(char *) "n", NULL
31878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31880 if (SWIG_arg_fail(1)) SWIG_fail
;
31882 arg2
= (int)(SWIG_As_int(obj1
));
31883 if (SWIG_arg_fail(2)) SWIG_fail
;
31886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31887 (arg1
)->SetFilterIndex(arg2
);
31889 wxPyEndAllowThreads(__tstate
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31892 Py_INCREF(Py_None
); resultobj
= Py_None
;
31899 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31900 PyObject
*resultobj
;
31901 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31902 wxTreeItemId result
;
31903 PyObject
* obj0
= 0 ;
31904 char *kwnames
[] = {
31905 (char *) "self", NULL
31908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31910 if (SWIG_arg_fail(1)) SWIG_fail
;
31912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31913 result
= (arg1
)->GetRootId();
31915 wxPyEndAllowThreads(__tstate
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31919 wxTreeItemId
* resultptr
;
31920 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31929 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31930 PyObject
*resultobj
;
31931 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31932 wxPyTreeCtrl
*result
;
31933 PyObject
* obj0
= 0 ;
31934 char *kwnames
[] = {
31935 (char *) "self", NULL
31938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31940 if (SWIG_arg_fail(1)) SWIG_fail
;
31942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31943 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31945 wxPyEndAllowThreads(__tstate
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31949 resultobj
= wxPyMake_wxObject(result
, 0);
31957 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
;
31959 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31960 wxDirFilterListCtrl
*result
;
31961 PyObject
* obj0
= 0 ;
31962 char *kwnames
[] = {
31963 (char *) "self", NULL
31966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31968 if (SWIG_arg_fail(1)) SWIG_fail
;
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31983 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31984 PyObject
*resultobj
;
31985 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31986 wxTreeItemId arg2
;
31987 wxString
*arg3
= 0 ;
31989 wxTreeItemId result
;
31990 bool temp3
= false ;
31993 PyObject
* obj0
= 0 ;
31994 PyObject
* obj1
= 0 ;
31995 PyObject
* obj2
= 0 ;
31996 char *kwnames
[] = {
31997 (char *) "self",(char *) "parentId",(char *) "path", NULL
32000 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
32001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32003 if (SWIG_arg_fail(1)) SWIG_fail
;
32005 wxTreeItemId
* argp
;
32006 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
32007 if (SWIG_arg_fail(2)) SWIG_fail
;
32008 if (argp
== NULL
) {
32009 SWIG_null_ref("wxTreeItemId");
32011 if (SWIG_arg_fail(2)) SWIG_fail
;
32015 arg3
= wxString_in_helper(obj2
);
32016 if (arg3
== NULL
) SWIG_fail
;
32020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32021 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32027 wxTreeItemId
* resultptr
;
32028 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
32029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32031 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
32032 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
32047 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32048 PyObject
*resultobj
;
32049 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32050 PyObject
* obj0
= 0 ;
32051 char *kwnames
[] = {
32052 (char *) "self", NULL
32055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
32056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32057 if (SWIG_arg_fail(1)) SWIG_fail
;
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32060 (arg1
)->DoResize();
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32065 Py_INCREF(Py_None
); resultobj
= Py_None
;
32072 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32073 PyObject
*resultobj
;
32074 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32075 PyObject
* obj0
= 0 ;
32076 char *kwnames
[] = {
32077 (char *) "self", NULL
32080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
32081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32082 if (SWIG_arg_fail(1)) SWIG_fail
;
32084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32085 (arg1
)->ReCreateTree();
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32090 Py_INCREF(Py_None
); resultobj
= Py_None
;
32097 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
32099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32100 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
32102 return Py_BuildValue((char *)"");
32104 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32105 PyObject
*resultobj
;
32106 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32107 int arg2
= (int) (int)-1 ;
32108 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32109 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32110 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32111 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32112 long arg5
= (long) 0 ;
32113 wxDirFilterListCtrl
*result
;
32116 PyObject
* obj0
= 0 ;
32117 PyObject
* obj1
= 0 ;
32118 PyObject
* obj2
= 0 ;
32119 PyObject
* obj3
= 0 ;
32120 PyObject
* obj4
= 0 ;
32121 char *kwnames
[] = {
32122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32127 if (SWIG_arg_fail(1)) SWIG_fail
;
32130 arg2
= (int const)(SWIG_As_int(obj1
));
32131 if (SWIG_arg_fail(2)) SWIG_fail
;
32137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32143 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32148 arg5
= (long)(SWIG_As_long(obj4
));
32149 if (SWIG_arg_fail(5)) SWIG_fail
;
32153 if (!wxPyCheckForApp()) SWIG_fail
;
32154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32155 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32167 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32168 PyObject
*resultobj
;
32169 wxDirFilterListCtrl
*result
;
32170 char *kwnames
[] = {
32174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
32176 if (!wxPyCheckForApp()) SWIG_fail
;
32177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32178 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32190 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32191 PyObject
*resultobj
;
32192 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32193 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32194 int arg3
= (int) (int)-1 ;
32195 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32196 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32197 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32198 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32199 long arg6
= (long) 0 ;
32203 PyObject
* obj0
= 0 ;
32204 PyObject
* obj1
= 0 ;
32205 PyObject
* obj2
= 0 ;
32206 PyObject
* obj3
= 0 ;
32207 PyObject
* obj4
= 0 ;
32208 PyObject
* obj5
= 0 ;
32209 char *kwnames
[] = {
32210 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32215 if (SWIG_arg_fail(1)) SWIG_fail
;
32216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32217 if (SWIG_arg_fail(2)) SWIG_fail
;
32220 arg3
= (int const)(SWIG_As_int(obj2
));
32221 if (SWIG_arg_fail(3)) SWIG_fail
;
32227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32238 arg6
= (long)(SWIG_As_long(obj5
));
32239 if (SWIG_arg_fail(6)) SWIG_fail
;
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32246 wxPyEndAllowThreads(__tstate
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32258 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32259 PyObject
*resultobj
;
32260 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32261 wxString
*arg2
= 0 ;
32263 bool temp2
= false ;
32264 PyObject
* obj0
= 0 ;
32265 PyObject
* obj1
= 0 ;
32266 PyObject
* obj2
= 0 ;
32267 char *kwnames
[] = {
32268 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32273 if (SWIG_arg_fail(1)) SWIG_fail
;
32275 arg2
= wxString_in_helper(obj1
);
32276 if (arg2
== NULL
) SWIG_fail
;
32280 arg3
= (int)(SWIG_As_int(obj2
));
32281 if (SWIG_arg_fail(3)) SWIG_fail
;
32284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32285 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32287 wxPyEndAllowThreads(__tstate
);
32288 if (PyErr_Occurred()) SWIG_fail
;
32290 Py_INCREF(Py_None
); resultobj
= Py_None
;
32305 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32308 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32310 return Py_BuildValue((char *)"");
32312 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
;
32314 wxWindow
*arg1
= (wxWindow
*) 0 ;
32315 int arg2
= (int) (int)-1 ;
32316 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32317 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32318 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32319 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32320 long arg5
= (long) 0 ;
32321 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32322 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32323 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32324 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32325 wxPyControl
*result
;
32328 bool temp7
= false ;
32329 PyObject
* obj0
= 0 ;
32330 PyObject
* obj1
= 0 ;
32331 PyObject
* obj2
= 0 ;
32332 PyObject
* obj3
= 0 ;
32333 PyObject
* obj4
= 0 ;
32334 PyObject
* obj5
= 0 ;
32335 PyObject
* obj6
= 0 ;
32336 char *kwnames
[] = {
32337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32342 if (SWIG_arg_fail(1)) SWIG_fail
;
32345 arg2
= (int const)(SWIG_As_int(obj1
));
32346 if (SWIG_arg_fail(2)) SWIG_fail
;
32352 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32358 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32363 arg5
= (long)(SWIG_As_long(obj4
));
32364 if (SWIG_arg_fail(5)) SWIG_fail
;
32369 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32370 if (SWIG_arg_fail(6)) SWIG_fail
;
32371 if (arg6
== NULL
) {
32372 SWIG_null_ref("wxValidator");
32374 if (SWIG_arg_fail(6)) SWIG_fail
;
32379 arg7
= wxString_in_helper(obj6
);
32380 if (arg7
== NULL
) SWIG_fail
;
32385 if (!wxPyCheckForApp()) SWIG_fail
;
32386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32387 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32389 wxPyEndAllowThreads(__tstate
);
32390 if (PyErr_Occurred()) SWIG_fail
;
32392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32407 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32408 PyObject
*resultobj
;
32409 wxPyControl
*result
;
32410 char *kwnames
[] = {
32414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32416 if (!wxPyCheckForApp()) SWIG_fail
;
32417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32418 result
= (wxPyControl
*)new wxPyControl();
32420 wxPyEndAllowThreads(__tstate
);
32421 if (PyErr_Occurred()) SWIG_fail
;
32423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32430 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
;
32432 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32433 PyObject
*arg2
= (PyObject
*) 0 ;
32434 PyObject
*arg3
= (PyObject
*) 0 ;
32435 PyObject
* obj0
= 0 ;
32436 PyObject
* obj1
= 0 ;
32437 PyObject
* obj2
= 0 ;
32438 char *kwnames
[] = {
32439 (char *) "self",(char *) "self",(char *) "_class", NULL
32442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32444 if (SWIG_arg_fail(1)) SWIG_fail
;
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32451 wxPyEndAllowThreads(__tstate
);
32452 if (PyErr_Occurred()) SWIG_fail
;
32454 Py_INCREF(Py_None
); resultobj
= Py_None
;
32461 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32462 PyObject
*resultobj
;
32463 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32466 PyObject
* obj0
= 0 ;
32467 PyObject
* obj1
= 0 ;
32468 char *kwnames
[] = {
32469 (char *) "self",(char *) "size", NULL
32472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32474 if (SWIG_arg_fail(1)) SWIG_fail
;
32477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32481 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32483 wxPyEndAllowThreads(__tstate
);
32484 if (PyErr_Occurred()) SWIG_fail
;
32486 Py_INCREF(Py_None
); resultobj
= Py_None
;
32493 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
;
32495 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32500 PyObject
* obj0
= 0 ;
32501 PyObject
* obj1
= 0 ;
32502 PyObject
* obj2
= 0 ;
32503 PyObject
* obj3
= 0 ;
32504 PyObject
* obj4
= 0 ;
32505 char *kwnames
[] = {
32506 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32511 if (SWIG_arg_fail(1)) SWIG_fail
;
32513 arg2
= (int)(SWIG_As_int(obj1
));
32514 if (SWIG_arg_fail(2)) SWIG_fail
;
32517 arg3
= (int)(SWIG_As_int(obj2
));
32518 if (SWIG_arg_fail(3)) SWIG_fail
;
32521 arg4
= (int)(SWIG_As_int(obj3
));
32522 if (SWIG_arg_fail(4)) SWIG_fail
;
32525 arg5
= (int)(SWIG_As_int(obj4
));
32526 if (SWIG_arg_fail(5)) SWIG_fail
;
32529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32530 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32532 wxPyEndAllowThreads(__tstate
);
32533 if (PyErr_Occurred()) SWIG_fail
;
32535 Py_INCREF(Py_None
); resultobj
= Py_None
;
32542 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32543 PyObject
*resultobj
;
32544 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32549 int arg6
= (int) wxSIZE_AUTO
;
32550 PyObject
* obj0
= 0 ;
32551 PyObject
* obj1
= 0 ;
32552 PyObject
* obj2
= 0 ;
32553 PyObject
* obj3
= 0 ;
32554 PyObject
* obj4
= 0 ;
32555 PyObject
* obj5
= 0 ;
32556 char *kwnames
[] = {
32557 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32562 if (SWIG_arg_fail(1)) SWIG_fail
;
32564 arg2
= (int)(SWIG_As_int(obj1
));
32565 if (SWIG_arg_fail(2)) SWIG_fail
;
32568 arg3
= (int)(SWIG_As_int(obj2
));
32569 if (SWIG_arg_fail(3)) SWIG_fail
;
32572 arg4
= (int)(SWIG_As_int(obj3
));
32573 if (SWIG_arg_fail(4)) SWIG_fail
;
32576 arg5
= (int)(SWIG_As_int(obj4
));
32577 if (SWIG_arg_fail(5)) SWIG_fail
;
32581 arg6
= (int)(SWIG_As_int(obj5
));
32582 if (SWIG_arg_fail(6)) SWIG_fail
;
32586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32589 wxPyEndAllowThreads(__tstate
);
32590 if (PyErr_Occurred()) SWIG_fail
;
32592 Py_INCREF(Py_None
); resultobj
= Py_None
;
32599 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32600 PyObject
*resultobj
;
32601 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32604 PyObject
* obj0
= 0 ;
32605 PyObject
* obj1
= 0 ;
32606 PyObject
* obj2
= 0 ;
32607 char *kwnames
[] = {
32608 (char *) "self",(char *) "width",(char *) "height", NULL
32611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32613 if (SWIG_arg_fail(1)) SWIG_fail
;
32615 arg2
= (int)(SWIG_As_int(obj1
));
32616 if (SWIG_arg_fail(2)) SWIG_fail
;
32619 arg3
= (int)(SWIG_As_int(obj2
));
32620 if (SWIG_arg_fail(3)) SWIG_fail
;
32623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32624 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32626 wxPyEndAllowThreads(__tstate
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32629 Py_INCREF(Py_None
); resultobj
= Py_None
;
32636 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32637 PyObject
*resultobj
;
32638 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32641 PyObject
* obj0
= 0 ;
32642 PyObject
* obj1
= 0 ;
32643 PyObject
* obj2
= 0 ;
32644 char *kwnames
[] = {
32645 (char *) "self",(char *) "x",(char *) "y", NULL
32648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32650 if (SWIG_arg_fail(1)) SWIG_fail
;
32652 arg2
= (int)(SWIG_As_int(obj1
));
32653 if (SWIG_arg_fail(2)) SWIG_fail
;
32656 arg3
= (int)(SWIG_As_int(obj2
));
32657 if (SWIG_arg_fail(3)) SWIG_fail
;
32660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32661 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 Py_INCREF(Py_None
); resultobj
= Py_None
;
32673 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
;
32675 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32676 int *arg2
= (int *) 0 ;
32677 int *arg3
= (int *) 0 ;
32682 PyObject
* obj0
= 0 ;
32683 char *kwnames
[] = {
32684 (char *) "self", NULL
32687 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32688 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32691 if (SWIG_arg_fail(1)) SWIG_fail
;
32693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32694 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32696 wxPyEndAllowThreads(__tstate
);
32697 if (PyErr_Occurred()) SWIG_fail
;
32699 Py_INCREF(Py_None
); resultobj
= Py_None
;
32700 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32701 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32702 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32703 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32710 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32711 PyObject
*resultobj
;
32712 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32713 int *arg2
= (int *) 0 ;
32714 int *arg3
= (int *) 0 ;
32719 PyObject
* obj0
= 0 ;
32720 char *kwnames
[] = {
32721 (char *) "self", NULL
32724 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32725 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32728 if (SWIG_arg_fail(1)) SWIG_fail
;
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32733 wxPyEndAllowThreads(__tstate
);
32734 if (PyErr_Occurred()) SWIG_fail
;
32736 Py_INCREF(Py_None
); resultobj
= Py_None
;
32737 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32738 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32739 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32740 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32747 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32748 PyObject
*resultobj
;
32749 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32750 int *arg2
= (int *) 0 ;
32751 int *arg3
= (int *) 0 ;
32756 PyObject
* obj0
= 0 ;
32757 char *kwnames
[] = {
32758 (char *) "self", NULL
32761 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32762 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32765 if (SWIG_arg_fail(1)) SWIG_fail
;
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32773 Py_INCREF(Py_None
); resultobj
= Py_None
;
32774 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32775 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32776 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32777 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32784 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
;
32786 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32788 PyObject
* obj0
= 0 ;
32789 char *kwnames
[] = {
32790 (char *) "self", NULL
32793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32795 if (SWIG_arg_fail(1)) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32798 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32804 wxSize
* resultptr
;
32805 resultptr
= new wxSize((wxSize
&)(result
));
32806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32814 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32815 PyObject
*resultobj
;
32816 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32818 PyObject
* obj0
= 0 ;
32819 char *kwnames
[] = {
32820 (char *) "self", NULL
32823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32825 if (SWIG_arg_fail(1)) SWIG_fail
;
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32834 wxSize
* resultptr
;
32835 resultptr
= new wxSize((wxSize
&)(result
));
32836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32844 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32845 PyObject
*resultobj
;
32846 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32847 PyObject
* obj0
= 0 ;
32848 char *kwnames
[] = {
32849 (char *) "self", NULL
32852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32854 if (SWIG_arg_fail(1)) SWIG_fail
;
32856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32857 (arg1
)->base_InitDialog();
32859 wxPyEndAllowThreads(__tstate
);
32860 if (PyErr_Occurred()) SWIG_fail
;
32862 Py_INCREF(Py_None
); resultobj
= Py_None
;
32869 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32870 PyObject
*resultobj
;
32871 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32873 PyObject
* obj0
= 0 ;
32874 char *kwnames
[] = {
32875 (char *) "self", NULL
32878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32880 if (SWIG_arg_fail(1)) SWIG_fail
;
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 result
= (bool)(arg1
)->base_TransferDataToWindow();
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32897 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32898 PyObject
*resultobj
;
32899 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32901 PyObject
* obj0
= 0 ;
32902 char *kwnames
[] = {
32903 (char *) "self", NULL
32906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32908 if (SWIG_arg_fail(1)) SWIG_fail
;
32910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32911 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32925 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32926 PyObject
*resultobj
;
32927 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32929 PyObject
* obj0
= 0 ;
32930 char *kwnames
[] = {
32931 (char *) "self", NULL
32934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32936 if (SWIG_arg_fail(1)) SWIG_fail
;
32938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32939 result
= (bool)(arg1
)->base_Validate();
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32953 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32954 PyObject
*resultobj
;
32955 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32957 PyObject
* obj0
= 0 ;
32958 char *kwnames
[] = {
32959 (char *) "self", NULL
32962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32964 if (SWIG_arg_fail(1)) SWIG_fail
;
32966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32967 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32969 wxPyEndAllowThreads(__tstate
);
32970 if (PyErr_Occurred()) SWIG_fail
;
32973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32981 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32982 PyObject
*resultobj
;
32983 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32985 PyObject
* obj0
= 0 ;
32986 char *kwnames
[] = {
32987 (char *) "self", NULL
32990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32992 if (SWIG_arg_fail(1)) SWIG_fail
;
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33009 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33010 PyObject
*resultobj
;
33011 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33013 PyObject
* obj0
= 0 ;
33014 char *kwnames
[] = {
33015 (char *) "self", NULL
33018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
33019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33020 if (SWIG_arg_fail(1)) SWIG_fail
;
33022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33023 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
33025 wxPyEndAllowThreads(__tstate
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33029 wxSize
* resultptr
;
33030 resultptr
= new wxSize((wxSize
&)(result
));
33031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33039 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33040 PyObject
*resultobj
;
33041 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33042 wxWindow
*arg2
= (wxWindow
*) 0 ;
33043 PyObject
* obj0
= 0 ;
33044 PyObject
* obj1
= 0 ;
33045 char *kwnames
[] = {
33046 (char *) "self",(char *) "child", NULL
33049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33051 if (SWIG_arg_fail(1)) SWIG_fail
;
33052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33053 if (SWIG_arg_fail(2)) SWIG_fail
;
33055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33056 (arg1
)->base_AddChild(arg2
);
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33061 Py_INCREF(Py_None
); resultobj
= Py_None
;
33068 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33069 PyObject
*resultobj
;
33070 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33071 wxWindow
*arg2
= (wxWindow
*) 0 ;
33072 PyObject
* obj0
= 0 ;
33073 PyObject
* obj1
= 0 ;
33074 char *kwnames
[] = {
33075 (char *) "self",(char *) "child", NULL
33078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33080 if (SWIG_arg_fail(1)) SWIG_fail
;
33081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33082 if (SWIG_arg_fail(2)) SWIG_fail
;
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 (arg1
)->base_RemoveChild(arg2
);
33087 wxPyEndAllowThreads(__tstate
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33090 Py_INCREF(Py_None
); resultobj
= Py_None
;
33097 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
;
33099 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33101 PyObject
* obj0
= 0 ;
33102 char *kwnames
[] = {
33103 (char *) "self", NULL
33106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
33107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33108 if (SWIG_arg_fail(1)) SWIG_fail
;
33110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33111 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
33113 wxPyEndAllowThreads(__tstate
);
33114 if (PyErr_Occurred()) SWIG_fail
;
33117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33125 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33126 PyObject
*resultobj
;
33127 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33128 wxColour
*arg2
= 0 ;
33130 PyObject
* obj0
= 0 ;
33131 PyObject
* obj1
= 0 ;
33132 char *kwnames
[] = {
33133 (char *) "self",(char *) "c", NULL
33136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
33137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33138 if (SWIG_arg_fail(1)) SWIG_fail
;
33141 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33145 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
33147 wxPyEndAllowThreads(__tstate
);
33148 if (PyErr_Occurred()) SWIG_fail
;
33150 Py_INCREF(Py_None
); resultobj
= Py_None
;
33157 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33158 PyObject
*resultobj
;
33159 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33160 wxVisualAttributes result
;
33161 PyObject
* obj0
= 0 ;
33162 char *kwnames
[] = {
33163 (char *) "self", NULL
33166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33168 if (SWIG_arg_fail(1)) SWIG_fail
;
33170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33171 result
= (arg1
)->base_GetDefaultAttributes();
33173 wxPyEndAllowThreads(__tstate
);
33174 if (PyErr_Occurred()) SWIG_fail
;
33177 wxVisualAttributes
* resultptr
;
33178 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
33179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33187 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33190 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33192 return Py_BuildValue((char *)"");
33194 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
;
33196 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33197 int arg2
= (int) 0 ;
33198 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33199 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33200 wxHelpEvent
*result
;
33202 PyObject
* obj0
= 0 ;
33203 PyObject
* obj1
= 0 ;
33204 PyObject
* obj2
= 0 ;
33205 char *kwnames
[] = {
33206 (char *) "type",(char *) "winid",(char *) "pt", NULL
33209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33212 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33213 if (SWIG_arg_fail(1)) SWIG_fail
;
33218 arg2
= (int)(SWIG_As_int(obj1
));
33219 if (SWIG_arg_fail(2)) SWIG_fail
;
33225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33232 wxPyEndAllowThreads(__tstate
);
33233 if (PyErr_Occurred()) SWIG_fail
;
33235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33242 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33243 PyObject
*resultobj
;
33244 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33246 PyObject
* obj0
= 0 ;
33247 char *kwnames
[] = {
33248 (char *) "self", NULL
33251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33253 if (SWIG_arg_fail(1)) SWIG_fail
;
33255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33256 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33258 wxPyEndAllowThreads(__tstate
);
33259 if (PyErr_Occurred()) SWIG_fail
;
33262 wxPoint
* resultptr
;
33263 resultptr
= new wxPoint((wxPoint
const &)(result
));
33264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33272 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33273 PyObject
*resultobj
;
33274 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33275 wxPoint
*arg2
= 0 ;
33277 PyObject
* obj0
= 0 ;
33278 PyObject
* obj1
= 0 ;
33279 char *kwnames
[] = {
33280 (char *) "self",(char *) "pos", NULL
33283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33285 if (SWIG_arg_fail(1)) SWIG_fail
;
33288 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33292 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33294 wxPyEndAllowThreads(__tstate
);
33295 if (PyErr_Occurred()) SWIG_fail
;
33297 Py_INCREF(Py_None
); resultobj
= Py_None
;
33304 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33305 PyObject
*resultobj
;
33306 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33308 PyObject
* obj0
= 0 ;
33309 char *kwnames
[] = {
33310 (char *) "self", NULL
33313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33315 if (SWIG_arg_fail(1)) SWIG_fail
;
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33319 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33320 result
= (wxString
*) &_result_ref
;
33323 wxPyEndAllowThreads(__tstate
);
33324 if (PyErr_Occurred()) SWIG_fail
;
33328 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33330 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33339 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33340 PyObject
*resultobj
;
33341 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33342 wxString
*arg2
= 0 ;
33343 bool temp2
= false ;
33344 PyObject
* obj0
= 0 ;
33345 PyObject
* obj1
= 0 ;
33346 char *kwnames
[] = {
33347 (char *) "self",(char *) "link", NULL
33350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33352 if (SWIG_arg_fail(1)) SWIG_fail
;
33354 arg2
= wxString_in_helper(obj1
);
33355 if (arg2
== NULL
) SWIG_fail
;
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 (arg1
)->SetLink((wxString
const &)*arg2
);
33362 wxPyEndAllowThreads(__tstate
);
33363 if (PyErr_Occurred()) SWIG_fail
;
33365 Py_INCREF(Py_None
); resultobj
= Py_None
;
33380 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33381 PyObject
*resultobj
;
33382 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33384 PyObject
* obj0
= 0 ;
33385 char *kwnames
[] = {
33386 (char *) "self", NULL
33389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33391 if (SWIG_arg_fail(1)) SWIG_fail
;
33393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33395 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33396 result
= (wxString
*) &_result_ref
;
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33404 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33406 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33415 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33416 PyObject
*resultobj
;
33417 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33418 wxString
*arg2
= 0 ;
33419 bool temp2
= false ;
33420 PyObject
* obj0
= 0 ;
33421 PyObject
* obj1
= 0 ;
33422 char *kwnames
[] = {
33423 (char *) "self",(char *) "target", NULL
33426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33428 if (SWIG_arg_fail(1)) SWIG_fail
;
33430 arg2
= wxString_in_helper(obj1
);
33431 if (arg2
== NULL
) SWIG_fail
;
33435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33436 (arg1
)->SetTarget((wxString
const &)*arg2
);
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 Py_INCREF(Py_None
); resultobj
= Py_None
;
33456 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33459 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33461 return Py_BuildValue((char *)"");
33463 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33464 PyObject
*resultobj
;
33465 wxWindow
*arg1
= (wxWindow
*) NULL
;
33466 bool arg2
= (bool) true ;
33467 wxContextHelp
*result
;
33468 PyObject
* obj0
= 0 ;
33469 PyObject
* obj1
= 0 ;
33470 char *kwnames
[] = {
33471 (char *) "window",(char *) "doNow", NULL
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33477 if (SWIG_arg_fail(1)) SWIG_fail
;
33481 arg2
= (bool)(SWIG_As_bool(obj1
));
33482 if (SWIG_arg_fail(2)) SWIG_fail
;
33486 if (!wxPyCheckForApp()) SWIG_fail
;
33487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33500 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33501 PyObject
*resultobj
;
33502 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33503 PyObject
* obj0
= 0 ;
33504 char *kwnames
[] = {
33505 (char *) "self", NULL
33508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33510 if (SWIG_arg_fail(1)) SWIG_fail
;
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33515 wxPyEndAllowThreads(__tstate
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33518 Py_INCREF(Py_None
); resultobj
= Py_None
;
33525 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33526 PyObject
*resultobj
;
33527 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33528 wxWindow
*arg2
= (wxWindow
*) NULL
;
33530 PyObject
* obj0
= 0 ;
33531 PyObject
* obj1
= 0 ;
33532 char *kwnames
[] = {
33533 (char *) "self",(char *) "window", NULL
33536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33538 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
;
33544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33545 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33559 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33560 PyObject
*resultobj
;
33561 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33563 PyObject
* obj0
= 0 ;
33564 char *kwnames
[] = {
33565 (char *) "self", NULL
33568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33570 if (SWIG_arg_fail(1)) SWIG_fail
;
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33573 result
= (bool)(arg1
)->EndContextHelp();
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33587 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33590 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33592 return Py_BuildValue((char *)"");
33594 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33595 PyObject
*resultobj
;
33596 wxWindow
*arg1
= (wxWindow
*) 0 ;
33597 int arg2
= (int) wxID_CONTEXT_HELP
;
33598 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33599 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33600 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33601 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33602 long arg5
= (long) wxBU_AUTODRAW
;
33603 wxContextHelpButton
*result
;
33606 PyObject
* obj0
= 0 ;
33607 PyObject
* obj1
= 0 ;
33608 PyObject
* obj2
= 0 ;
33609 PyObject
* obj3
= 0 ;
33610 PyObject
* obj4
= 0 ;
33611 char *kwnames
[] = {
33612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33617 if (SWIG_arg_fail(1)) SWIG_fail
;
33620 arg2
= (int)(SWIG_As_int(obj1
));
33621 if (SWIG_arg_fail(2)) SWIG_fail
;
33627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33633 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33638 arg5
= (long)(SWIG_As_long(obj4
));
33639 if (SWIG_arg_fail(5)) SWIG_fail
;
33643 if (!wxPyCheckForApp()) SWIG_fail
;
33644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33645 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33647 wxPyEndAllowThreads(__tstate
);
33648 if (PyErr_Occurred()) SWIG_fail
;
33650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33657 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33660 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33662 return Py_BuildValue((char *)"");
33664 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33665 PyObject
*resultobj
;
33666 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33667 wxHelpProvider
*result
;
33668 PyObject
* obj0
= 0 ;
33669 char *kwnames
[] = {
33670 (char *) "helpProvider", NULL
33673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33675 if (SWIG_arg_fail(1)) SWIG_fail
;
33677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33690 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33691 PyObject
*resultobj
;
33692 wxHelpProvider
*result
;
33693 char *kwnames
[] = {
33697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33700 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33702 wxPyEndAllowThreads(__tstate
);
33703 if (PyErr_Occurred()) SWIG_fail
;
33705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33712 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33713 PyObject
*resultobj
;
33714 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33715 wxWindow
*arg2
= (wxWindow
*) 0 ;
33717 PyObject
* obj0
= 0 ;
33718 PyObject
* obj1
= 0 ;
33719 char *kwnames
[] = {
33720 (char *) "self",(char *) "window", NULL
33723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33725 if (SWIG_arg_fail(1)) SWIG_fail
;
33726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33727 if (SWIG_arg_fail(2)) SWIG_fail
;
33729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33730 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33732 wxPyEndAllowThreads(__tstate
);
33733 if (PyErr_Occurred()) SWIG_fail
;
33737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33748 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33749 PyObject
*resultobj
;
33750 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33751 wxWindow
*arg2
= (wxWindow
*) 0 ;
33753 PyObject
* obj0
= 0 ;
33754 PyObject
* obj1
= 0 ;
33755 char *kwnames
[] = {
33756 (char *) "self",(char *) "window", NULL
33759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33761 if (SWIG_arg_fail(1)) SWIG_fail
;
33762 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33763 if (SWIG_arg_fail(2)) SWIG_fail
;
33765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33766 result
= (bool)(arg1
)->ShowHelp(arg2
);
33768 wxPyEndAllowThreads(__tstate
);
33769 if (PyErr_Occurred()) SWIG_fail
;
33772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33780 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33781 PyObject
*resultobj
;
33782 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33783 wxWindow
*arg2
= (wxWindow
*) 0 ;
33784 wxString
*arg3
= 0 ;
33785 bool temp3
= false ;
33786 PyObject
* obj0
= 0 ;
33787 PyObject
* obj1
= 0 ;
33788 PyObject
* obj2
= 0 ;
33789 char *kwnames
[] = {
33790 (char *) "self",(char *) "window",(char *) "text", NULL
33793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33795 if (SWIG_arg_fail(1)) SWIG_fail
;
33796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33797 if (SWIG_arg_fail(2)) SWIG_fail
;
33799 arg3
= wxString_in_helper(obj2
);
33800 if (arg3
== NULL
) SWIG_fail
;
33804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33805 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33807 wxPyEndAllowThreads(__tstate
);
33808 if (PyErr_Occurred()) SWIG_fail
;
33810 Py_INCREF(Py_None
); resultobj
= Py_None
;
33825 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
;
33827 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33829 wxString
*arg3
= 0 ;
33830 bool temp3
= false ;
33831 PyObject
* obj0
= 0 ;
33832 PyObject
* obj1
= 0 ;
33833 PyObject
* obj2
= 0 ;
33834 char *kwnames
[] = {
33835 (char *) "self",(char *) "id",(char *) "text", NULL
33838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33840 if (SWIG_arg_fail(1)) SWIG_fail
;
33842 arg2
= (int)(SWIG_As_int(obj1
));
33843 if (SWIG_arg_fail(2)) SWIG_fail
;
33846 arg3
= wxString_in_helper(obj2
);
33847 if (arg3
== NULL
) SWIG_fail
;
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 Py_INCREF(Py_None
); resultobj
= Py_None
;
33872 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33873 PyObject
*resultobj
;
33874 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33875 wxWindow
*arg2
= (wxWindow
*) 0 ;
33876 PyObject
* obj0
= 0 ;
33877 PyObject
* obj1
= 0 ;
33878 char *kwnames
[] = {
33879 (char *) "self",(char *) "window", NULL
33882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33884 if (SWIG_arg_fail(1)) SWIG_fail
;
33885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33886 if (SWIG_arg_fail(2)) SWIG_fail
;
33888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33889 (arg1
)->RemoveHelp(arg2
);
33891 wxPyEndAllowThreads(__tstate
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 Py_INCREF(Py_None
); resultobj
= Py_None
;
33901 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33902 PyObject
*resultobj
;
33903 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33904 PyObject
* obj0
= 0 ;
33905 char *kwnames
[] = {
33906 (char *) "self", NULL
33909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33911 if (SWIG_arg_fail(1)) SWIG_fail
;
33913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33914 wxHelpProvider_Destroy(arg1
);
33916 wxPyEndAllowThreads(__tstate
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33919 Py_INCREF(Py_None
); resultobj
= Py_None
;
33926 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33929 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33931 return Py_BuildValue((char *)"");
33933 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33934 PyObject
*resultobj
;
33935 wxSimpleHelpProvider
*result
;
33936 char *kwnames
[] = {
33940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33943 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33945 wxPyEndAllowThreads(__tstate
);
33946 if (PyErr_Occurred()) SWIG_fail
;
33948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33955 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33958 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33960 return Py_BuildValue((char *)"");
33962 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33963 PyObject
*resultobj
;
33964 wxBitmap
*arg1
= 0 ;
33965 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33966 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33967 wxGenericDragImage
*result
;
33968 PyObject
* obj0
= 0 ;
33969 PyObject
* obj1
= 0 ;
33970 char *kwnames
[] = {
33971 (char *) "image",(char *) "cursor", NULL
33974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33977 if (SWIG_arg_fail(1)) SWIG_fail
;
33978 if (arg1
== NULL
) {
33979 SWIG_null_ref("wxBitmap");
33981 if (SWIG_arg_fail(1)) SWIG_fail
;
33985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33986 if (SWIG_arg_fail(2)) SWIG_fail
;
33987 if (arg2
== NULL
) {
33988 SWIG_null_ref("wxCursor");
33990 if (SWIG_arg_fail(2)) SWIG_fail
;
33994 if (!wxPyCheckForApp()) SWIG_fail
;
33995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33996 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33998 wxPyEndAllowThreads(__tstate
);
33999 if (PyErr_Occurred()) SWIG_fail
;
34001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34008 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34009 PyObject
*resultobj
;
34011 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34012 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34013 wxGenericDragImage
*result
;
34014 PyObject
* obj0
= 0 ;
34015 PyObject
* obj1
= 0 ;
34016 char *kwnames
[] = {
34017 (char *) "image",(char *) "cursor", NULL
34020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
34022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
34023 if (SWIG_arg_fail(1)) SWIG_fail
;
34024 if (arg1
== NULL
) {
34025 SWIG_null_ref("wxIcon");
34027 if (SWIG_arg_fail(1)) SWIG_fail
;
34031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34032 if (SWIG_arg_fail(2)) SWIG_fail
;
34033 if (arg2
== NULL
) {
34034 SWIG_null_ref("wxCursor");
34036 if (SWIG_arg_fail(2)) SWIG_fail
;
34040 if (!wxPyCheckForApp()) SWIG_fail
;
34041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34042 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
34044 wxPyEndAllowThreads(__tstate
);
34045 if (PyErr_Occurred()) SWIG_fail
;
34047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34054 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34055 PyObject
*resultobj
;
34056 wxString
*arg1
= 0 ;
34057 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34058 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34059 wxGenericDragImage
*result
;
34060 bool temp1
= false ;
34061 PyObject
* obj0
= 0 ;
34062 PyObject
* obj1
= 0 ;
34063 char *kwnames
[] = {
34064 (char *) "str",(char *) "cursor", NULL
34067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
34069 arg1
= wxString_in_helper(obj0
);
34070 if (arg1
== NULL
) SWIG_fail
;
34075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34076 if (SWIG_arg_fail(2)) SWIG_fail
;
34077 if (arg2
== NULL
) {
34078 SWIG_null_ref("wxCursor");
34080 if (SWIG_arg_fail(2)) SWIG_fail
;
34084 if (!wxPyCheckForApp()) SWIG_fail
;
34085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34086 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
34088 wxPyEndAllowThreads(__tstate
);
34089 if (PyErr_Occurred()) SWIG_fail
;
34091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34106 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34107 PyObject
*resultobj
;
34108 wxPyTreeCtrl
*arg1
= 0 ;
34109 wxTreeItemId
*arg2
= 0 ;
34110 wxGenericDragImage
*result
;
34111 PyObject
* obj0
= 0 ;
34112 PyObject
* obj1
= 0 ;
34113 char *kwnames
[] = {
34114 (char *) "treeCtrl",(char *) "id", NULL
34117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34120 if (SWIG_arg_fail(1)) SWIG_fail
;
34121 if (arg1
== NULL
) {
34122 SWIG_null_ref("wxPyTreeCtrl");
34124 if (SWIG_arg_fail(1)) SWIG_fail
;
34127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
34128 if (SWIG_arg_fail(2)) SWIG_fail
;
34129 if (arg2
== NULL
) {
34130 SWIG_null_ref("wxTreeItemId");
34132 if (SWIG_arg_fail(2)) SWIG_fail
;
34135 if (!wxPyCheckForApp()) SWIG_fail
;
34136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34137 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
34139 wxPyEndAllowThreads(__tstate
);
34140 if (PyErr_Occurred()) SWIG_fail
;
34142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34149 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34150 PyObject
*resultobj
;
34151 wxPyListCtrl
*arg1
= 0 ;
34153 wxGenericDragImage
*result
;
34154 PyObject
* obj0
= 0 ;
34155 PyObject
* obj1
= 0 ;
34156 char *kwnames
[] = {
34157 (char *) "listCtrl",(char *) "id", NULL
34160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34163 if (SWIG_arg_fail(1)) SWIG_fail
;
34164 if (arg1
== NULL
) {
34165 SWIG_null_ref("wxPyListCtrl");
34167 if (SWIG_arg_fail(1)) SWIG_fail
;
34170 arg2
= (long)(SWIG_As_long(obj1
));
34171 if (SWIG_arg_fail(2)) SWIG_fail
;
34174 if (!wxPyCheckForApp()) SWIG_fail
;
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34178 wxPyEndAllowThreads(__tstate
);
34179 if (PyErr_Occurred()) SWIG_fail
;
34181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34188 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
;
34190 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34191 PyObject
* obj0
= 0 ;
34192 char *kwnames
[] = {
34193 (char *) "self", NULL
34196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34198 if (SWIG_arg_fail(1)) SWIG_fail
;
34200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34206 Py_INCREF(Py_None
); resultobj
= Py_None
;
34213 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34214 PyObject
*resultobj
;
34215 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34216 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34217 PyObject
* obj0
= 0 ;
34218 PyObject
* obj1
= 0 ;
34219 char *kwnames
[] = {
34220 (char *) "self",(char *) "bitmap", NULL
34223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34225 if (SWIG_arg_fail(1)) SWIG_fail
;
34226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34227 if (SWIG_arg_fail(2)) SWIG_fail
;
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 (arg1
)->SetBackingBitmap(arg2
);
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 Py_INCREF(Py_None
); resultobj
= Py_None
;
34242 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34243 PyObject
*resultobj
;
34244 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34245 wxPoint
*arg2
= 0 ;
34246 wxWindow
*arg3
= (wxWindow
*) 0 ;
34247 bool arg4
= (bool) false ;
34248 wxRect
*arg5
= (wxRect
*) NULL
;
34251 PyObject
* obj0
= 0 ;
34252 PyObject
* obj1
= 0 ;
34253 PyObject
* obj2
= 0 ;
34254 PyObject
* obj3
= 0 ;
34255 PyObject
* obj4
= 0 ;
34256 char *kwnames
[] = {
34257 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34262 if (SWIG_arg_fail(1)) SWIG_fail
;
34265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34267 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34268 if (SWIG_arg_fail(3)) SWIG_fail
;
34271 arg4
= (bool)(SWIG_As_bool(obj3
));
34272 if (SWIG_arg_fail(4)) SWIG_fail
;
34276 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34277 if (SWIG_arg_fail(5)) SWIG_fail
;
34280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34281 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34283 wxPyEndAllowThreads(__tstate
);
34284 if (PyErr_Occurred()) SWIG_fail
;
34287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34295 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34296 PyObject
*resultobj
;
34297 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34298 wxPoint
*arg2
= 0 ;
34299 wxWindow
*arg3
= (wxWindow
*) 0 ;
34300 wxWindow
*arg4
= (wxWindow
*) 0 ;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 PyObject
* obj2
= 0 ;
34306 PyObject
* obj3
= 0 ;
34307 char *kwnames
[] = {
34308 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34313 if (SWIG_arg_fail(1)) SWIG_fail
;
34316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34318 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34319 if (SWIG_arg_fail(3)) SWIG_fail
;
34320 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34321 if (SWIG_arg_fail(4)) SWIG_fail
;
34323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34324 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34326 wxPyEndAllowThreads(__tstate
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34338 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34339 PyObject
*resultobj
;
34340 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34342 PyObject
* obj0
= 0 ;
34343 char *kwnames
[] = {
34344 (char *) "self", NULL
34347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34349 if (SWIG_arg_fail(1)) SWIG_fail
;
34351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34352 result
= (bool)(arg1
)->EndDrag();
34354 wxPyEndAllowThreads(__tstate
);
34355 if (PyErr_Occurred()) SWIG_fail
;
34358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34366 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34367 PyObject
*resultobj
;
34368 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34369 wxPoint
*arg2
= 0 ;
34372 PyObject
* obj0
= 0 ;
34373 PyObject
* obj1
= 0 ;
34374 char *kwnames
[] = {
34375 (char *) "self",(char *) "pt", NULL
34378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34380 if (SWIG_arg_fail(1)) SWIG_fail
;
34383 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34387 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34389 wxPyEndAllowThreads(__tstate
);
34390 if (PyErr_Occurred()) SWIG_fail
;
34393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34401 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34402 PyObject
*resultobj
;
34403 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34405 PyObject
* obj0
= 0 ;
34406 char *kwnames
[] = {
34407 (char *) "self", NULL
34410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34412 if (SWIG_arg_fail(1)) SWIG_fail
;
34414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34415 result
= (bool)(arg1
)->Show();
34417 wxPyEndAllowThreads(__tstate
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34429 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34430 PyObject
*resultobj
;
34431 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34433 PyObject
* obj0
= 0 ;
34434 char *kwnames
[] = {
34435 (char *) "self", NULL
34438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34440 if (SWIG_arg_fail(1)) SWIG_fail
;
34442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34443 result
= (bool)(arg1
)->Hide();
34445 wxPyEndAllowThreads(__tstate
);
34446 if (PyErr_Occurred()) SWIG_fail
;
34449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34457 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34458 PyObject
*resultobj
;
34459 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34460 wxPoint
*arg2
= 0 ;
34463 PyObject
* obj0
= 0 ;
34464 PyObject
* obj1
= 0 ;
34465 char *kwnames
[] = {
34466 (char *) "self",(char *) "pos", NULL
34469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34471 if (SWIG_arg_fail(1)) SWIG_fail
;
34474 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34478 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34480 wxPyEndAllowThreads(__tstate
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34484 wxRect
* resultptr
;
34485 resultptr
= new wxRect((wxRect
&)(result
));
34486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34494 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34495 PyObject
*resultobj
;
34496 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34498 wxPoint
*arg3
= 0 ;
34501 PyObject
* obj0
= 0 ;
34502 PyObject
* obj1
= 0 ;
34503 PyObject
* obj2
= 0 ;
34504 char *kwnames
[] = {
34505 (char *) "self",(char *) "dc",(char *) "pos", NULL
34508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34510 if (SWIG_arg_fail(1)) SWIG_fail
;
34512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34513 if (SWIG_arg_fail(2)) SWIG_fail
;
34514 if (arg2
== NULL
) {
34515 SWIG_null_ref("wxDC");
34517 if (SWIG_arg_fail(2)) SWIG_fail
;
34521 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34525 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34527 wxPyEndAllowThreads(__tstate
);
34528 if (PyErr_Occurred()) SWIG_fail
;
34531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34539 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34540 PyObject
*resultobj
;
34541 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34543 wxMemoryDC
*arg3
= 0 ;
34549 PyObject
* obj0
= 0 ;
34550 PyObject
* obj1
= 0 ;
34551 PyObject
* obj2
= 0 ;
34552 PyObject
* obj3
= 0 ;
34553 PyObject
* obj4
= 0 ;
34554 char *kwnames
[] = {
34555 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34560 if (SWIG_arg_fail(1)) SWIG_fail
;
34562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34563 if (SWIG_arg_fail(2)) SWIG_fail
;
34564 if (arg2
== NULL
) {
34565 SWIG_null_ref("wxDC");
34567 if (SWIG_arg_fail(2)) SWIG_fail
;
34570 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34571 if (SWIG_arg_fail(3)) SWIG_fail
;
34572 if (arg3
== NULL
) {
34573 SWIG_null_ref("wxMemoryDC");
34575 if (SWIG_arg_fail(3)) SWIG_fail
;
34579 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34583 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34587 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34589 wxPyEndAllowThreads(__tstate
);
34590 if (PyErr_Occurred()) SWIG_fail
;
34593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34601 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34602 PyObject
*resultobj
;
34603 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34604 wxPoint
*arg2
= 0 ;
34605 wxPoint
*arg3
= 0 ;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 PyObject
* obj2
= 0 ;
34614 PyObject
* obj3
= 0 ;
34615 PyObject
* obj4
= 0 ;
34616 char *kwnames
[] = {
34617 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34622 if (SWIG_arg_fail(1)) SWIG_fail
;
34625 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34629 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34632 arg4
= (bool)(SWIG_As_bool(obj3
));
34633 if (SWIG_arg_fail(4)) SWIG_fail
;
34636 arg5
= (bool)(SWIG_As_bool(obj4
));
34637 if (SWIG_arg_fail(5)) SWIG_fail
;
34640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34641 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34655 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34658 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34660 return Py_BuildValue((char *)"");
34662 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34663 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34668 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34673 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34675 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34682 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34683 PyObject
*resultobj
;
34684 wxWindow
*arg1
= (wxWindow
*) 0 ;
34685 int arg2
= (int) -1 ;
34686 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34687 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34688 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34689 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34690 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34691 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34692 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34693 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34694 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34695 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34696 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34697 wxDatePickerCtrl
*result
;
34700 bool temp8
= false ;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 PyObject
* obj2
= 0 ;
34704 PyObject
* obj3
= 0 ;
34705 PyObject
* obj4
= 0 ;
34706 PyObject
* obj5
= 0 ;
34707 PyObject
* obj6
= 0 ;
34708 PyObject
* obj7
= 0 ;
34709 char *kwnames
[] = {
34710 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34715 if (SWIG_arg_fail(1)) SWIG_fail
;
34718 arg2
= (int)(SWIG_As_int(obj1
));
34719 if (SWIG_arg_fail(2)) SWIG_fail
;
34724 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34725 if (SWIG_arg_fail(3)) SWIG_fail
;
34726 if (arg3
== NULL
) {
34727 SWIG_null_ref("wxDateTime");
34729 if (SWIG_arg_fail(3)) SWIG_fail
;
34735 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34741 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34746 arg6
= (long)(SWIG_As_long(obj5
));
34747 if (SWIG_arg_fail(6)) SWIG_fail
;
34752 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34753 if (SWIG_arg_fail(7)) SWIG_fail
;
34754 if (arg7
== NULL
) {
34755 SWIG_null_ref("wxValidator");
34757 if (SWIG_arg_fail(7)) SWIG_fail
;
34762 arg8
= wxString_in_helper(obj7
);
34763 if (arg8
== NULL
) SWIG_fail
;
34768 if (!wxPyCheckForApp()) SWIG_fail
;
34769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34770 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34790 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34791 PyObject
*resultobj
;
34792 wxDatePickerCtrl
*result
;
34793 char *kwnames
[] = {
34797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34799 if (!wxPyCheckForApp()) SWIG_fail
;
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34813 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34814 PyObject
*resultobj
;
34815 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34816 wxWindow
*arg2
= (wxWindow
*) 0 ;
34817 int arg3
= (int) -1 ;
34818 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34819 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34820 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34821 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34822 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34823 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34824 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34825 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34826 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34827 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34828 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34832 bool temp9
= false ;
34833 PyObject
* obj0
= 0 ;
34834 PyObject
* obj1
= 0 ;
34835 PyObject
* obj2
= 0 ;
34836 PyObject
* obj3
= 0 ;
34837 PyObject
* obj4
= 0 ;
34838 PyObject
* obj5
= 0 ;
34839 PyObject
* obj6
= 0 ;
34840 PyObject
* obj7
= 0 ;
34841 PyObject
* obj8
= 0 ;
34842 char *kwnames
[] = {
34843 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34848 if (SWIG_arg_fail(1)) SWIG_fail
;
34849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34850 if (SWIG_arg_fail(2)) SWIG_fail
;
34853 arg3
= (int)(SWIG_As_int(obj2
));
34854 if (SWIG_arg_fail(3)) SWIG_fail
;
34859 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34860 if (SWIG_arg_fail(4)) SWIG_fail
;
34861 if (arg4
== NULL
) {
34862 SWIG_null_ref("wxDateTime");
34864 if (SWIG_arg_fail(4)) SWIG_fail
;
34870 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34876 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34881 arg7
= (long)(SWIG_As_long(obj6
));
34882 if (SWIG_arg_fail(7)) SWIG_fail
;
34887 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34888 if (SWIG_arg_fail(8)) SWIG_fail
;
34889 if (arg8
== NULL
) {
34890 SWIG_null_ref("wxValidator");
34892 if (SWIG_arg_fail(8)) SWIG_fail
;
34897 arg9
= wxString_in_helper(obj8
);
34898 if (arg9
== NULL
) SWIG_fail
;
34903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34904 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34906 wxPyEndAllowThreads(__tstate
);
34907 if (PyErr_Occurred()) SWIG_fail
;
34910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34926 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34927 PyObject
*resultobj
;
34928 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34929 wxDateTime
*arg2
= 0 ;
34930 PyObject
* obj0
= 0 ;
34931 PyObject
* obj1
= 0 ;
34932 char *kwnames
[] = {
34933 (char *) "self",(char *) "dt", NULL
34936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34938 if (SWIG_arg_fail(1)) SWIG_fail
;
34940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34941 if (SWIG_arg_fail(2)) SWIG_fail
;
34942 if (arg2
== NULL
) {
34943 SWIG_null_ref("wxDateTime");
34945 if (SWIG_arg_fail(2)) SWIG_fail
;
34948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34949 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34951 wxPyEndAllowThreads(__tstate
);
34952 if (PyErr_Occurred()) SWIG_fail
;
34954 Py_INCREF(Py_None
); resultobj
= Py_None
;
34961 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34962 PyObject
*resultobj
;
34963 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34965 PyObject
* obj0
= 0 ;
34966 char *kwnames
[] = {
34967 (char *) "self", NULL
34970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34972 if (SWIG_arg_fail(1)) SWIG_fail
;
34974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34975 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34977 wxPyEndAllowThreads(__tstate
);
34978 if (PyErr_Occurred()) SWIG_fail
;
34981 wxDateTime
* resultptr
;
34982 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34991 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34992 PyObject
*resultobj
;
34993 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34994 wxDateTime
*arg2
= 0 ;
34995 wxDateTime
*arg3
= 0 ;
34996 PyObject
* obj0
= 0 ;
34997 PyObject
* obj1
= 0 ;
34998 PyObject
* obj2
= 0 ;
34999 char *kwnames
[] = {
35000 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
35003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35005 if (SWIG_arg_fail(1)) SWIG_fail
;
35007 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35008 if (SWIG_arg_fail(2)) SWIG_fail
;
35009 if (arg2
== NULL
) {
35010 SWIG_null_ref("wxDateTime");
35012 if (SWIG_arg_fail(2)) SWIG_fail
;
35015 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35016 if (SWIG_arg_fail(3)) SWIG_fail
;
35017 if (arg3
== NULL
) {
35018 SWIG_null_ref("wxDateTime");
35020 if (SWIG_arg_fail(3)) SWIG_fail
;
35023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35024 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
35026 wxPyEndAllowThreads(__tstate
);
35027 if (PyErr_Occurred()) SWIG_fail
;
35029 Py_INCREF(Py_None
); resultobj
= Py_None
;
35036 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35037 PyObject
*resultobj
;
35038 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35040 PyObject
* obj0
= 0 ;
35041 char *kwnames
[] = {
35042 (char *) "self", NULL
35045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
35046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35047 if (SWIG_arg_fail(1)) SWIG_fail
;
35049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35050 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
35052 wxPyEndAllowThreads(__tstate
);
35053 if (PyErr_Occurred()) SWIG_fail
;
35056 wxDateTime
* resultptr
;
35057 resultptr
= new wxDateTime((wxDateTime
&)(result
));
35058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35066 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35067 PyObject
*resultobj
;
35068 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35070 PyObject
* obj0
= 0 ;
35071 char *kwnames
[] = {
35072 (char *) "self", NULL
35075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
35076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35077 if (SWIG_arg_fail(1)) SWIG_fail
;
35079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35080 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
35082 wxPyEndAllowThreads(__tstate
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35086 wxDateTime
* resultptr
;
35087 resultptr
= new wxDateTime((wxDateTime
&)(result
));
35088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35096 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
35098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35099 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
35101 return Py_BuildValue((char *)"");
35103 static PyMethodDef SwigMethods
[] = {
35104 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
35111 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
35126 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
35138 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
35143 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
35174 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
35188 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
35193 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
35200 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
35205 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
35213 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35236 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35245 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35276 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35334 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35339 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35351 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35364 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35376 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35380 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35398 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35405 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35431 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35439 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35461 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35467 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35478 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35480 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35486 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35488 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35494 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35496 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35501 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35506 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35536 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35581 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35587 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35599 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35651 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35678 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35750 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35758 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35762 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35770 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35777 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35786 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35788 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35789 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35794 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35798 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35800 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35811 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35813 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35816 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35826 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35827 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35828 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35838 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35839 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35840 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35841 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35842 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35843 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35844 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35845 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35846 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35848 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35850 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35851 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35853 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35854 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35855 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35856 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35857 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35859 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35861 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35862 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35867 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35870 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35871 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35873 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35874 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35875 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35876 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35877 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35878 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35879 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35880 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35881 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35882 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35883 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35884 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35885 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35888 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35889 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35890 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35893 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35894 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35895 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35896 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35898 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35899 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35900 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35908 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35913 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35914 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35917 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35918 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35920 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35921 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35922 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35924 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35925 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35926 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35927 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35928 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35929 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35933 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35934 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35935 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35936 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35937 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35939 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35941 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35942 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35944 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35945 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35946 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35948 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35950 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35952 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35953 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35955 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35957 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35958 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35959 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35960 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35962 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35963 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35964 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35965 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35967 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35968 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35969 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35970 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35971 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35972 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35973 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35974 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35975 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35976 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35977 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35978 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35979 { NULL
, NULL
, 0, NULL
}
35983 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35985 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35986 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35988 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35989 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35991 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35992 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35994 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35995 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35997 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35998 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
36000 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
36001 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36003 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
36004 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
36006 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
36007 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
36009 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
36010 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
36012 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36013 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36015 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36016 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36018 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36019 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36021 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36022 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36024 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36025 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36027 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
36028 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36030 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
36031 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36033 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36034 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36036 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36037 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36039 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36040 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36042 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
36043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36045 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36046 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36048 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36049 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36051 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
36052 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36054 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
36055 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36057 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
36058 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36060 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
36061 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36063 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
36064 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
36066 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36067 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36069 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36070 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36072 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36073 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36075 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36076 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36078 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36079 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36081 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36082 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36084 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36085 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36087 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36088 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36090 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36093 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36094 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36096 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36097 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36099 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36102 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36103 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36105 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36106 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36108 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36109 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36111 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36112 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36114 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36115 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36117 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36118 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36120 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36121 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36123 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36124 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36126 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36127 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36129 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36130 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36132 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36133 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36135 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36136 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36138 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36139 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36141 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36142 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36144 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
36145 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36147 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
36148 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36150 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
36151 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36153 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
36154 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36156 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36157 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36159 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
36160 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36162 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
36163 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36165 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
36166 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
36168 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
36169 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
36171 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
36172 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
36174 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
36175 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
36177 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
36178 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
36180 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
36181 return (void *)((wxControl
*) ((wxPyControl
*) x
));
36183 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
36184 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
36186 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
36187 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36189 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
36190 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
36192 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
36193 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36195 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
36196 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
36198 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
36199 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
36201 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36202 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36204 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
36205 return (void *)((wxControl
*) ((wxGauge
*) x
));
36207 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
36208 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
36210 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
36211 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36213 static void *_p_wxListbookTo_p_wxControl(void *x
) {
36214 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
36216 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
36217 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
36219 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
36220 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
36222 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36223 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36225 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36226 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36228 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36229 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36231 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36232 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36234 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36235 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36237 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36238 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36240 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36241 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36243 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36244 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36246 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36247 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36249 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36250 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36252 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36253 return (void *)((wxControl
*) ((wxSlider
*) x
));
36255 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36256 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36258 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36259 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36261 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36262 return (void *)((wxControl
*) ((wxButton
*) x
));
36264 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36265 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36267 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36268 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36270 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36271 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36273 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36274 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36276 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
36277 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
36279 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36280 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36282 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36283 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36285 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36286 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36288 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36289 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36291 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36292 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36294 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36295 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36297 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36298 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36300 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36301 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36303 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36304 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36306 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36307 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36309 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36310 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36312 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36313 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36315 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36318 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36319 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36321 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36322 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36324 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36327 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36328 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36330 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36333 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36336 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36337 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36339 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36340 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36342 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36345 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36348 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36351 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36354 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36357 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36358 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36360 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36363 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36366 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36369 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36372 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36375 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36378 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36381 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36384 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36387 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36390 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36393 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36396 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36399 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36402 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36405 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36408 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36411 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36414 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36417 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36420 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36423 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36426 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36429 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36432 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36435 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36438 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36439 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36441 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36442 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36444 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36445 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36447 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36448 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36450 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36451 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36453 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36454 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36456 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36457 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36459 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36460 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36462 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36465 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36466 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36468 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36471 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36472 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36474 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36475 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36477 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36478 return (void *)((wxObject
*) ((wxSizer
*) x
));
36480 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36481 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36483 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36486 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36489 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36492 static void *_p_wxEventTo_p_wxObject(void *x
) {
36493 return (void *)((wxObject
*) ((wxEvent
*) x
));
36495 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36496 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36498 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36499 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36501 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36502 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36504 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36507 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36510 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36513 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36514 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36516 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36517 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36519 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36520 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36522 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36523 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36525 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36526 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36528 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36529 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36531 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36534 static void *_p_wxControlTo_p_wxObject(void *x
) {
36535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36537 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36540 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36543 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36546 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36549 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36552 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36553 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36555 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36558 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36559 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36561 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36562 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36564 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36567 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36570 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36573 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36574 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36576 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36577 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36579 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36582 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36585 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36586 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36588 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36591 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36594 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36595 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36597 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36598 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36600 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36601 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36603 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36606 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36607 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36609 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36610 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36612 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36613 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36615 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36616 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36618 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36619 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36621 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36622 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36624 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36627 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36628 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36630 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36633 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36634 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36636 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36639 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36640 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36642 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36643 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36645 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36646 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36648 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36651 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36652 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36654 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36655 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36657 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36658 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36660 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36663 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36664 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36666 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36669 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36670 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36672 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36675 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36678 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36681 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36684 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36687 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36690 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36693 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36694 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36696 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36697 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36699 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36702 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36705 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36708 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36711 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36712 return (void *)((wxObject
*) ((wxListItem
*) x
));
36714 static void *_p_wxImageTo_p_wxObject(void *x
) {
36715 return (void *)((wxObject
*) ((wxImage
*) x
));
36717 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36718 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36720 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36721 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36723 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36726 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36727 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36729 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36732 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36735 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36738 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36741 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36742 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36744 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36745 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36747 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36748 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36750 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36751 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36753 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36754 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36756 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36759 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36760 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36762 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36765 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36766 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36768 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36769 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36771 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36772 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36774 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36775 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36777 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36778 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36780 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36783 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36786 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36789 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36790 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36792 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36795 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36796 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36798 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36799 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36801 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36804 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36807 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36810 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36811 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36813 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36816 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36819 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36820 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36822 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36823 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36825 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36826 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36828 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36829 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36831 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36832 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36834 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36835 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36837 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36838 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36840 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36841 return (void *)((wxWindow
*) ((wxControl
*) x
));
36843 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36844 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36846 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36847 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36849 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36850 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36852 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36853 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36855 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36856 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36858 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36859 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36861 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36862 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36864 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36865 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36867 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36868 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36870 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36871 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36873 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36874 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36876 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36877 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36879 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36880 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36882 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36883 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36885 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36886 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36888 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36889 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36891 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36892 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36894 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36895 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36897 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36898 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36900 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36901 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36903 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36904 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36906 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36907 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36909 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36910 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36912 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36913 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36915 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36916 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36918 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36919 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36921 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36922 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36924 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36925 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36927 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36928 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36930 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36931 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36933 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36934 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36936 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36937 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36939 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36940 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36942 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36943 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36945 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36946 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36948 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36949 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36951 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36952 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36954 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36955 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36957 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36958 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36960 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36961 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36963 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36964 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36966 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36967 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36969 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36970 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36972 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36973 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36975 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36976 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36978 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36979 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36981 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36982 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36984 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36985 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36987 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36988 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36990 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36991 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36993 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36994 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36996 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36997 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36999 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
37000 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
37002 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
37003 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37005 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
37006 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
37008 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
37009 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
37011 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
37012 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
37014 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37015 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37017 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}};
37018 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}};
37019 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}};
37020 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}};
37021 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}};
37022 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}};
37023 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}};
37024 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}};
37025 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}};
37026 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}};
37027 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}};
37028 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}};
37029 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}};
37030 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}};
37031 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}};
37032 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}};
37033 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}};
37034 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}};
37035 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}};
37036 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 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}};
37037 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}};
37038 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}};
37039 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}};
37040 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}};
37041 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}};
37042 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}};
37043 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}};
37044 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}};
37045 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}};
37046 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}};
37047 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}};
37048 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}};
37049 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}};
37050 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}};
37051 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}};
37052 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}};
37053 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}};
37054 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}};
37055 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}};
37056 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}};
37057 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}};
37058 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}};
37059 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}};
37060 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}};
37061 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}};
37062 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}};
37063 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}};
37064 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}};
37065 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}};
37066 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}};
37067 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}};
37068 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}};
37069 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}};
37070 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}};
37071 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}};
37072 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}};
37073 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}};
37074 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}};
37075 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}};
37076 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}};
37077 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}};
37078 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}};
37079 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}};
37080 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}};
37081 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}};
37082 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}};
37083 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}};
37084 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}};
37085 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}};
37086 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}};
37087 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}};
37088 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}};
37089 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}};
37090 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}};
37091 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}};
37092 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}};
37093 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}};
37094 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}};
37095 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}};
37096 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}};
37097 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}};
37098 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}};
37099 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}};
37100 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}};
37101 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}};
37102 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}};
37103 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}};
37104 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}};
37105 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}};
37106 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}};
37107 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}};
37108 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}};
37109 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 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}};
37110 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}};
37111 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}};
37112 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}};
37113 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}};
37114 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}};
37116 static swig_type_info
*swig_types_initial
[] = {
37117 _swigt__p_wxTextUrlEvent
,
37119 _swigt__p_wxCheckBox
,
37120 _swigt__p_wxPyTreeCtrl
,
37122 _swigt__p_wxGenericDirCtrl
,
37124 _swigt__p_wxItemContainer
,
37125 _swigt__p_wxPyListCtrl
,
37126 _swigt__p_wxPyTreeItemData
,
37127 _swigt__p_wxDirFilterListCtrl
,
37128 _swigt__p_wxStaticLine
,
37129 _swigt__p_wxControl
,
37130 _swigt__p_wxPyControl
,
37132 _swigt__p_wxToolBarBase
,
37134 _swigt__p_wxToggleButton
,
37135 _swigt__p_wxRadioButton
,
37136 _swigt__p_wxChoice
,
37137 _swigt__p_wxMemoryDC
,
37139 _swigt__std__ptrdiff_t
,
37140 _swigt__p_wxListItemAttr
,
37145 _swigt__p_wxListView
,
37147 _swigt__p_wxVisualAttributes
,
37148 _swigt__p_wxTextCtrl
,
37149 _swigt__p_wxNotebook
,
37150 _swigt__p_wxChoicebook
,
37151 _swigt__p_wxNotifyEvent
,
37152 _swigt__p_wxArrayString
,
37153 _swigt__p_form_ops_t
,
37154 _swigt__p_wxListbook
,
37155 _swigt__p_wxStaticBitmap
,
37156 _swigt__p_wxSlider
,
37157 _swigt__p_wxStaticBox
,
37158 _swigt__p_wxArrayInt
,
37159 _swigt__p_wxContextHelp
,
37161 _swigt__p_wxDuplexMode
,
37162 _swigt__p_wxBookCtrlBase
,
37163 _swigt__p_wxEvtHandler
,
37164 _swigt__p_wxListEvent
,
37165 _swigt__p_wxCheckListBox
,
37166 _swigt__p_wxListBox
,
37167 _swigt__p_wxSpinButton
,
37168 _swigt__p_wxButton
,
37169 _swigt__p_wxBitmapButton
,
37171 _swigt__p_wxContextHelpButton
,
37172 _swigt__p_wxRadioBox
,
37173 _swigt__p_wxScrollBar
,
37175 _swigt__p_wxComboBox
,
37176 _swigt__p_wxTreeItemId
,
37177 _swigt__p_wxHelpEvent
,
37178 _swigt__p_wxListItem
,
37179 _swigt__p_wxNotebookSizer
,
37180 _swigt__p_wxSpinEvent
,
37181 _swigt__p_wxGenericDragImage
,
37182 _swigt__p_wxSpinCtrl
,
37183 _swigt__p_wxPaperSize
,
37184 _swigt__p_wxImageList
,
37185 _swigt__p_wxHelpProvider
,
37186 _swigt__p_wxTextAttr
,
37187 _swigt__p_wxSimpleHelpProvider
,
37188 _swigt__p_wxChoicebookEvent
,
37189 _swigt__p_wxListbookEvent
,
37190 _swigt__p_wxNotebookEvent
,
37192 _swigt__p_wxObject
,
37193 _swigt__p_wxCursor
,
37194 _swigt__p_wxDateTime
,
37195 _swigt__p_wxKeyEvent
,
37196 _swigt__p_unsigned_long
,
37197 _swigt__p_wxWindow
,
37198 _swigt__p_wxString
,
37199 _swigt__p_wxBitmap
,
37200 _swigt__unsigned_int
,
37201 _swigt__p_unsigned_int
,
37202 _swigt__p_unsigned_char
,
37203 _swigt__p_wxMouseEvent
,
37204 _swigt__p_wxBookCtrlBaseEvent
,
37205 _swigt__p_wxTreeEvent
,
37206 _swigt__p_wxCommandEvent
,
37207 _swigt__p_wxStaticText
,
37208 _swigt__p_wxDatePickerCtrl
,
37209 _swigt__p_wxControlWithItems
,
37210 _swigt__p_wxToolBarToolBase
,
37211 _swigt__p_wxColour
,
37212 _swigt__p_wxToolBar
,
37213 _swigt__p_wxBookCtrlSizer
,
37214 _swigt__p_wxValidator
,
37219 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37221 static swig_const_info swig_const_table
[] = {
37222 {0, 0, 0, 0.0, 0, 0}};
37233 /* Python-specific SWIG API */
37234 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37235 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37236 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37238 /* -----------------------------------------------------------------------------
37239 * global variable support code.
37240 * ----------------------------------------------------------------------------- */
37242 typedef struct swig_globalvar
{
37243 char *name
; /* Name of global variable */
37244 PyObject
*(*get_attr
)(); /* Return the current value */
37245 int (*set_attr
)(PyObject
*); /* Set the value */
37246 struct swig_globalvar
*next
;
37249 typedef struct swig_varlinkobject
{
37251 swig_globalvar
*vars
;
37252 } swig_varlinkobject
;
37255 swig_varlink_repr(swig_varlinkobject
*v
) {
37257 return PyString_FromString("<Swig global variables>");
37261 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37262 swig_globalvar
*var
;
37264 fprintf(fp
,"Swig global variables { ");
37265 for (var
= v
->vars
; var
; var
=var
->next
) {
37266 fprintf(fp
,"%s", var
->name
);
37267 if (var
->next
) fprintf(fp
,", ");
37269 fprintf(fp
," }\n");
37274 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37275 swig_globalvar
*var
= v
->vars
;
37277 if (strcmp(var
->name
,n
) == 0) {
37278 return (*var
->get_attr
)();
37282 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37287 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37288 swig_globalvar
*var
= v
->vars
;
37290 if (strcmp(var
->name
,n
) == 0) {
37291 return (*var
->set_attr
)(p
);
37295 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37299 static PyTypeObject varlinktype
= {
37300 PyObject_HEAD_INIT(0)
37301 0, /* Number of items in variable part (ob_size) */
37302 (char *)"swigvarlink", /* Type name (tp_name) */
37303 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37304 0, /* Itemsize (tp_itemsize) */
37305 0, /* Deallocator (tp_dealloc) */
37306 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37307 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37308 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37309 0, /* tp_compare */
37310 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37311 0, /* tp_as_number */
37312 0, /* tp_as_sequence */
37313 0, /* tp_as_mapping */
37317 0, /* tp_getattro */
37318 0, /* tp_setattro */
37319 0, /* tp_as_buffer */
37322 #if PY_VERSION_HEX >= 0x02000000
37323 0, /* tp_traverse */
37326 #if PY_VERSION_HEX >= 0x02010000
37327 0, /* tp_richcompare */
37328 0, /* tp_weaklistoffset */
37330 #if PY_VERSION_HEX >= 0x02020000
37331 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37333 #if PY_VERSION_HEX >= 0x02030000
37336 #ifdef COUNT_ALLOCS
37337 0,0,0,0 /* tp_alloc -> tp_next */
37341 /* Create a variable linking object for use later */
37343 SWIG_Python_newvarlink(void) {
37344 swig_varlinkobject
*result
= 0;
37345 result
= PyMem_NEW(swig_varlinkobject
,1);
37346 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37347 result
->ob_type
= &varlinktype
;
37349 result
->ob_refcnt
= 0;
37350 Py_XINCREF((PyObject
*) result
);
37351 return ((PyObject
*) result
);
37355 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37356 swig_varlinkobject
*v
;
37357 swig_globalvar
*gv
;
37358 v
= (swig_varlinkobject
*) p
;
37359 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37360 gv
->name
= (char *) malloc(strlen(name
)+1);
37361 strcpy(gv
->name
,name
);
37362 gv
->get_attr
= get_attr
;
37363 gv
->set_attr
= set_attr
;
37364 gv
->next
= v
->vars
;
37368 /* -----------------------------------------------------------------------------
37369 * constants/methods manipulation
37370 * ----------------------------------------------------------------------------- */
37372 /* Install Constants */
37374 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37377 for (i
= 0; constants
[i
].type
; i
++) {
37378 switch(constants
[i
].type
) {
37380 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37382 case SWIG_PY_FLOAT
:
37383 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37385 case SWIG_PY_STRING
:
37386 if (constants
[i
].pvalue
) {
37387 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37389 Py_INCREF(Py_None
);
37393 case SWIG_PY_POINTER
:
37394 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37396 case SWIG_PY_BINARY
:
37397 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37404 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37410 /* -----------------------------------------------------------------------------*/
37411 /* Fix SwigMethods to carry the callback ptrs when needed */
37412 /* -----------------------------------------------------------------------------*/
37415 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37416 swig_const_info
*const_table
,
37417 swig_type_info
**types
,
37418 swig_type_info
**types_initial
) {
37420 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37421 char *c
= methods
[i
].ml_doc
;
37422 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37424 swig_const_info
*ci
= 0;
37425 char *name
= c
+ 10;
37426 for (j
= 0; const_table
[j
].type
; j
++) {
37427 if (strncmp(const_table
[j
].name
, name
,
37428 strlen(const_table
[j
].name
)) == 0) {
37429 ci
= &(const_table
[j
]);
37434 size_t shift
= (ci
->ptype
) - types
;
37435 swig_type_info
*ty
= types_initial
[shift
];
37436 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37437 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37438 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37440 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37441 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37443 strncpy(buff
, "swig_ptr: ", 10);
37445 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37446 methods
[i
].ml_doc
= ndoc
;
37452 /* -----------------------------------------------------------------------------*
37453 * Initialize type list
37454 * -----------------------------------------------------------------------------*/
37456 #if PY_MAJOR_VERSION < 2
37457 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37458 is copied out of Python/modsupport.c in python version 2.3.4 */
37460 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37463 if (!PyModule_Check(m
)) {
37464 PyErr_SetString(PyExc_TypeError
,
37465 "PyModule_AddObject() needs module as first arg");
37469 PyErr_SetString(PyExc_TypeError
,
37470 "PyModule_AddObject() needs non-NULL value");
37474 dict
= PyModule_GetDict(m
);
37475 if (dict
== NULL
) {
37476 /* Internal error -- modules must have a dict! */
37477 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37478 PyModule_GetName(m
));
37481 if (PyDict_SetItemString(dict
, name
, o
))
37488 static swig_type_info
**
37489 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37490 static PyMethodDef swig_empty_runtime_method_table
[] = {
37492 NULL
, NULL
, 0, NULL
37496 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37497 swig_empty_runtime_method_table
);
37498 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37499 if (pointer
&& module) {
37500 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37502 return type_list_handle
;
37505 static swig_type_info
**
37506 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37507 swig_type_info
**type_pointer
;
37509 /* first check if module already created */
37510 type_pointer
= SWIG_Python_GetTypeListHandle();
37511 if (type_pointer
) {
37512 return type_pointer
;
37514 /* create a new module and variable */
37515 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37523 /* -----------------------------------------------------------------------------*
37524 * Partial Init method
37525 * -----------------------------------------------------------------------------*/
37527 #ifdef SWIG_LINK_RUNTIME
37531 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37537 SWIGEXPORT(void) SWIG_init(void) {
37538 static PyObject
*SWIG_globals
= 0;
37539 static int typeinit
= 0;
37542 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37544 /* Fix SwigMethods to carry the callback ptrs when needed */
37545 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37547 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37548 d
= PyModule_GetDict(m
);
37551 #ifdef SWIG_LINK_RUNTIME
37552 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37554 # ifndef SWIG_STATIC_RUNTIME
37555 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37558 for (i
= 0; swig_types_initial
[i
]; i
++) {
37559 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37563 SWIG_InstallConstants(d
,swig_const_table
);
37565 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37566 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37568 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37571 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37574 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37577 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37580 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37583 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37586 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37588 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37590 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37593 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37596 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37599 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37602 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37605 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37607 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37608 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37609 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37611 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37614 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37617 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37620 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37622 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37623 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37624 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37625 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37626 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37628 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37631 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37634 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37637 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37640 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37643 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37646 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37649 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37652 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37655 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37658 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37661 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37664 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37667 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37670 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37673 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37676 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37679 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37682 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37685 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37688 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37691 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37694 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37697 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37700 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37703 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37706 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37709 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37712 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37715 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37718 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37721 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37724 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37727 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37730 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37733 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37736 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37739 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37742 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37745 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37748 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37751 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37754 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37760 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37761 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37762 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37764 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37767 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37770 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37773 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37775 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37776 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37777 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37778 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37780 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37783 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37786 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37789 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37792 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37795 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37798 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37801 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37804 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37807 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37810 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37812 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37813 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37814 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37816 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37819 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37822 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37825 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37828 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37831 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37834 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37837 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37840 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37843 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37846 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37848 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37849 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37851 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37854 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37857 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37860 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37863 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37866 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37868 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37869 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37871 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37874 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37877 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37880 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37883 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37886 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37888 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37889 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37891 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37894 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37897 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37900 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37903 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37906 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37909 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37912 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37915 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37918 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37921 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37924 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37927 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37930 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37932 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37934 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37937 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37940 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37943 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37946 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37949 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37952 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37955 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37958 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37961 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37964 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37967 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37970 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37973 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37976 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37979 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37982 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37985 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37988 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37991 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37994 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37997 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
38000 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
38003 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
38006 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
38009 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
38012 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
38015 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
38018 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
38021 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
38024 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
38027 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
38030 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
38033 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
38036 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
38039 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
38042 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
38045 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
38048 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
38051 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
38054 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
38057 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
38060 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
38063 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
38066 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
38069 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
38072 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
38075 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
38078 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
38081 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
38084 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
38087 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
38090 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
38093 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
38096 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
38099 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
38102 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
38105 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
38108 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
38111 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
38114 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
38117 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
38120 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
38123 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
38126 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
38129 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
38132 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
38135 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
38137 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
38138 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
38139 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
38140 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
38141 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
38142 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
38143 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
38144 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
38145 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
38146 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
38147 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
38148 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
38149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
38150 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
38151 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
38152 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
38153 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
38154 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
38155 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
38156 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
38157 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
38158 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
38160 // Map renamed classes back to their common name for OOR
38161 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38163 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
38165 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
38168 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
38171 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
38174 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
38177 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
38180 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
38183 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
38186 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
38189 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
38192 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
38195 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
38198 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
38201 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
38204 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
38207 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
38210 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
38213 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
38216 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
38219 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
38222 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
38225 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
38228 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
38231 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
38234 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
38237 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
38240 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
38243 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
38246 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
38249 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
38252 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
38255 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
38258 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38261 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38264 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38267 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38269 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38270 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38271 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38272 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38273 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38274 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38275 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38276 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38277 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38278 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38279 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38280 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38281 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38282 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38283 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38284 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38285 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38286 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38287 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38288 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38289 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38291 // Map renamed classes back to their common name for OOR
38292 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38293 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38295 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38297 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38300 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38303 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38306 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38309 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38312 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38315 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38317 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38318 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38320 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38322 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38324 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38327 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38330 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38333 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38336 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));