1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1634 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1640 } else if (target
== Py_None
) {
1644 if (!PyTuple_Check(target
)) {
1646 target
= PyTuple_New(1);
1647 PyTuple_SetItem(target
, 0, o2
);
1649 o3
= PyTuple_New(1);
1650 PyTuple_SetItem(o3
, 0, o
);
1653 target
= PySequence_Concat(o2
, o3
);
1661 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1662 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1663 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1664 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1666 #include <wx/checklst.h>
1669 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1670 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1672 wxPyClientData
* data
= new wxPyClientData(clientData
);
1673 self
->Insert(item
, pos
, data
);
1675 self
->Insert(item
, pos
);
1677 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1679 self
->GetSelections(lst
);
1680 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1681 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1682 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1686 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1688 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1689 self
->GetItem(item
)->SetTextColour(c
);
1692 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1694 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1695 self
->GetItem(item
)->SetBackgroundColour(c
);
1698 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1700 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1701 self
->GetItem(item
)->SetFont(f
);
1704 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1751 #include <wx/slider.h>
1754 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1755 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1757 #if !wxUSE_TOGGLEBTN
1758 // implement dummy items for platforms that don't have this class
1760 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1762 class wxToggleButton
: public wxControl
1765 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1766 const wxPoint
&, const wxSize
&, long,
1767 const wxValidator
&, const wxString
&)
1768 { wxPyRaiseNotImplemented(); }
1771 { wxPyRaiseNotImplemented(); }
1775 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1777 SWIGINTERNSHORT PyObject
*
1778 SWIG_From_unsigned_SS_long(unsigned long value
)
1780 return (value
> LONG_MAX
) ?
1781 PyLong_FromUnsignedLong(value
)
1782 : PyInt_FromLong((long)(value
));
1785 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1786 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1787 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1789 Py_INCREF(udata
->m_obj
);
1790 return udata
->m_obj
;
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1797 self
->SetClientData(new wxPyUserData(clientData
));
1799 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1800 wxPyUserData
* udata
= NULL
;
1801 if (clientData
&& clientData
!= Py_None
)
1802 udata
= new wxPyUserData(clientData
);
1803 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1804 shortHelp
, longHelp
, udata
);
1806 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1807 wxPyUserData
* udata
= NULL
;
1808 if (clientData
&& clientData
!= Py_None
)
1809 udata
= new wxPyUserData(clientData
);
1810 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1811 shortHelp
, longHelp
, udata
);
1813 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1814 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1816 Py_INCREF(udata
->m_obj
);
1817 return udata
->m_obj
;
1823 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1824 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1827 #include <wx/listctrl.h>
1829 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1830 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1834 PyObject
* func
= (PyObject
*)funcPtr
;
1835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1837 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1838 PyObject
* result
= PyEval_CallObject(func
, args
);
1841 retval
= PyInt_AsLong(result
);
1845 wxPyEndBlockThreads(blocked
);
1849 // C++ Version of a Python aware class
1850 class wxPyListCtrl
: public wxListCtrl
{
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1858 const wxValidator
& validator
,
1859 const wxString
& name
) :
1860 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1862 bool Create(wxWindow
* parent
, wxWindowID id
,
1866 const wxValidator
& validator
,
1867 const wxString
& name
) {
1868 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1887 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1889 item
.SetMask( wxLIST_MASK_STATE
|
1897 if (self
->GetColumn(col
, item
))
1898 return new wxListItem(item
);
1902 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1903 wxListItem
* info
= new wxListItem
;
1904 info
->m_itemId
= itemId
;
1906 info
->m_mask
= 0xFFFF;
1907 self
->GetItem(*info
);
1910 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1912 self
->GetItemPosition(item
, pos
);
1915 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1917 self
->GetItemRect(item
, rect
, code
);
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1922 if (!PyCallable_Check(func
))
1924 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1926 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1934 #include <wx/treectrl.h>
1935 #include "wx/wxPython/pytree.h"
1937 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl
: public wxTreeCtrl
{
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1950 const wxValidator
& validator
,
1951 const wxString
& name
) :
1952 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1954 bool Create(wxWindow
*parent
, wxWindowID id
,
1958 const wxValidator
& validator
,
1959 const wxString
& name
) {
1960 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1964 int OnCompareItems(const wxTreeItemId
& item1
,
1965 const wxTreeItemId
& item2
) {
1968 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1969 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1970 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1971 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1972 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1976 wxPyEndBlockThreads(blocked
);
1978 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1988 #if UINT_MAX < LONG_MAX
1989 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2000 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2001 unsigned long max_value
,
2004 if (value
> max_value
) {
2006 PyErr_Format(PyExc_OverflowError
,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value
, errmsg
, max_value
);
2016 #if UINT_MAX != ULONG_MAX
2018 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2020 const char* errmsg
= val
? "unsigned int" : (char*)0;
2022 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2023 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2024 if (val
) *val
= (unsigned int)(v
);
2031 SWIG_type_error(errmsg
, obj
);
2036 SWIGINTERNSHORT
unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2039 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2044 SWIGINTERNSHORT
unsigned int
2045 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2048 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2050 this is needed to make valgrind/purify happier.
2052 memset((void*)&v
, 0, sizeof(unsigned int));
2059 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2061 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2064 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2065 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2067 data
= new wxPyTreeItemData();
2068 data
->SetId(item
); // set the id
2069 self
->SetItemData(item
, data
);
2073 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2074 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2076 data
= new wxPyTreeItemData();
2077 data
->SetId(item
); // set the id
2078 self
->SetItemData(item
, data
);
2080 return data
->GetData();
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2083 data
->SetId(item
); // set the id
2084 self
->SetItemData(item
, data
);
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2087 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2089 data
= new wxPyTreeItemData(obj
);
2090 data
->SetId(item
); // set the id
2091 self
->SetItemData(item
, data
);
2095 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2097 PyObject
* rval
= PyList_New(0);
2098 wxArrayTreeItemIds array
;
2100 num
= self
->GetSelections(array
);
2101 for (x
=0; x
< num
; x
++) {
2102 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2103 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval
, item
);
2107 wxPyEndBlockThreads(blocked
);
2110 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2112 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2114 PyObject
* tup
= PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2117 wxPyEndBlockThreads(blocked
);
2120 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2121 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2122 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2123 PyObject
* tup
= PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2126 wxPyEndBlockThreads(blocked
);
2129 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2131 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2132 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2133 wxRect
* r
= new wxRect(rect
);
2134 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked
);
2141 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2143 SWIGINTERNSHORT PyObject
*
2144 SWIG_From_bool(bool value
)
2146 PyObject
*obj
= value
? Py_True
: Py_False
;
2152 // C++ version of Python aware wxControl
2153 class wxPyControl
: public wxControl
2155 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2159 const wxPoint
& pos
= wxDefaultPosition
,
2160 const wxSize
& size
= wxDefaultSize
,
2162 const wxValidator
& validator
=wxDefaultValidator
,
2163 const wxString
& name
= wxPyControlNameStr
)
2164 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2166 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2168 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2169 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2171 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2177 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2178 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2180 DEC_PYCALLBACK__(InitDialog
);
2181 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2182 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2183 DEC_PYCALLBACK_BOOL_(Validate
);
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2186 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2187 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2189 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2190 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2192 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2193 DEC_PYCALLBACK_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_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2233 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2235 #include <wx/generic/dragimgg.h>
2237 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2238 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2240 self
->GetRange(&rv
, NULL
);
2243 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2245 self
->GetRange(NULL
, &rv
);
2251 static int _wrap_ButtonNameStr_set(PyObject
*) {
2252 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2257 static PyObject
*_wrap_ButtonNameStr_get(void) {
2262 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2264 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2271 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 wxWindow
*arg1
= (wxWindow
*) 0 ;
2274 int arg2
= (int) -1 ;
2275 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2276 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2277 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2278 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2279 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2280 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2281 long arg6
= (long) 0 ;
2282 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2283 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2284 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2285 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2287 bool temp3
= false ;
2290 bool temp8
= false ;
2291 PyObject
* obj0
= 0 ;
2292 PyObject
* obj1
= 0 ;
2293 PyObject
* obj2
= 0 ;
2294 PyObject
* obj3
= 0 ;
2295 PyObject
* obj4
= 0 ;
2296 PyObject
* obj5
= 0 ;
2297 PyObject
* obj6
= 0 ;
2298 PyObject
* obj7
= 0 ;
2300 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2305 if (SWIG_arg_fail(1)) SWIG_fail
;
2308 arg2
= (int)(SWIG_As_int(obj1
));
2309 if (SWIG_arg_fail(2)) SWIG_fail
;
2314 arg3
= wxString_in_helper(obj2
);
2315 if (arg3
== NULL
) SWIG_fail
;
2322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2333 arg6
= (long)(SWIG_As_long(obj5
));
2334 if (SWIG_arg_fail(6)) SWIG_fail
;
2339 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2340 if (SWIG_arg_fail(7)) SWIG_fail
;
2342 SWIG_null_ref("wxValidator");
2344 if (SWIG_arg_fail(7)) SWIG_fail
;
2349 arg8
= wxString_in_helper(obj7
);
2350 if (arg8
== NULL
) SWIG_fail
;
2355 if (!wxPyCheckForApp()) SWIG_fail
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2385 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2394 if (!wxPyCheckForApp()) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 result
= (wxButton
*)new wxButton();
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2408 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2410 wxButton
*arg1
= (wxButton
*) 0 ;
2411 wxWindow
*arg2
= (wxWindow
*) 0 ;
2412 int arg3
= (int) -1 ;
2413 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2414 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2415 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2416 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2417 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2418 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2419 long arg7
= (long) 0 ;
2420 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2421 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2422 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2423 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2425 bool temp4
= false ;
2428 bool temp9
= false ;
2429 PyObject
* obj0
= 0 ;
2430 PyObject
* obj1
= 0 ;
2431 PyObject
* obj2
= 0 ;
2432 PyObject
* obj3
= 0 ;
2433 PyObject
* obj4
= 0 ;
2434 PyObject
* obj5
= 0 ;
2435 PyObject
* obj6
= 0 ;
2436 PyObject
* obj7
= 0 ;
2437 PyObject
* obj8
= 0 ;
2439 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2444 if (SWIG_arg_fail(1)) SWIG_fail
;
2445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2446 if (SWIG_arg_fail(2)) SWIG_fail
;
2449 arg3
= (int)(SWIG_As_int(obj2
));
2450 if (SWIG_arg_fail(3)) SWIG_fail
;
2455 arg4
= wxString_in_helper(obj3
);
2456 if (arg4
== NULL
) SWIG_fail
;
2463 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2469 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2474 arg7
= (long)(SWIG_As_long(obj6
));
2475 if (SWIG_arg_fail(7)) SWIG_fail
;
2480 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2481 if (SWIG_arg_fail(8)) SWIG_fail
;
2483 SWIG_null_ref("wxValidator");
2485 if (SWIG_arg_fail(8)) SWIG_fail
;
2490 arg9
= wxString_in_helper(obj8
);
2491 if (arg9
== NULL
) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2527 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxButton
*arg1
= (wxButton
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2532 (char *) "self", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2537 if (SWIG_arg_fail(1)) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 (arg1
)->SetDefault();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2552 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= wxButton::GetDefaultSize();
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2569 resultptr
= new wxSize((wxSize
&)(result
));
2570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2578 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2581 wxVisualAttributes result
;
2582 PyObject
* obj0
= 0 ;
2584 (char *) "variant", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2590 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2591 if (SWIG_arg_fail(1)) SWIG_fail
;
2595 if (!wxPyCheckForApp()) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2603 wxVisualAttributes
* resultptr
;
2604 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2613 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2616 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2618 return Py_BuildValue((char *)"");
2620 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
*resultobj
;
2622 wxWindow
*arg1
= (wxWindow
*) 0 ;
2623 int arg2
= (int) -1 ;
2624 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2625 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2626 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2627 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2628 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2629 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2630 long arg6
= (long) wxBU_AUTODRAW
;
2631 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2632 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2633 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2634 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2635 wxBitmapButton
*result
;
2638 bool temp8
= false ;
2639 PyObject
* obj0
= 0 ;
2640 PyObject
* obj1
= 0 ;
2641 PyObject
* obj2
= 0 ;
2642 PyObject
* obj3
= 0 ;
2643 PyObject
* obj4
= 0 ;
2644 PyObject
* obj5
= 0 ;
2645 PyObject
* obj6
= 0 ;
2646 PyObject
* obj7
= 0 ;
2648 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2653 if (SWIG_arg_fail(1)) SWIG_fail
;
2656 arg2
= (int)(SWIG_As_int(obj1
));
2657 if (SWIG_arg_fail(2)) SWIG_fail
;
2662 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2663 if (SWIG_arg_fail(3)) SWIG_fail
;
2665 SWIG_null_ref("wxBitmap");
2667 if (SWIG_arg_fail(3)) SWIG_fail
;
2673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2684 arg6
= (long)(SWIG_As_long(obj5
));
2685 if (SWIG_arg_fail(6)) SWIG_fail
;
2690 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2691 if (SWIG_arg_fail(7)) SWIG_fail
;
2693 SWIG_null_ref("wxValidator");
2695 if (SWIG_arg_fail(7)) SWIG_fail
;
2700 arg8
= wxString_in_helper(obj7
);
2701 if (arg8
== NULL
) SWIG_fail
;
2706 if (!wxPyCheckForApp()) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2728 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2730 wxBitmapButton
*result
;
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2737 if (!wxPyCheckForApp()) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 result
= (wxBitmapButton
*)new wxBitmapButton();
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2751 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2754 wxWindow
*arg2
= (wxWindow
*) 0 ;
2755 int arg3
= (int) -1 ;
2756 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2757 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2758 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2759 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2760 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2761 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2762 long arg7
= (long) wxBU_AUTODRAW
;
2763 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2764 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2765 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2766 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2770 bool temp9
= false ;
2771 PyObject
* obj0
= 0 ;
2772 PyObject
* obj1
= 0 ;
2773 PyObject
* obj2
= 0 ;
2774 PyObject
* obj3
= 0 ;
2775 PyObject
* obj4
= 0 ;
2776 PyObject
* obj5
= 0 ;
2777 PyObject
* obj6
= 0 ;
2778 PyObject
* obj7
= 0 ;
2779 PyObject
* obj8
= 0 ;
2781 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail
;
2787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2788 if (SWIG_arg_fail(2)) SWIG_fail
;
2791 arg3
= (int)(SWIG_As_int(obj2
));
2792 if (SWIG_arg_fail(3)) SWIG_fail
;
2797 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2798 if (SWIG_arg_fail(4)) SWIG_fail
;
2800 SWIG_null_ref("wxBitmap");
2802 if (SWIG_arg_fail(4)) SWIG_fail
;
2808 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2814 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2819 arg7
= (long)(SWIG_As_long(obj6
));
2820 if (SWIG_arg_fail(7)) SWIG_fail
;
2825 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2826 if (SWIG_arg_fail(8)) SWIG_fail
;
2828 SWIG_null_ref("wxValidator");
2830 if (SWIG_arg_fail(8)) SWIG_fail
;
2835 arg9
= wxString_in_helper(obj8
);
2836 if (arg9
== NULL
) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2864 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2868 PyObject
* obj0
= 0 ;
2870 (char *) "self", NULL
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2875 if (SWIG_arg_fail(1)) SWIG_fail
;
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 result
= (arg1
)->GetBitmapLabel();
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) SWIG_fail
;
2884 wxBitmap
* resultptr
;
2885 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2894 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2898 PyObject
* obj0
= 0 ;
2900 (char *) "self", NULL
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2905 if (SWIG_arg_fail(1)) SWIG_fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 result
= (arg1
)->GetBitmapDisabled();
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2914 wxBitmap
* resultptr
;
2915 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2924 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
*resultobj
;
2926 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2928 PyObject
* obj0
= 0 ;
2930 (char *) "self", NULL
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2935 if (SWIG_arg_fail(1)) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 result
= (arg1
)->GetBitmapFocus();
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2944 wxBitmap
* resultptr
;
2945 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2954 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2958 PyObject
* obj0
= 0 ;
2960 (char *) "self", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2965 if (SWIG_arg_fail(1)) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= (arg1
)->GetBitmapSelected();
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2974 wxBitmap
* resultptr
;
2975 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2984 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2987 wxBitmap
*arg2
= 0 ;
2988 PyObject
* obj0
= 0 ;
2989 PyObject
* obj1
= 0 ;
2991 (char *) "self",(char *) "bitmap", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2996 if (SWIG_arg_fail(1)) SWIG_fail
;
2998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2999 if (SWIG_arg_fail(2)) SWIG_fail
;
3001 SWIG_null_ref("wxBitmap");
3003 if (SWIG_arg_fail(2)) SWIG_fail
;
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3012 Py_INCREF(Py_None
); resultobj
= Py_None
;
3019 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3022 wxBitmap
*arg2
= 0 ;
3023 PyObject
* obj0
= 0 ;
3024 PyObject
* obj1
= 0 ;
3026 (char *) "self",(char *) "bitmap", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3031 if (SWIG_arg_fail(1)) SWIG_fail
;
3033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3034 if (SWIG_arg_fail(2)) SWIG_fail
;
3036 SWIG_null_ref("wxBitmap");
3038 if (SWIG_arg_fail(2)) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3047 Py_INCREF(Py_None
); resultobj
= Py_None
;
3054 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
*resultobj
;
3056 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3057 wxBitmap
*arg2
= 0 ;
3058 PyObject
* obj0
= 0 ;
3059 PyObject
* obj1
= 0 ;
3061 (char *) "self",(char *) "bitmap", NULL
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3066 if (SWIG_arg_fail(1)) SWIG_fail
;
3068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3069 if (SWIG_arg_fail(2)) SWIG_fail
;
3071 SWIG_null_ref("wxBitmap");
3073 if (SWIG_arg_fail(2)) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3082 Py_INCREF(Py_None
); resultobj
= Py_None
;
3089 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
;
3091 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3092 wxBitmap
*arg2
= 0 ;
3093 PyObject
* obj0
= 0 ;
3094 PyObject
* obj1
= 0 ;
3096 (char *) "self",(char *) "bitmap", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3101 if (SWIG_arg_fail(1)) SWIG_fail
;
3103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3104 if (SWIG_arg_fail(2)) SWIG_fail
;
3106 SWIG_null_ref("wxBitmap");
3108 if (SWIG_arg_fail(2)) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 Py_INCREF(Py_None
); resultobj
= Py_None
;
3124 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3129 PyObject
* obj0
= 0 ;
3130 PyObject
* obj1
= 0 ;
3131 PyObject
* obj2
= 0 ;
3133 (char *) "self",(char *) "x",(char *) "y", NULL
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3138 if (SWIG_arg_fail(1)) SWIG_fail
;
3140 arg2
= (int)(SWIG_As_int(obj1
));
3141 if (SWIG_arg_fail(2)) SWIG_fail
;
3144 arg3
= (int)(SWIG_As_int(obj2
));
3145 if (SWIG_arg_fail(3)) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 (arg1
)->SetMargins(arg2
,arg3
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3154 Py_INCREF(Py_None
); resultobj
= Py_None
;
3161 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3167 (char *) "self", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3181 resultobj
= SWIG_From_int((int)(result
));
3189 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
;
3191 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3193 PyObject
* obj0
= 0 ;
3195 (char *) "self", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3209 resultobj
= SWIG_From_int((int)(result
));
3217 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3220 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3222 return Py_BuildValue((char *)"");
3224 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3225 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3230 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3235 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3237 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3244 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxWindow
*arg1
= (wxWindow
*) 0 ;
3247 int arg2
= (int) -1 ;
3248 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3249 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3250 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3251 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3252 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3253 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3254 long arg6
= (long) 0 ;
3255 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3256 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3257 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3258 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3260 bool temp3
= false ;
3263 bool temp8
= false ;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3266 PyObject
* obj2
= 0 ;
3267 PyObject
* obj3
= 0 ;
3268 PyObject
* obj4
= 0 ;
3269 PyObject
* obj5
= 0 ;
3270 PyObject
* obj6
= 0 ;
3271 PyObject
* obj7
= 0 ;
3273 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail
;
3281 arg2
= (int)(SWIG_As_int(obj1
));
3282 if (SWIG_arg_fail(2)) SWIG_fail
;
3287 arg3
= wxString_in_helper(obj2
);
3288 if (arg3
== NULL
) SWIG_fail
;
3295 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3301 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3306 arg6
= (long)(SWIG_As_long(obj5
));
3307 if (SWIG_arg_fail(6)) SWIG_fail
;
3312 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3313 if (SWIG_arg_fail(7)) SWIG_fail
;
3315 SWIG_null_ref("wxValidator");
3317 if (SWIG_arg_fail(7)) SWIG_fail
;
3322 arg8
= wxString_in_helper(obj7
);
3323 if (arg8
== NULL
) SWIG_fail
;
3328 if (!wxPyCheckForApp()) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3358 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3367 if (!wxPyCheckForApp()) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 result
= (wxCheckBox
*)new wxCheckBox();
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3381 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3384 wxWindow
*arg2
= (wxWindow
*) 0 ;
3385 int arg3
= (int) -1 ;
3386 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3387 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3388 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3389 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3390 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3391 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3392 long arg7
= (long) 0 ;
3393 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3394 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3395 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3396 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3398 bool temp4
= false ;
3401 bool temp9
= false ;
3402 PyObject
* obj0
= 0 ;
3403 PyObject
* obj1
= 0 ;
3404 PyObject
* obj2
= 0 ;
3405 PyObject
* obj3
= 0 ;
3406 PyObject
* obj4
= 0 ;
3407 PyObject
* obj5
= 0 ;
3408 PyObject
* obj6
= 0 ;
3409 PyObject
* obj7
= 0 ;
3410 PyObject
* obj8
= 0 ;
3412 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3417 if (SWIG_arg_fail(1)) SWIG_fail
;
3418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3419 if (SWIG_arg_fail(2)) SWIG_fail
;
3422 arg3
= (int)(SWIG_As_int(obj2
));
3423 if (SWIG_arg_fail(3)) SWIG_fail
;
3428 arg4
= wxString_in_helper(obj3
);
3429 if (arg4
== NULL
) SWIG_fail
;
3436 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3442 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3447 arg7
= (long)(SWIG_As_long(obj6
));
3448 if (SWIG_arg_fail(7)) SWIG_fail
;
3453 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3454 if (SWIG_arg_fail(8)) SWIG_fail
;
3456 SWIG_null_ref("wxValidator");
3458 if (SWIG_arg_fail(8)) SWIG_fail
;
3463 arg9
= wxString_in_helper(obj8
);
3464 if (arg9
== NULL
) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3500 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3506 (char *) "self", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (bool)(arg1
)->GetValue();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3528 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3532 PyObject
* obj0
= 0 ;
3534 (char *) "self", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3539 if (SWIG_arg_fail(1)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (bool)(arg1
)->IsChecked();
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3556 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3563 (char *) "self",(char *) "state", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail
;
3570 arg2
= (bool const)(SWIG_As_bool(obj1
));
3571 if (SWIG_arg_fail(2)) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 (arg1
)->SetValue(arg2
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 Py_INCREF(Py_None
); resultobj
= Py_None
;
3587 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3590 wxCheckBoxState result
;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= SWIG_From_int((result
));
3613 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3616 wxCheckBoxState arg2
;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3620 (char *) "self",(char *) "state", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3625 if (SWIG_arg_fail(1)) SWIG_fail
;
3627 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3628 if (SWIG_arg_fail(2)) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3644 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 (char *) "self", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3655 if (SWIG_arg_fail(1)) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3672 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3678 (char *) "self", NULL
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3700 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
;
3702 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3703 wxVisualAttributes result
;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "variant", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3712 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3713 if (SWIG_arg_fail(1)) SWIG_fail
;
3717 if (!wxPyCheckForApp()) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3725 wxVisualAttributes
* resultptr
;
3726 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3735 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3738 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3740 return Py_BuildValue((char *)"");
3742 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3743 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3748 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3753 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3755 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3762 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxWindow
*arg1
= (wxWindow
*) 0 ;
3765 int arg2
= (int) -1 ;
3766 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3767 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3768 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3769 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3770 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3771 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3772 long arg6
= (long) 0 ;
3773 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3774 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3775 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3776 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3780 bool temp5
= false ;
3781 bool temp8
= false ;
3782 PyObject
* obj0
= 0 ;
3783 PyObject
* obj1
= 0 ;
3784 PyObject
* obj2
= 0 ;
3785 PyObject
* obj3
= 0 ;
3786 PyObject
* obj4
= 0 ;
3787 PyObject
* obj5
= 0 ;
3788 PyObject
* obj6
= 0 ;
3789 PyObject
* obj7
= 0 ;
3791 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3796 if (SWIG_arg_fail(1)) SWIG_fail
;
3799 arg2
= (int)(SWIG_As_int(obj1
));
3800 if (SWIG_arg_fail(2)) SWIG_fail
;
3806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3817 if (! PySequence_Check(obj4
)) {
3818 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3821 arg5
= new wxArrayString
;
3823 int i
, len
=PySequence_Length(obj4
);
3824 for (i
=0; i
<len
; i
++) {
3825 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3827 PyObject
* str
= PyObject_Unicode(item
);
3829 PyObject
* str
= PyObject_Str(item
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3832 arg5
->Add(Py2wxString(str
));
3840 arg6
= (long)(SWIG_As_long(obj5
));
3841 if (SWIG_arg_fail(6)) SWIG_fail
;
3846 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3847 if (SWIG_arg_fail(7)) SWIG_fail
;
3849 SWIG_null_ref("wxValidator");
3851 if (SWIG_arg_fail(7)) SWIG_fail
;
3856 arg8
= wxString_in_helper(obj7
);
3857 if (arg8
== NULL
) SWIG_fail
;
3862 if (!wxPyCheckForApp()) SWIG_fail
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3871 if (temp5
) delete arg5
;
3880 if (temp5
) delete arg5
;
3890 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3899 if (!wxPyCheckForApp()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxChoice
*)new wxChoice();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3913 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxChoice
*arg1
= (wxChoice
*) 0 ;
3916 wxWindow
*arg2
= (wxWindow
*) 0 ;
3917 int arg3
= (int) -1 ;
3918 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3919 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3920 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3921 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3922 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3923 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3924 long arg7
= (long) 0 ;
3925 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3926 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3927 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3928 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3932 bool temp6
= false ;
3933 bool temp9
= false ;
3934 PyObject
* obj0
= 0 ;
3935 PyObject
* obj1
= 0 ;
3936 PyObject
* obj2
= 0 ;
3937 PyObject
* obj3
= 0 ;
3938 PyObject
* obj4
= 0 ;
3939 PyObject
* obj5
= 0 ;
3940 PyObject
* obj6
= 0 ;
3941 PyObject
* obj7
= 0 ;
3942 PyObject
* obj8
= 0 ;
3944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3949 if (SWIG_arg_fail(1)) SWIG_fail
;
3950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3951 if (SWIG_arg_fail(2)) SWIG_fail
;
3954 arg3
= (int)(SWIG_As_int(obj2
));
3955 if (SWIG_arg_fail(3)) SWIG_fail
;
3961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3972 if (! PySequence_Check(obj5
)) {
3973 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3976 arg6
= new wxArrayString
;
3978 int i
, len
=PySequence_Length(obj5
);
3979 for (i
=0; i
<len
; i
++) {
3980 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3982 PyObject
* str
= PyObject_Unicode(item
);
3984 PyObject
* str
= PyObject_Str(item
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3987 arg6
->Add(Py2wxString(str
));
3995 arg7
= (long)(SWIG_As_long(obj6
));
3996 if (SWIG_arg_fail(7)) SWIG_fail
;
4001 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4002 if (SWIG_arg_fail(8)) SWIG_fail
;
4004 SWIG_null_ref("wxValidator");
4006 if (SWIG_arg_fail(8)) SWIG_fail
;
4011 arg9
= wxString_in_helper(obj8
);
4012 if (arg9
== NULL
) SWIG_fail
;
4017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4027 if (temp6
) delete arg6
;
4036 if (temp6
) delete arg6
;
4046 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4049 wxVisualAttributes result
;
4050 PyObject
* obj0
= 0 ;
4052 (char *) "variant", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4058 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4059 if (SWIG_arg_fail(1)) SWIG_fail
;
4063 if (!wxPyCheckForApp()) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4071 wxVisualAttributes
* resultptr
;
4072 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4081 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4084 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4086 return Py_BuildValue((char *)"");
4088 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4089 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4094 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4099 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4101 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4108 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4110 wxWindow
*arg1
= (wxWindow
*) 0 ;
4111 int arg2
= (int) -1 ;
4112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4118 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4119 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4120 long arg7
= (long) 0 ;
4121 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4122 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4123 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4124 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4126 bool temp3
= false ;
4129 bool temp6
= false ;
4130 bool temp9
= false ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4133 PyObject
* obj2
= 0 ;
4134 PyObject
* obj3
= 0 ;
4135 PyObject
* obj4
= 0 ;
4136 PyObject
* obj5
= 0 ;
4137 PyObject
* obj6
= 0 ;
4138 PyObject
* obj7
= 0 ;
4139 PyObject
* obj8
= 0 ;
4141 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail
;
4149 arg2
= (int)(SWIG_As_int(obj1
));
4150 if (SWIG_arg_fail(2)) SWIG_fail
;
4155 arg3
= wxString_in_helper(obj2
);
4156 if (arg3
== NULL
) SWIG_fail
;
4163 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4169 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4174 if (! PySequence_Check(obj5
)) {
4175 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4178 arg6
= new wxArrayString
;
4180 int i
, len
=PySequence_Length(obj5
);
4181 for (i
=0; i
<len
; i
++) {
4182 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4184 PyObject
* str
= PyObject_Unicode(item
);
4186 PyObject
* str
= PyObject_Str(item
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4189 arg6
->Add(Py2wxString(str
));
4197 arg7
= (long)(SWIG_As_long(obj6
));
4198 if (SWIG_arg_fail(7)) SWIG_fail
;
4203 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4204 if (SWIG_arg_fail(8)) SWIG_fail
;
4206 SWIG_null_ref("wxValidator");
4208 if (SWIG_arg_fail(8)) SWIG_fail
;
4213 arg9
= wxString_in_helper(obj8
);
4214 if (arg9
== NULL
) SWIG_fail
;
4219 if (!wxPyCheckForApp()) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 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
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4232 if (temp6
) delete arg6
;
4245 if (temp6
) delete arg6
;
4255 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4264 if (!wxPyCheckForApp()) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 result
= (wxComboBox
*)new wxComboBox();
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4278 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4281 wxWindow
*arg2
= (wxWindow
*) 0 ;
4282 int arg3
= (int) -1 ;
4283 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4284 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4285 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4286 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4287 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4288 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4289 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4290 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4291 long arg8
= (long) 0 ;
4292 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4293 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4294 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4295 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4297 bool temp4
= false ;
4300 bool temp7
= false ;
4301 bool temp10
= false ;
4302 PyObject
* obj0
= 0 ;
4303 PyObject
* obj1
= 0 ;
4304 PyObject
* obj2
= 0 ;
4305 PyObject
* obj3
= 0 ;
4306 PyObject
* obj4
= 0 ;
4307 PyObject
* obj5
= 0 ;
4308 PyObject
* obj6
= 0 ;
4309 PyObject
* obj7
= 0 ;
4310 PyObject
* obj8
= 0 ;
4311 PyObject
* obj9
= 0 ;
4313 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4318 if (SWIG_arg_fail(1)) SWIG_fail
;
4319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4320 if (SWIG_arg_fail(2)) SWIG_fail
;
4323 arg3
= (int)(SWIG_As_int(obj2
));
4324 if (SWIG_arg_fail(3)) SWIG_fail
;
4329 arg4
= wxString_in_helper(obj3
);
4330 if (arg4
== NULL
) SWIG_fail
;
4337 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4343 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4348 if (! PySequence_Check(obj6
)) {
4349 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4352 arg7
= new wxArrayString
;
4354 int i
, len
=PySequence_Length(obj6
);
4355 for (i
=0; i
<len
; i
++) {
4356 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4358 PyObject
* str
= PyObject_Unicode(item
);
4360 PyObject
* str
= PyObject_Str(item
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4363 arg7
->Add(Py2wxString(str
));
4371 arg8
= (long)(SWIG_As_long(obj7
));
4372 if (SWIG_arg_fail(8)) SWIG_fail
;
4377 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4378 if (SWIG_arg_fail(9)) SWIG_fail
;
4380 SWIG_null_ref("wxValidator");
4382 if (SWIG_arg_fail(9)) SWIG_fail
;
4387 arg10
= wxString_in_helper(obj9
);
4388 if (arg10
== NULL
) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 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
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4407 if (temp7
) delete arg7
;
4420 if (temp7
) delete arg7
;
4430 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "self", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4441 if (SWIG_arg_fail(1)) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= ((wxComboBox
const *)arg1
)->GetValue();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4462 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
*resultobj
;
4464 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4465 wxString
*arg2
= 0 ;
4466 bool temp2
= false ;
4467 PyObject
* obj0
= 0 ;
4468 PyObject
* obj1
= 0 ;
4470 (char *) "self",(char *) "value", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4475 if (SWIG_arg_fail(1)) SWIG_fail
;
4477 arg2
= wxString_in_helper(obj1
);
4478 if (arg2
== NULL
) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 (arg1
)->SetValue((wxString
const &)*arg2
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 Py_INCREF(Py_None
); resultobj
= Py_None
;
4503 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4508 (char *) "self", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4513 if (SWIG_arg_fail(1)) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 Py_INCREF(Py_None
); resultobj
= Py_None
;
4528 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4538 if (SWIG_arg_fail(1)) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 Py_INCREF(Py_None
); resultobj
= Py_None
;
4553 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4556 PyObject
* obj0
= 0 ;
4558 (char *) "self", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4563 if (SWIG_arg_fail(1)) SWIG_fail
;
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4571 Py_INCREF(Py_None
); resultobj
= Py_None
;
4578 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4585 (char *) "self",(char *) "pos", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail
;
4592 arg2
= (long)(SWIG_As_long(obj1
));
4593 if (SWIG_arg_fail(2)) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 (arg1
)->SetInsertionPoint(arg2
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 Py_INCREF(Py_None
); resultobj
= Py_None
;
4609 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4613 PyObject
* obj0
= 0 ;
4615 (char *) "self", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4620 if (SWIG_arg_fail(1)) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_From_long((long)(result
));
4637 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4643 (char *) "self", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4648 if (SWIG_arg_fail(1)) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_From_long((long)(result
));
4665 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4670 wxString
*arg4
= 0 ;
4671 bool temp4
= false ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4674 PyObject
* obj2
= 0 ;
4675 PyObject
* obj3
= 0 ;
4677 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4682 if (SWIG_arg_fail(1)) SWIG_fail
;
4684 arg2
= (long)(SWIG_As_long(obj1
));
4685 if (SWIG_arg_fail(2)) SWIG_fail
;
4688 arg3
= (long)(SWIG_As_long(obj2
));
4689 if (SWIG_arg_fail(3)) SWIG_fail
;
4692 arg4
= wxString_in_helper(obj3
);
4693 if (arg4
== NULL
) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4723 PyObject
* obj1
= 0 ;
4725 (char *) "self",(char *) "n", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail
;
4732 arg2
= (int)(SWIG_As_int(obj1
));
4733 if (SWIG_arg_fail(2)) SWIG_fail
;
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 (arg1
)->SetSelection(arg2
);
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 Py_INCREF(Py_None
); resultobj
= Py_None
;
4749 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4756 PyObject
* obj2
= 0 ;
4758 (char *) "self",(char *) "from",(char *) "to", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4763 if (SWIG_arg_fail(1)) SWIG_fail
;
4765 arg2
= (long)(SWIG_As_long(obj1
));
4766 if (SWIG_arg_fail(2)) SWIG_fail
;
4769 arg3
= (long)(SWIG_As_long(obj2
));
4770 if (SWIG_arg_fail(3)) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 (arg1
)->SetSelection(arg2
,arg3
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 Py_INCREF(Py_None
); resultobj
= Py_None
;
4786 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4789 long *arg2
= (long *) 0 ;
4790 long *arg3
= (long *) 0 ;
4795 PyObject
* obj0
= 0 ;
4797 (char *) "self", NULL
4800 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4801 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4804 if (SWIG_arg_fail(1)) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 (arg1
)->GetSelection(arg2
,arg3
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 Py_INCREF(Py_None
); resultobj
= Py_None
;
4813 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4814 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4815 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4816 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4823 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4826 wxString
*arg2
= 0 ;
4828 bool temp2
= false ;
4829 PyObject
* obj0
= 0 ;
4830 PyObject
* obj1
= 0 ;
4832 (char *) "self",(char *) "string", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4837 if (SWIG_arg_fail(1)) SWIG_fail
;
4839 arg2
= wxString_in_helper(obj1
);
4840 if (arg2
== NULL
) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4867 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4869 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4871 wxString
*arg3
= 0 ;
4872 bool temp3
= false ;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4875 PyObject
* obj2
= 0 ;
4877 (char *) "self",(char *) "n",(char *) "string", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4882 if (SWIG_arg_fail(1)) SWIG_fail
;
4884 arg2
= (int)(SWIG_As_int(obj1
));
4885 if (SWIG_arg_fail(2)) SWIG_fail
;
4888 arg3
= wxString_in_helper(obj2
);
4889 if (arg3
== NULL
) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 Py_INCREF(Py_None
); resultobj
= Py_None
;
4914 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4921 (char *) "self",(char *) "editable", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4926 if (SWIG_arg_fail(1)) SWIG_fail
;
4928 arg2
= (bool)(SWIG_As_bool(obj1
));
4929 if (SWIG_arg_fail(2)) SWIG_fail
;
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 (arg1
)->SetEditable(arg2
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 Py_INCREF(Py_None
); resultobj
= Py_None
;
4945 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4950 (char *) "self", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->SetInsertionPointEnd();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4977 PyObject
* obj2
= 0 ;
4979 (char *) "self",(char *) "from",(char *) "to", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4984 if (SWIG_arg_fail(1)) SWIG_fail
;
4986 arg2
= (long)(SWIG_As_long(obj1
));
4987 if (SWIG_arg_fail(2)) SWIG_fail
;
4990 arg3
= (long)(SWIG_As_long(obj2
));
4991 if (SWIG_arg_fail(3)) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 (arg1
)->Remove(arg2
,arg3
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 Py_INCREF(Py_None
); resultobj
= Py_None
;
5007 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
;
5009 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5013 (char *) "self", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5035 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
;
5037 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5038 PyObject
* obj0
= 0 ;
5040 (char *) "self", NULL
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5045 if (SWIG_arg_fail(1)) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 Py_INCREF(Py_None
); resultobj
= Py_None
;
5060 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5063 PyObject
* obj0
= 0 ;
5065 (char *) "self", NULL
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5070 if (SWIG_arg_fail(1)) SWIG_fail
;
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5078 Py_INCREF(Py_None
); resultobj
= Py_None
;
5085 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
;
5087 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5090 (char *) "self", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5095 if (SWIG_arg_fail(1)) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 (arg1
)->SelectAll();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 Py_INCREF(Py_None
); resultobj
= Py_None
;
5110 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5116 (char *) "self", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5121 if (SWIG_arg_fail(1)) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5138 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5142 PyObject
* obj0
= 0 ;
5144 (char *) "self", NULL
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5149 if (SWIG_arg_fail(1)) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5166 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
;
5168 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5170 PyObject
* obj0
= 0 ;
5172 (char *) "self", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5177 if (SWIG_arg_fail(1)) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5194 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5205 if (SWIG_arg_fail(1)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5222 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5226 PyObject
* obj0
= 0 ;
5228 (char *) "self", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5233 if (SWIG_arg_fail(1)) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5250 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5253 wxVisualAttributes result
;
5254 PyObject
* obj0
= 0 ;
5256 (char *) "variant", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5262 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5263 if (SWIG_arg_fail(1)) SWIG_fail
;
5267 if (!wxPyCheckForApp()) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5275 wxVisualAttributes
* resultptr
;
5276 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5285 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5288 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5290 return Py_BuildValue((char *)"");
5292 static int _wrap_GaugeNameStr_set(PyObject
*) {
5293 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5298 static PyObject
*_wrap_GaugeNameStr_get(void) {
5303 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5305 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5312 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxWindow
*arg1
= (wxWindow
*) 0 ;
5315 int arg2
= (int) -1 ;
5316 int arg3
= (int) 100 ;
5317 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5318 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5319 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5320 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5321 long arg6
= (long) wxGA_HORIZONTAL
;
5322 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5323 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5324 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5325 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5329 bool temp8
= false ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5332 PyObject
* obj2
= 0 ;
5333 PyObject
* obj3
= 0 ;
5334 PyObject
* obj4
= 0 ;
5335 PyObject
* obj5
= 0 ;
5336 PyObject
* obj6
= 0 ;
5337 PyObject
* obj7
= 0 ;
5339 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5344 if (SWIG_arg_fail(1)) SWIG_fail
;
5347 arg2
= (int)(SWIG_As_int(obj1
));
5348 if (SWIG_arg_fail(2)) SWIG_fail
;
5353 arg3
= (int)(SWIG_As_int(obj2
));
5354 if (SWIG_arg_fail(3)) SWIG_fail
;
5360 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5366 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5371 arg6
= (long)(SWIG_As_long(obj5
));
5372 if (SWIG_arg_fail(6)) SWIG_fail
;
5377 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5378 if (SWIG_arg_fail(7)) SWIG_fail
;
5380 SWIG_null_ref("wxValidator");
5382 if (SWIG_arg_fail(7)) SWIG_fail
;
5387 arg8
= wxString_in_helper(obj7
);
5388 if (arg8
== NULL
) SWIG_fail
;
5393 if (!wxPyCheckForApp()) SWIG_fail
;
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5415 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
;
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5424 if (!wxPyCheckForApp()) SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 result
= (wxGauge
*)new wxGauge();
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5438 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxGauge
*arg1
= (wxGauge
*) 0 ;
5441 wxWindow
*arg2
= (wxWindow
*) 0 ;
5442 int arg3
= (int) -1 ;
5443 int arg4
= (int) 100 ;
5444 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5445 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5446 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5447 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5448 long arg7
= (long) wxGA_HORIZONTAL
;
5449 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5450 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5451 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5452 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5456 bool temp9
= false ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5459 PyObject
* obj2
= 0 ;
5460 PyObject
* obj3
= 0 ;
5461 PyObject
* obj4
= 0 ;
5462 PyObject
* obj5
= 0 ;
5463 PyObject
* obj6
= 0 ;
5464 PyObject
* obj7
= 0 ;
5465 PyObject
* obj8
= 0 ;
5467 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5472 if (SWIG_arg_fail(1)) SWIG_fail
;
5473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5474 if (SWIG_arg_fail(2)) SWIG_fail
;
5477 arg3
= (int)(SWIG_As_int(obj2
));
5478 if (SWIG_arg_fail(3)) SWIG_fail
;
5483 arg4
= (int)(SWIG_As_int(obj3
));
5484 if (SWIG_arg_fail(4)) SWIG_fail
;
5490 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5496 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5501 arg7
= (long)(SWIG_As_long(obj6
));
5502 if (SWIG_arg_fail(7)) SWIG_fail
;
5507 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5508 if (SWIG_arg_fail(8)) SWIG_fail
;
5510 SWIG_null_ref("wxValidator");
5512 if (SWIG_arg_fail(8)) SWIG_fail
;
5517 arg9
= wxString_in_helper(obj8
);
5518 if (arg9
== NULL
) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5546 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxGauge
*arg1
= (wxGauge
*) 0 ;
5550 PyObject
* obj0
= 0 ;
5551 PyObject
* obj1
= 0 ;
5553 (char *) "self",(char *) "range", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5558 if (SWIG_arg_fail(1)) SWIG_fail
;
5560 arg2
= (int)(SWIG_As_int(obj1
));
5561 if (SWIG_arg_fail(2)) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 (arg1
)->SetRange(arg2
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 Py_INCREF(Py_None
); resultobj
= Py_None
;
5577 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxGauge
*arg1
= (wxGauge
*) 0 ;
5581 PyObject
* obj0
= 0 ;
5583 (char *) "self", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5588 if (SWIG_arg_fail(1)) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_From_int((int)(result
));
5605 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxGauge
*arg1
= (wxGauge
*) 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5612 (char *) "self",(char *) "pos", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5617 if (SWIG_arg_fail(1)) SWIG_fail
;
5619 arg2
= (int)(SWIG_As_int(obj1
));
5620 if (SWIG_arg_fail(2)) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 (arg1
)->SetValue(arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 Py_INCREF(Py_None
); resultobj
= Py_None
;
5636 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxGauge
*arg1
= (wxGauge
*) 0 ;
5640 PyObject
* obj0
= 0 ;
5642 (char *) "self", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5656 resultobj
= SWIG_From_int((int)(result
));
5664 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 wxGauge
*arg1
= (wxGauge
*) 0 ;
5668 PyObject
* obj0
= 0 ;
5670 (char *) "self", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5675 if (SWIG_arg_fail(1)) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5692 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxGauge
*arg1
= (wxGauge
*) 0 ;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5699 (char *) "self",(char *) "w", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5704 if (SWIG_arg_fail(1)) SWIG_fail
;
5706 arg2
= (int)(SWIG_As_int(obj1
));
5707 if (SWIG_arg_fail(2)) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 (arg1
)->SetShadowWidth(arg2
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 Py_INCREF(Py_None
); resultobj
= Py_None
;
5723 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxGauge
*arg1
= (wxGauge
*) 0 ;
5727 PyObject
* obj0
= 0 ;
5729 (char *) "self", NULL
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5734 if (SWIG_arg_fail(1)) SWIG_fail
;
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5743 resultobj
= SWIG_From_int((int)(result
));
5751 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxGauge
*arg1
= (wxGauge
*) 0 ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5758 (char *) "self",(char *) "w", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5763 if (SWIG_arg_fail(1)) SWIG_fail
;
5765 arg2
= (int)(SWIG_As_int(obj1
));
5766 if (SWIG_arg_fail(2)) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 (arg1
)->SetBezelFace(arg2
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 Py_INCREF(Py_None
); resultobj
= Py_None
;
5782 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxGauge
*arg1
= (wxGauge
*) 0 ;
5786 PyObject
* obj0
= 0 ;
5788 (char *) "self", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5793 if (SWIG_arg_fail(1)) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= SWIG_From_int((int)(result
));
5810 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
;
5812 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5813 wxVisualAttributes result
;
5814 PyObject
* obj0
= 0 ;
5816 (char *) "variant", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5822 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5823 if (SWIG_arg_fail(1)) SWIG_fail
;
5827 if (!wxPyCheckForApp()) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5835 wxVisualAttributes
* resultptr
;
5836 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5845 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5848 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5850 return Py_BuildValue((char *)"");
5852 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5853 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5858 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5863 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5865 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5872 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5873 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5878 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5883 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5885 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5892 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5893 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5898 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5903 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5905 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5912 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxWindow
*arg1
= (wxWindow
*) 0 ;
5915 int arg2
= (int) -1 ;
5916 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5918 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5919 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5920 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5921 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5922 long arg6
= (long) 0 ;
5923 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5924 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5925 wxStaticBox
*result
;
5926 bool temp3
= false ;
5929 bool temp7
= false ;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5932 PyObject
* obj2
= 0 ;
5933 PyObject
* obj3
= 0 ;
5934 PyObject
* obj4
= 0 ;
5935 PyObject
* obj5
= 0 ;
5936 PyObject
* obj6
= 0 ;
5938 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail
;
5946 arg2
= (int)(SWIG_As_int(obj1
));
5947 if (SWIG_arg_fail(2)) SWIG_fail
;
5952 arg3
= wxString_in_helper(obj2
);
5953 if (arg3
== NULL
) SWIG_fail
;
5960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5971 arg6
= (long)(SWIG_As_long(obj5
));
5972 if (SWIG_arg_fail(6)) SWIG_fail
;
5977 arg7
= wxString_in_helper(obj6
);
5978 if (arg7
== NULL
) SWIG_fail
;
5983 if (!wxPyCheckForApp()) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6013 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxStaticBox
*result
;
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6022 if (!wxPyCheckForApp()) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (wxStaticBox
*)new wxStaticBox();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6036 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6039 wxWindow
*arg2
= (wxWindow
*) 0 ;
6040 int arg3
= (int) -1 ;
6041 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6042 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6043 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6044 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6045 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6046 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6047 long arg7
= (long) 0 ;
6048 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6049 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6051 bool temp4
= false ;
6054 bool temp8
= false ;
6055 PyObject
* obj0
= 0 ;
6056 PyObject
* obj1
= 0 ;
6057 PyObject
* obj2
= 0 ;
6058 PyObject
* obj3
= 0 ;
6059 PyObject
* obj4
= 0 ;
6060 PyObject
* obj5
= 0 ;
6061 PyObject
* obj6
= 0 ;
6062 PyObject
* obj7
= 0 ;
6064 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6069 if (SWIG_arg_fail(1)) SWIG_fail
;
6070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6071 if (SWIG_arg_fail(2)) SWIG_fail
;
6074 arg3
= (int)(SWIG_As_int(obj2
));
6075 if (SWIG_arg_fail(3)) SWIG_fail
;
6080 arg4
= wxString_in_helper(obj3
);
6081 if (arg4
== NULL
) SWIG_fail
;
6088 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6094 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6099 arg7
= (long)(SWIG_As_long(obj6
));
6100 if (SWIG_arg_fail(7)) SWIG_fail
;
6105 arg8
= wxString_in_helper(obj7
);
6106 if (arg8
== NULL
) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6142 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
;
6144 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6145 wxVisualAttributes result
;
6146 PyObject
* obj0
= 0 ;
6148 (char *) "variant", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6154 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6155 if (SWIG_arg_fail(1)) SWIG_fail
;
6159 if (!wxPyCheckForApp()) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6167 wxVisualAttributes
* resultptr
;
6168 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6177 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6180 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6182 return Py_BuildValue((char *)"");
6184 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxWindow
*arg1
= (wxWindow
*) 0 ;
6187 int arg2
= (int) -1 ;
6188 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6189 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6190 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6191 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6192 long arg5
= (long) wxLI_HORIZONTAL
;
6193 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6194 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6195 wxStaticLine
*result
;
6198 bool temp6
= false ;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6201 PyObject
* obj2
= 0 ;
6202 PyObject
* obj3
= 0 ;
6203 PyObject
* obj4
= 0 ;
6204 PyObject
* obj5
= 0 ;
6206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6211 if (SWIG_arg_fail(1)) SWIG_fail
;
6214 arg2
= (int)(SWIG_As_int(obj1
));
6215 if (SWIG_arg_fail(2)) SWIG_fail
;
6221 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6227 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6232 arg5
= (long)(SWIG_As_long(obj4
));
6233 if (SWIG_arg_fail(5)) SWIG_fail
;
6238 arg6
= wxString_in_helper(obj5
);
6239 if (arg6
== NULL
) SWIG_fail
;
6244 if (!wxPyCheckForApp()) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6266 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxStaticLine
*result
;
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6275 if (!wxPyCheckForApp()) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 result
= (wxStaticLine
*)new wxStaticLine();
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6289 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
;
6291 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6292 wxWindow
*arg2
= (wxWindow
*) 0 ;
6293 int arg3
= (int) -1 ;
6294 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6295 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6296 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6297 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6298 long arg6
= (long) wxLI_HORIZONTAL
;
6299 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6300 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6304 bool temp7
= false ;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6307 PyObject
* obj2
= 0 ;
6308 PyObject
* obj3
= 0 ;
6309 PyObject
* obj4
= 0 ;
6310 PyObject
* obj5
= 0 ;
6311 PyObject
* obj6
= 0 ;
6313 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6318 if (SWIG_arg_fail(1)) SWIG_fail
;
6319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6320 if (SWIG_arg_fail(2)) SWIG_fail
;
6323 arg3
= (int)(SWIG_As_int(obj2
));
6324 if (SWIG_arg_fail(3)) SWIG_fail
;
6330 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6336 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6341 arg6
= (long)(SWIG_As_long(obj5
));
6342 if (SWIG_arg_fail(6)) SWIG_fail
;
6347 arg7
= wxString_in_helper(obj6
);
6348 if (arg7
== NULL
) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6376 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6404 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= (int)wxStaticLine::GetDefaultSize();
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_From_int((int)(result
));
6428 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6431 wxVisualAttributes result
;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "variant", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6440 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6441 if (SWIG_arg_fail(1)) SWIG_fail
;
6445 if (!wxPyCheckForApp()) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6453 wxVisualAttributes
* resultptr
;
6454 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6463 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6466 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6468 return Py_BuildValue((char *)"");
6470 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6472 wxWindow
*arg1
= (wxWindow
*) 0 ;
6473 int arg2
= (int) -1 ;
6474 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6475 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6476 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6477 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6478 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6479 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6480 long arg6
= (long) 0 ;
6481 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6482 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6483 wxStaticText
*result
;
6484 bool temp3
= false ;
6487 bool temp7
= false ;
6488 PyObject
* obj0
= 0 ;
6489 PyObject
* obj1
= 0 ;
6490 PyObject
* obj2
= 0 ;
6491 PyObject
* obj3
= 0 ;
6492 PyObject
* obj4
= 0 ;
6493 PyObject
* obj5
= 0 ;
6494 PyObject
* obj6
= 0 ;
6496 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6501 if (SWIG_arg_fail(1)) SWIG_fail
;
6504 arg2
= (int)(SWIG_As_int(obj1
));
6505 if (SWIG_arg_fail(2)) SWIG_fail
;
6510 arg3
= wxString_in_helper(obj2
);
6511 if (arg3
== NULL
) SWIG_fail
;
6518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6529 arg6
= (long)(SWIG_As_long(obj5
));
6530 if (SWIG_arg_fail(6)) SWIG_fail
;
6535 arg7
= wxString_in_helper(obj6
);
6536 if (arg7
== NULL
) SWIG_fail
;
6541 if (!wxPyCheckForApp()) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6571 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxStaticText
*result
;
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6580 if (!wxPyCheckForApp()) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (wxStaticText
*)new wxStaticText();
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6594 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6597 wxWindow
*arg2
= (wxWindow
*) 0 ;
6598 int arg3
= (int) -1 ;
6599 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6600 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6601 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6602 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6603 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6604 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6605 long arg7
= (long) 0 ;
6606 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6609 bool temp4
= false ;
6612 bool temp8
= false ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 PyObject
* obj2
= 0 ;
6616 PyObject
* obj3
= 0 ;
6617 PyObject
* obj4
= 0 ;
6618 PyObject
* obj5
= 0 ;
6619 PyObject
* obj6
= 0 ;
6620 PyObject
* obj7
= 0 ;
6622 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6627 if (SWIG_arg_fail(1)) SWIG_fail
;
6628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6629 if (SWIG_arg_fail(2)) SWIG_fail
;
6632 arg3
= (int)(SWIG_As_int(obj2
));
6633 if (SWIG_arg_fail(3)) SWIG_fail
;
6638 arg4
= wxString_in_helper(obj3
);
6639 if (arg4
== NULL
) SWIG_fail
;
6646 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6652 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6657 arg7
= (long)(SWIG_As_long(obj6
));
6658 if (SWIG_arg_fail(7)) SWIG_fail
;
6663 arg8
= wxString_in_helper(obj7
);
6664 if (arg8
== NULL
) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6700 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6703 wxVisualAttributes result
;
6704 PyObject
* obj0
= 0 ;
6706 (char *) "variant", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6712 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6713 if (SWIG_arg_fail(1)) SWIG_fail
;
6717 if (!wxPyCheckForApp()) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6725 wxVisualAttributes
* resultptr
;
6726 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6735 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6738 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6740 return Py_BuildValue((char *)"");
6742 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxWindow
*arg1
= (wxWindow
*) 0 ;
6745 int arg2
= (int) -1 ;
6746 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6747 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6748 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6749 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6750 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6751 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6752 long arg6
= (long) 0 ;
6753 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6754 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6755 wxStaticBitmap
*result
;
6758 bool temp7
= false ;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6761 PyObject
* obj2
= 0 ;
6762 PyObject
* obj3
= 0 ;
6763 PyObject
* obj4
= 0 ;
6764 PyObject
* obj5
= 0 ;
6765 PyObject
* obj6
= 0 ;
6767 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6772 if (SWIG_arg_fail(1)) SWIG_fail
;
6775 arg2
= (int)(SWIG_As_int(obj1
));
6776 if (SWIG_arg_fail(2)) SWIG_fail
;
6781 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6782 if (SWIG_arg_fail(3)) SWIG_fail
;
6784 SWIG_null_ref("wxBitmap");
6786 if (SWIG_arg_fail(3)) SWIG_fail
;
6792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6803 arg6
= (long)(SWIG_As_long(obj5
));
6804 if (SWIG_arg_fail(6)) SWIG_fail
;
6809 arg7
= wxString_in_helper(obj6
);
6810 if (arg7
== NULL
) SWIG_fail
;
6815 if (!wxPyCheckForApp()) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6837 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6839 wxStaticBitmap
*result
;
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6846 if (!wxPyCheckForApp()) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6860 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6863 wxWindow
*arg2
= (wxWindow
*) 0 ;
6864 int arg3
= (int) -1 ;
6865 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6866 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6867 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6868 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6869 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6870 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6871 long arg7
= (long) 0 ;
6872 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6873 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6877 bool temp8
= false ;
6878 PyObject
* obj0
= 0 ;
6879 PyObject
* obj1
= 0 ;
6880 PyObject
* obj2
= 0 ;
6881 PyObject
* obj3
= 0 ;
6882 PyObject
* obj4
= 0 ;
6883 PyObject
* obj5
= 0 ;
6884 PyObject
* obj6
= 0 ;
6885 PyObject
* obj7
= 0 ;
6887 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6892 if (SWIG_arg_fail(1)) SWIG_fail
;
6893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6894 if (SWIG_arg_fail(2)) SWIG_fail
;
6897 arg3
= (int)(SWIG_As_int(obj2
));
6898 if (SWIG_arg_fail(3)) SWIG_fail
;
6903 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6904 if (SWIG_arg_fail(4)) SWIG_fail
;
6906 SWIG_null_ref("wxBitmap");
6908 if (SWIG_arg_fail(4)) SWIG_fail
;
6914 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6920 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6925 arg7
= (long)(SWIG_As_long(obj6
));
6926 if (SWIG_arg_fail(7)) SWIG_fail
;
6931 arg8
= wxString_in_helper(obj7
);
6932 if (arg8
== NULL
) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6960 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6964 PyObject
* obj0
= 0 ;
6966 (char *) "self", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6971 if (SWIG_arg_fail(1)) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 result
= (arg1
)->GetBitmap();
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6980 wxBitmap
* resultptr
;
6981 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6990 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6993 wxBitmap
*arg2
= 0 ;
6994 PyObject
* obj0
= 0 ;
6995 PyObject
* obj1
= 0 ;
6997 (char *) "self",(char *) "bitmap", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7002 if (SWIG_arg_fail(1)) SWIG_fail
;
7004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7005 if (SWIG_arg_fail(2)) SWIG_fail
;
7007 SWIG_null_ref("wxBitmap");
7009 if (SWIG_arg_fail(2)) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 Py_INCREF(Py_None
); resultobj
= Py_None
;
7025 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7029 PyObject
* obj0
= 0 ;
7030 PyObject
* obj1
= 0 ;
7032 (char *) "self",(char *) "icon", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7037 if (SWIG_arg_fail(1)) SWIG_fail
;
7039 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7040 if (SWIG_arg_fail(2)) SWIG_fail
;
7042 SWIG_null_ref("wxIcon");
7044 if (SWIG_arg_fail(2)) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 Py_INCREF(Py_None
); resultobj
= Py_None
;
7060 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7063 wxVisualAttributes result
;
7064 PyObject
* obj0
= 0 ;
7066 (char *) "variant", NULL
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7072 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7073 if (SWIG_arg_fail(1)) SWIG_fail
;
7077 if (!wxPyCheckForApp()) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7085 wxVisualAttributes
* resultptr
;
7086 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7095 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7098 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7100 return Py_BuildValue((char *)"");
7102 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7103 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7108 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7113 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7115 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7122 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxWindow
*arg1
= (wxWindow
*) 0 ;
7125 int arg2
= (int) -1 ;
7126 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7127 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7128 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7129 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7130 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7131 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7132 long arg6
= (long) 0 ;
7133 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7134 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7135 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7136 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7140 bool temp5
= false ;
7141 bool temp8
= false ;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7144 PyObject
* obj2
= 0 ;
7145 PyObject
* obj3
= 0 ;
7146 PyObject
* obj4
= 0 ;
7147 PyObject
* obj5
= 0 ;
7148 PyObject
* obj6
= 0 ;
7149 PyObject
* obj7
= 0 ;
7151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7156 if (SWIG_arg_fail(1)) SWIG_fail
;
7159 arg2
= (int)(SWIG_As_int(obj1
));
7160 if (SWIG_arg_fail(2)) SWIG_fail
;
7166 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7172 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7177 if (! PySequence_Check(obj4
)) {
7178 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7181 arg5
= new wxArrayString
;
7183 int i
, len
=PySequence_Length(obj4
);
7184 for (i
=0; i
<len
; i
++) {
7185 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7187 PyObject
* str
= PyObject_Unicode(item
);
7189 PyObject
* str
= PyObject_Str(item
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7192 arg5
->Add(Py2wxString(str
));
7200 arg6
= (long)(SWIG_As_long(obj5
));
7201 if (SWIG_arg_fail(6)) SWIG_fail
;
7206 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7207 if (SWIG_arg_fail(7)) SWIG_fail
;
7209 SWIG_null_ref("wxValidator");
7211 if (SWIG_arg_fail(7)) SWIG_fail
;
7216 arg8
= wxString_in_helper(obj7
);
7217 if (arg8
== NULL
) SWIG_fail
;
7222 if (!wxPyCheckForApp()) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7231 if (temp5
) delete arg5
;
7240 if (temp5
) delete arg5
;
7250 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7259 if (!wxPyCheckForApp()) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (wxListBox
*)new wxListBox();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7273 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxListBox
*arg1
= (wxListBox
*) 0 ;
7276 wxWindow
*arg2
= (wxWindow
*) 0 ;
7277 int arg3
= (int) -1 ;
7278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7282 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7283 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7284 long arg7
= (long) 0 ;
7285 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7286 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7287 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7288 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7292 bool temp6
= false ;
7293 bool temp9
= false ;
7294 PyObject
* obj0
= 0 ;
7295 PyObject
* obj1
= 0 ;
7296 PyObject
* obj2
= 0 ;
7297 PyObject
* obj3
= 0 ;
7298 PyObject
* obj4
= 0 ;
7299 PyObject
* obj5
= 0 ;
7300 PyObject
* obj6
= 0 ;
7301 PyObject
* obj7
= 0 ;
7302 PyObject
* obj8
= 0 ;
7304 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail
;
7310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7311 if (SWIG_arg_fail(2)) SWIG_fail
;
7314 arg3
= (int)(SWIG_As_int(obj2
));
7315 if (SWIG_arg_fail(3)) SWIG_fail
;
7321 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7327 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7332 if (! PySequence_Check(obj5
)) {
7333 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7336 arg6
= new wxArrayString
;
7338 int i
, len
=PySequence_Length(obj5
);
7339 for (i
=0; i
<len
; i
++) {
7340 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7342 PyObject
* str
= PyObject_Unicode(item
);
7344 PyObject
* str
= PyObject_Str(item
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7347 arg6
->Add(Py2wxString(str
));
7355 arg7
= (long)(SWIG_As_long(obj6
));
7356 if (SWIG_arg_fail(7)) SWIG_fail
;
7361 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7362 if (SWIG_arg_fail(8)) SWIG_fail
;
7364 SWIG_null_ref("wxValidator");
7366 if (SWIG_arg_fail(8)) SWIG_fail
;
7371 arg9
= wxString_in_helper(obj8
);
7372 if (arg9
== NULL
) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7387 if (temp6
) delete arg6
;
7396 if (temp6
) delete arg6
;
7406 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxListBox
*arg1
= (wxListBox
*) 0 ;
7409 wxString
*arg2
= 0 ;
7411 PyObject
*arg4
= (PyObject
*) NULL
;
7412 bool temp2
= false ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 PyObject
* obj2
= 0 ;
7416 PyObject
* obj3
= 0 ;
7418 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7423 if (SWIG_arg_fail(1)) SWIG_fail
;
7425 arg2
= wxString_in_helper(obj1
);
7426 if (arg2
== NULL
) SWIG_fail
;
7430 arg3
= (int)(SWIG_As_int(obj2
));
7431 if (SWIG_arg_fail(3)) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 Py_INCREF(Py_None
); resultobj
= Py_None
;
7458 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxListBox
*arg1
= (wxListBox
*) 0 ;
7461 wxArrayString
*arg2
= 0 ;
7463 bool temp2
= false ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7466 PyObject
* obj2
= 0 ;
7468 (char *) "self",(char *) "items",(char *) "pos", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail
;
7475 if (! PySequence_Check(obj1
)) {
7476 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7479 arg2
= new wxArrayString
;
7481 int i
, len
=PySequence_Length(obj1
);
7482 for (i
=0; i
<len
; i
++) {
7483 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7485 PyObject
* str
= PyObject_Unicode(item
);
7487 PyObject
* str
= PyObject_Str(item
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7490 arg2
->Add(Py2wxString(str
));
7496 arg3
= (int)(SWIG_As_int(obj2
));
7497 if (SWIG_arg_fail(3)) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 Py_INCREF(Py_None
); resultobj
= Py_None
;
7508 if (temp2
) delete arg2
;
7513 if (temp2
) delete arg2
;
7519 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxListBox
*arg1
= (wxListBox
*) 0 ;
7522 wxArrayString
*arg2
= 0 ;
7523 bool temp2
= false ;
7524 PyObject
* obj0
= 0 ;
7525 PyObject
* obj1
= 0 ;
7527 (char *) "self",(char *) "items", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail
;
7534 if (! PySequence_Check(obj1
)) {
7535 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7538 arg2
= new wxArrayString
;
7540 int i
, len
=PySequence_Length(obj1
);
7541 for (i
=0; i
<len
; i
++) {
7542 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7544 PyObject
* str
= PyObject_Unicode(item
);
7546 PyObject
* str
= PyObject_Str(item
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7549 arg2
->Add(Py2wxString(str
));
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7556 (arg1
)->Set((wxArrayString
const &)*arg2
);
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 Py_INCREF(Py_None
); resultobj
= Py_None
;
7563 if (temp2
) delete arg2
;
7568 if (temp2
) delete arg2
;
7574 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxListBox
*arg1
= (wxListBox
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7580 PyObject
* obj1
= 0 ;
7582 (char *) "self",(char *) "n", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7587 if (SWIG_arg_fail(1)) SWIG_fail
;
7589 arg2
= (int)(SWIG_As_int(obj1
));
7590 if (SWIG_arg_fail(2)) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7608 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxListBox
*arg1
= (wxListBox
*) 0 ;
7612 bool arg3
= (bool) true ;
7613 PyObject
* obj0
= 0 ;
7614 PyObject
* obj1
= 0 ;
7615 PyObject
* obj2
= 0 ;
7617 (char *) "self",(char *) "n",(char *) "select", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7622 if (SWIG_arg_fail(1)) SWIG_fail
;
7624 arg2
= (int)(SWIG_As_int(obj1
));
7625 if (SWIG_arg_fail(2)) SWIG_fail
;
7629 arg3
= (bool)(SWIG_As_bool(obj2
));
7630 if (SWIG_arg_fail(3)) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 (arg1
)->SetSelection(arg2
,arg3
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 Py_INCREF(Py_None
); resultobj
= Py_None
;
7647 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxListBox
*arg1
= (wxListBox
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7652 PyObject
* obj1
= 0 ;
7654 (char *) "self",(char *) "n", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7659 if (SWIG_arg_fail(1)) SWIG_fail
;
7661 arg2
= (int)(SWIG_As_int(obj1
));
7662 if (SWIG_arg_fail(2)) SWIG_fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 (arg1
)->Select(arg2
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 Py_INCREF(Py_None
); resultobj
= Py_None
;
7678 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxListBox
*arg1
= (wxListBox
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7685 (char *) "self",(char *) "n", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7690 if (SWIG_arg_fail(1)) SWIG_fail
;
7692 arg2
= (int)(SWIG_As_int(obj1
));
7693 if (SWIG_arg_fail(2)) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 (arg1
)->Deselect(arg2
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 Py_INCREF(Py_None
); resultobj
= Py_None
;
7709 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxListBox
*arg1
= (wxListBox
*) 0 ;
7712 int arg2
= (int) -1 ;
7713 PyObject
* obj0
= 0 ;
7714 PyObject
* obj1
= 0 ;
7716 (char *) "self",(char *) "itemToLeaveSelected", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7721 if (SWIG_arg_fail(1)) SWIG_fail
;
7724 arg2
= (int)(SWIG_As_int(obj1
));
7725 if (SWIG_arg_fail(2)) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 (arg1
)->DeselectAll(arg2
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 Py_INCREF(Py_None
); resultobj
= Py_None
;
7742 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
;
7744 wxListBox
*arg1
= (wxListBox
*) 0 ;
7745 wxString
*arg2
= 0 ;
7746 bool arg3
= (bool) true ;
7748 bool temp2
= false ;
7749 PyObject
* obj0
= 0 ;
7750 PyObject
* obj1
= 0 ;
7751 PyObject
* obj2
= 0 ;
7753 (char *) "self",(char *) "s",(char *) "select", NULL
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7758 if (SWIG_arg_fail(1)) SWIG_fail
;
7760 arg2
= wxString_in_helper(obj1
);
7761 if (arg2
== NULL
) SWIG_fail
;
7766 arg3
= (bool)(SWIG_As_bool(obj2
));
7767 if (SWIG_arg_fail(3)) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7794 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxListBox
*arg1
= (wxListBox
*) 0 ;
7798 PyObject
* obj0
= 0 ;
7800 (char *) "self", NULL
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7805 if (SWIG_arg_fail(1)) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7820 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxListBox
*arg1
= (wxListBox
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7827 (char *) "self",(char *) "n", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7832 if (SWIG_arg_fail(1)) SWIG_fail
;
7834 arg2
= (int)(SWIG_As_int(obj1
));
7835 if (SWIG_arg_fail(2)) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 (arg1
)->SetFirstItem(arg2
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 Py_INCREF(Py_None
); resultobj
= Py_None
;
7851 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxListBox
*arg1
= (wxListBox
*) 0 ;
7854 wxString
*arg2
= 0 ;
7855 bool temp2
= false ;
7856 PyObject
* obj0
= 0 ;
7857 PyObject
* obj1
= 0 ;
7859 (char *) "self",(char *) "s", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7864 if (SWIG_arg_fail(1)) SWIG_fail
;
7866 arg2
= wxString_in_helper(obj1
);
7867 if (arg2
== NULL
) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 Py_INCREF(Py_None
); resultobj
= Py_None
;
7892 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxListBox
*arg1
= (wxListBox
*) 0 ;
7896 PyObject
* obj0
= 0 ;
7897 PyObject
* obj1
= 0 ;
7899 (char *) "self",(char *) "n", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail
;
7906 arg2
= (int)(SWIG_As_int(obj1
));
7907 if (SWIG_arg_fail(2)) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 (arg1
)->EnsureVisible(arg2
);
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 Py_INCREF(Py_None
); resultobj
= Py_None
;
7923 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxListBox
*arg1
= (wxListBox
*) 0 ;
7926 wxString
*arg2
= 0 ;
7927 bool temp2
= false ;
7928 PyObject
* obj0
= 0 ;
7929 PyObject
* obj1
= 0 ;
7931 (char *) "self",(char *) "s", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7936 if (SWIG_arg_fail(1)) SWIG_fail
;
7938 arg2
= wxString_in_helper(obj1
);
7939 if (arg2
== NULL
) SWIG_fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 Py_INCREF(Py_None
); resultobj
= Py_None
;
7964 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxListBox
*arg1
= (wxListBox
*) 0 ;
7968 PyObject
* obj0
= 0 ;
7970 (char *) "self", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7975 if (SWIG_arg_fail(1)) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7992 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxListBox
*arg1
= (wxListBox
*) 0 ;
7996 wxColour
*arg3
= 0 ;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8000 PyObject
* obj2
= 0 ;
8002 (char *) "self",(char *) "item",(char *) "c", NULL
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8007 if (SWIG_arg_fail(1)) SWIG_fail
;
8009 arg2
= (int)(SWIG_As_int(obj1
));
8010 if (SWIG_arg_fail(2)) SWIG_fail
;
8014 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 Py_INCREF(Py_None
); resultobj
= Py_None
;
8030 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxListBox
*arg1
= (wxListBox
*) 0 ;
8034 wxColour
*arg3
= 0 ;
8036 PyObject
* obj0
= 0 ;
8037 PyObject
* obj1
= 0 ;
8038 PyObject
* obj2
= 0 ;
8040 (char *) "self",(char *) "item",(char *) "c", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail
;
8047 arg2
= (int)(SWIG_As_int(obj1
));
8048 if (SWIG_arg_fail(2)) SWIG_fail
;
8052 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 Py_INCREF(Py_None
); resultobj
= Py_None
;
8068 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxListBox
*arg1
= (wxListBox
*) 0 ;
8073 PyObject
* obj0
= 0 ;
8074 PyObject
* obj1
= 0 ;
8075 PyObject
* obj2
= 0 ;
8077 (char *) "self",(char *) "item",(char *) "f", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8082 if (SWIG_arg_fail(1)) SWIG_fail
;
8084 arg2
= (int)(SWIG_As_int(obj1
));
8085 if (SWIG_arg_fail(2)) SWIG_fail
;
8088 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8089 if (SWIG_arg_fail(3)) SWIG_fail
;
8091 SWIG_null_ref("wxFont");
8093 if (SWIG_arg_fail(3)) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 Py_INCREF(Py_None
); resultobj
= Py_None
;
8109 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8112 wxVisualAttributes result
;
8113 PyObject
* obj0
= 0 ;
8115 (char *) "variant", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8121 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8122 if (SWIG_arg_fail(1)) SWIG_fail
;
8126 if (!wxPyCheckForApp()) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8134 wxVisualAttributes
* resultptr
;
8135 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8144 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8147 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8149 return Py_BuildValue((char *)"");
8151 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxWindow
*arg1
= (wxWindow
*) 0 ;
8154 int arg2
= (int) -1 ;
8155 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8156 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8157 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8158 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8159 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8160 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8161 long arg6
= (long) 0 ;
8162 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8163 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8164 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8165 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8166 wxCheckListBox
*result
;
8169 bool temp5
= false ;
8170 bool temp8
= false ;
8171 PyObject
* obj0
= 0 ;
8172 PyObject
* obj1
= 0 ;
8173 PyObject
* obj2
= 0 ;
8174 PyObject
* obj3
= 0 ;
8175 PyObject
* obj4
= 0 ;
8176 PyObject
* obj5
= 0 ;
8177 PyObject
* obj6
= 0 ;
8178 PyObject
* obj7
= 0 ;
8180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail
;
8188 arg2
= (int)(SWIG_As_int(obj1
));
8189 if (SWIG_arg_fail(2)) SWIG_fail
;
8195 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8201 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8206 if (! PySequence_Check(obj4
)) {
8207 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8210 arg5
= new wxArrayString
;
8212 int i
, len
=PySequence_Length(obj4
);
8213 for (i
=0; i
<len
; i
++) {
8214 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8216 PyObject
* str
= PyObject_Unicode(item
);
8218 PyObject
* str
= PyObject_Str(item
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8221 arg5
->Add(Py2wxString(str
));
8229 arg6
= (long)(SWIG_As_long(obj5
));
8230 if (SWIG_arg_fail(6)) SWIG_fail
;
8235 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8236 if (SWIG_arg_fail(7)) SWIG_fail
;
8238 SWIG_null_ref("wxValidator");
8240 if (SWIG_arg_fail(7)) SWIG_fail
;
8245 arg8
= wxString_in_helper(obj7
);
8246 if (arg8
== NULL
) SWIG_fail
;
8251 if (!wxPyCheckForApp()) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8260 if (temp5
) delete arg5
;
8269 if (temp5
) delete arg5
;
8279 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxCheckListBox
*result
;
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8288 if (!wxPyCheckForApp()) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 result
= (wxCheckListBox
*)new wxCheckListBox();
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8302 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
;
8304 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8305 wxWindow
*arg2
= (wxWindow
*) 0 ;
8306 int arg3
= (int) -1 ;
8307 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8308 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8309 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8310 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8311 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8312 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8313 long arg7
= (long) 0 ;
8314 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8315 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8316 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8317 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8321 bool temp6
= false ;
8322 bool temp9
= false ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8325 PyObject
* obj2
= 0 ;
8326 PyObject
* obj3
= 0 ;
8327 PyObject
* obj4
= 0 ;
8328 PyObject
* obj5
= 0 ;
8329 PyObject
* obj6
= 0 ;
8330 PyObject
* obj7
= 0 ;
8331 PyObject
* obj8
= 0 ;
8333 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8338 if (SWIG_arg_fail(1)) SWIG_fail
;
8339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8340 if (SWIG_arg_fail(2)) SWIG_fail
;
8343 arg3
= (int)(SWIG_As_int(obj2
));
8344 if (SWIG_arg_fail(3)) SWIG_fail
;
8350 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8356 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8361 if (! PySequence_Check(obj5
)) {
8362 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8365 arg6
= new wxArrayString
;
8367 int i
, len
=PySequence_Length(obj5
);
8368 for (i
=0; i
<len
; i
++) {
8369 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8371 PyObject
* str
= PyObject_Unicode(item
);
8373 PyObject
* str
= PyObject_Str(item
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8376 arg6
->Add(Py2wxString(str
));
8384 arg7
= (long)(SWIG_As_long(obj6
));
8385 if (SWIG_arg_fail(7)) SWIG_fail
;
8390 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8391 if (SWIG_arg_fail(8)) SWIG_fail
;
8393 SWIG_null_ref("wxValidator");
8395 if (SWIG_arg_fail(8)) SWIG_fail
;
8400 arg9
= wxString_in_helper(obj8
);
8401 if (arg9
== NULL
) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8416 if (temp6
) delete arg6
;
8425 if (temp6
) delete arg6
;
8435 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8443 (char *) "self",(char *) "index", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail
;
8450 arg2
= (int)(SWIG_As_int(obj1
));
8451 if (SWIG_arg_fail(2)) SWIG_fail
;
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8455 result
= (bool)(arg1
)->IsChecked(arg2
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8469 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8473 int arg3
= (int) true ;
8474 PyObject
* obj0
= 0 ;
8475 PyObject
* obj1
= 0 ;
8476 PyObject
* obj2
= 0 ;
8478 (char *) "self",(char *) "index",(char *) "check", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8483 if (SWIG_arg_fail(1)) SWIG_fail
;
8485 arg2
= (int)(SWIG_As_int(obj1
));
8486 if (SWIG_arg_fail(2)) SWIG_fail
;
8490 arg3
= (int)(SWIG_As_int(obj2
));
8491 if (SWIG_arg_fail(3)) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 (arg1
)->Check(arg2
,arg3
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 Py_INCREF(Py_None
); resultobj
= Py_None
;
8508 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8514 (char *) "self", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8519 if (SWIG_arg_fail(1)) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 result
= (int)(arg1
)->GetItemHeight();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= SWIG_From_int((int)(result
));
8536 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8542 PyObject
* obj0
= 0 ;
8543 PyObject
* obj1
= 0 ;
8545 (char *) "self",(char *) "pt", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8550 if (SWIG_arg_fail(1)) SWIG_fail
;
8553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= SWIG_From_int((int)(result
));
8571 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8577 PyObject
* obj0
= 0 ;
8578 PyObject
* obj1
= 0 ;
8579 PyObject
* obj2
= 0 ;
8581 (char *) "self",(char *) "x",(char *) "y", NULL
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8586 if (SWIG_arg_fail(1)) SWIG_fail
;
8588 arg2
= (int)(SWIG_As_int(obj1
));
8589 if (SWIG_arg_fail(2)) SWIG_fail
;
8592 arg3
= (int)(SWIG_As_int(obj2
));
8593 if (SWIG_arg_fail(3)) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_From_int((int)(result
));
8611 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8614 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8616 return Py_BuildValue((char *)"");
8618 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8619 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8624 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8629 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8631 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8638 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxColour
const &arg1_defvalue
= wxNullColour
;
8641 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8642 wxColour
const &arg2_defvalue
= wxNullColour
;
8643 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8644 wxFont
const &arg3_defvalue
= wxNullFont
;
8645 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8646 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8652 PyObject
* obj2
= 0 ;
8653 PyObject
* obj3
= 0 ;
8655 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8662 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8668 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8673 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8674 if (SWIG_arg_fail(3)) SWIG_fail
;
8676 SWIG_null_ref("wxFont");
8678 if (SWIG_arg_fail(3)) SWIG_fail
;
8683 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8684 if (SWIG_arg_fail(4)) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8701 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8706 (char *) "self", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8711 if (SWIG_arg_fail(1)) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 Py_INCREF(Py_None
); resultobj
= Py_None
;
8726 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8754 wxColour
*arg2
= 0 ;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8759 (char *) "self",(char *) "colText", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8764 if (SWIG_arg_fail(1)) SWIG_fail
;
8767 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8786 wxColour
*arg2
= 0 ;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8791 (char *) "self",(char *) "colBack", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8796 if (SWIG_arg_fail(1)) SWIG_fail
;
8799 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 Py_INCREF(Py_None
); resultobj
= Py_None
;
8815 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8819 long arg3
= (long) wxTEXT_ATTR_FONT
;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8824 (char *) "self",(char *) "font",(char *) "flags", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8829 if (SWIG_arg_fail(1)) SWIG_fail
;
8831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8832 if (SWIG_arg_fail(2)) SWIG_fail
;
8834 SWIG_null_ref("wxFont");
8836 if (SWIG_arg_fail(2)) SWIG_fail
;
8840 arg3
= (long)(SWIG_As_long(obj2
));
8841 if (SWIG_arg_fail(3)) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 Py_INCREF(Py_None
); resultobj
= Py_None
;
8858 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8861 wxTextAttrAlignment arg2
;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8865 (char *) "self",(char *) "alignment", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8870 if (SWIG_arg_fail(1)) SWIG_fail
;
8872 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8873 if (SWIG_arg_fail(2)) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 Py_INCREF(Py_None
); resultobj
= Py_None
;
8889 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8892 wxArrayInt
*arg2
= 0 ;
8893 bool temp2
= false ;
8894 PyObject
* obj0
= 0 ;
8895 PyObject
* obj1
= 0 ;
8897 (char *) "self",(char *) "tabs", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8902 if (SWIG_arg_fail(1)) SWIG_fail
;
8904 if (! PySequence_Check(obj1
)) {
8905 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8908 arg2
= new wxArrayInt
;
8910 int i
, len
=PySequence_Length(obj1
);
8911 for (i
=0; i
<len
; i
++) {
8912 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8913 PyObject
* number
= PyNumber_Int(item
);
8914 arg2
->Add(PyInt_AS_LONG(number
));
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8928 if (temp2
) delete arg2
;
8933 if (temp2
) delete arg2
;
8939 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8943 int arg3
= (int) 0 ;
8944 PyObject
* obj0
= 0 ;
8945 PyObject
* obj1
= 0 ;
8946 PyObject
* obj2
= 0 ;
8948 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8953 if (SWIG_arg_fail(1)) SWIG_fail
;
8955 arg2
= (int)(SWIG_As_int(obj1
));
8956 if (SWIG_arg_fail(2)) SWIG_fail
;
8960 arg3
= (int)(SWIG_As_int(obj2
));
8961 if (SWIG_arg_fail(3)) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 (arg1
)->SetLeftIndent(arg2
,arg3
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8982 PyObject
* obj0
= 0 ;
8983 PyObject
* obj1
= 0 ;
8985 (char *) "self",(char *) "indent", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail
;
8992 arg2
= (int)(SWIG_As_int(obj1
));
8993 if (SWIG_arg_fail(2)) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 (arg1
)->SetRightIndent(arg2
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 Py_INCREF(Py_None
); resultobj
= Py_None
;
9009 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9016 (char *) "self",(char *) "flags", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9021 if (SWIG_arg_fail(1)) SWIG_fail
;
9023 arg2
= (long)(SWIG_As_long(obj1
));
9024 if (SWIG_arg_fail(2)) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->SetFlags(arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9044 PyObject
* obj0
= 0 ;
9046 (char *) "self", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9051 if (SWIG_arg_fail(1)) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9068 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9072 PyObject
* obj0
= 0 ;
9074 (char *) "self", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9079 if (SWIG_arg_fail(1)) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9096 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9100 PyObject
* obj0
= 0 ;
9102 (char *) "self", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9107 if (SWIG_arg_fail(1)) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9124 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "self", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9135 if (SWIG_arg_fail(1)) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9152 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9158 (char *) "self", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9163 if (SWIG_arg_fail(1)) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9180 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9186 (char *) "self", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9191 if (SWIG_arg_fail(1)) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9208 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9214 (char *) "self", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9219 if (SWIG_arg_fail(1)) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9236 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9244 (char *) "self",(char *) "flag", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9249 if (SWIG_arg_fail(1)) SWIG_fail
;
9251 arg2
= (long)(SWIG_As_long(obj1
));
9252 if (SWIG_arg_fail(2)) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9270 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9286 result
= (wxColour
*) &_result_ref
;
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9299 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9303 PyObject
* obj0
= 0 ;
9305 (char *) "self", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9310 if (SWIG_arg_fail(1)) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9315 result
= (wxColour
*) &_result_ref
;
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9328 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9334 (char *) "self", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9339 if (SWIG_arg_fail(1)) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9344 result
= (wxFont
*) &_result_ref
;
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 wxFont
* resultptr
= new wxFont(*result
);
9352 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9360 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9363 wxTextAttrAlignment result
;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_From_int((result
));
9386 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "self", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9397 if (SWIG_arg_fail(1)) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9402 result
= (wxArrayInt
*) &_result_ref
;
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= PyList_New(0);
9411 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9412 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9413 PyList_Append(resultobj
, val
);
9423 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
;
9425 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9429 (char *) "self", NULL
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9434 if (SWIG_arg_fail(1)) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_From_long((long)(result
));
9451 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9457 (char *) "self", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9462 if (SWIG_arg_fail(1)) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= SWIG_From_long((long)(result
));
9479 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9483 PyObject
* obj0
= 0 ;
9485 (char *) "self", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9490 if (SWIG_arg_fail(1)) SWIG_fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= SWIG_From_long((long)(result
));
9507 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9518 if (SWIG_arg_fail(1)) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= SWIG_From_long((long)(result
));
9535 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 (char *) "self", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxTextAttr
*arg1
= 0 ;
9566 wxTextAttr
*arg2
= 0 ;
9567 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 PyObject
* obj2
= 0 ;
9573 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9579 if (SWIG_arg_fail(1)) SWIG_fail
;
9581 SWIG_null_ref("wxTextAttr");
9583 if (SWIG_arg_fail(1)) SWIG_fail
;
9586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9587 if (SWIG_arg_fail(2)) SWIG_fail
;
9589 SWIG_null_ref("wxTextAttr");
9591 if (SWIG_arg_fail(2)) SWIG_fail
;
9593 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9594 if (SWIG_arg_fail(3)) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9603 wxTextAttr
* resultptr
;
9604 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9613 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9616 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9618 return Py_BuildValue((char *)"");
9620 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxWindow
*arg1
= (wxWindow
*) 0 ;
9623 int arg2
= (int) -1 ;
9624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9626 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9627 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9628 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9629 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9630 long arg6
= (long) 0 ;
9631 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9632 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9633 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9634 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9636 bool temp3
= false ;
9639 bool temp8
= false ;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9642 PyObject
* obj2
= 0 ;
9643 PyObject
* obj3
= 0 ;
9644 PyObject
* obj4
= 0 ;
9645 PyObject
* obj5
= 0 ;
9646 PyObject
* obj6
= 0 ;
9647 PyObject
* obj7
= 0 ;
9649 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9654 if (SWIG_arg_fail(1)) SWIG_fail
;
9657 arg2
= (int)(SWIG_As_int(obj1
));
9658 if (SWIG_arg_fail(2)) SWIG_fail
;
9663 arg3
= wxString_in_helper(obj2
);
9664 if (arg3
== NULL
) SWIG_fail
;
9671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9682 arg6
= (long)(SWIG_As_long(obj5
));
9683 if (SWIG_arg_fail(6)) SWIG_fail
;
9688 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9689 if (SWIG_arg_fail(7)) SWIG_fail
;
9691 SWIG_null_ref("wxValidator");
9693 if (SWIG_arg_fail(7)) SWIG_fail
;
9698 arg8
= wxString_in_helper(obj7
);
9699 if (arg8
== NULL
) SWIG_fail
;
9704 if (!wxPyCheckForApp()) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9734 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9743 if (!wxPyCheckForApp()) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= (wxTextCtrl
*)new wxTextCtrl();
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9757 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
;
9759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9760 wxWindow
*arg2
= (wxWindow
*) 0 ;
9761 int arg3
= (int) -1 ;
9762 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9763 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9764 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9765 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9766 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9767 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9768 long arg7
= (long) 0 ;
9769 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9770 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9771 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9772 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9774 bool temp4
= false ;
9777 bool temp9
= false ;
9778 PyObject
* obj0
= 0 ;
9779 PyObject
* obj1
= 0 ;
9780 PyObject
* obj2
= 0 ;
9781 PyObject
* obj3
= 0 ;
9782 PyObject
* obj4
= 0 ;
9783 PyObject
* obj5
= 0 ;
9784 PyObject
* obj6
= 0 ;
9785 PyObject
* obj7
= 0 ;
9786 PyObject
* obj8
= 0 ;
9788 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9793 if (SWIG_arg_fail(1)) SWIG_fail
;
9794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9795 if (SWIG_arg_fail(2)) SWIG_fail
;
9798 arg3
= (int)(SWIG_As_int(obj2
));
9799 if (SWIG_arg_fail(3)) SWIG_fail
;
9804 arg4
= wxString_in_helper(obj3
);
9805 if (arg4
== NULL
) SWIG_fail
;
9812 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9818 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9823 arg7
= (long)(SWIG_As_long(obj6
));
9824 if (SWIG_arg_fail(7)) SWIG_fail
;
9829 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9830 if (SWIG_arg_fail(8)) SWIG_fail
;
9832 SWIG_null_ref("wxValidator");
9834 if (SWIG_arg_fail(8)) SWIG_fail
;
9839 arg9
= wxString_in_helper(obj8
);
9840 if (arg9
== NULL
) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9876 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9882 (char *) "self", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9887 if (SWIG_arg_fail(1)) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9908 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9911 wxString
*arg2
= 0 ;
9912 bool temp2
= false ;
9913 PyObject
* obj0
= 0 ;
9914 PyObject
* obj1
= 0 ;
9916 (char *) "self",(char *) "value", NULL
9919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9921 if (SWIG_arg_fail(1)) SWIG_fail
;
9923 arg2
= wxString_in_helper(obj1
);
9924 if (arg2
== NULL
) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 (arg1
)->SetValue((wxString
const &)*arg2
);
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 Py_INCREF(Py_None
); resultobj
= Py_None
;
9949 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9955 PyObject
* obj0
= 0 ;
9956 PyObject
* obj1
= 0 ;
9957 PyObject
* obj2
= 0 ;
9959 (char *) "self",(char *) "from",(char *) "to", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9964 if (SWIG_arg_fail(1)) SWIG_fail
;
9966 arg2
= (long)(SWIG_As_long(obj1
));
9967 if (SWIG_arg_fail(2)) SWIG_fail
;
9970 arg3
= (long)(SWIG_As_long(obj2
));
9971 if (SWIG_arg_fail(3)) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9993 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self",(char *) "lineNo", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10006 if (SWIG_arg_fail(1)) SWIG_fail
;
10008 arg2
= (long)(SWIG_As_long(obj1
));
10009 if (SWIG_arg_fail(2)) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= SWIG_From_int((int)(result
));
10027 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj1
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self",(char *) "lineNo", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10040 if (SWIG_arg_fail(1)) SWIG_fail
;
10042 arg2
= (long)(SWIG_As_long(obj1
));
10043 if (SWIG_arg_fail(2)) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10065 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10076 if (SWIG_arg_fail(1)) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_From_int((int)(result
));
10093 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
;
10095 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10097 PyObject
* obj0
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10104 if (SWIG_arg_fail(1)) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10121 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10125 PyObject
* obj0
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "self", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10149 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10153 PyObject
* obj0
= 0 ;
10154 char *kwnames
[] = {
10155 (char *) "self", NULL
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10160 if (SWIG_arg_fail(1)) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10177 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10188 if (SWIG_arg_fail(1)) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10205 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10208 long *arg2
= (long *) 0 ;
10209 long *arg3
= (long *) 0 ;
10214 PyObject
* obj0
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self", NULL
10219 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10220 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10223 if (SWIG_arg_fail(1)) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 Py_INCREF(Py_None
); resultobj
= Py_None
;
10232 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10233 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10234 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10235 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10242 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10246 PyObject
* obj0
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10253 if (SWIG_arg_fail(1)) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10274 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10277 PyObject
* obj0
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 Py_INCREF(Py_None
); resultobj
= Py_None
;
10299 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
;
10301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10304 wxString
*arg4
= 0 ;
10305 bool temp4
= false ;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 PyObject
* obj2
= 0 ;
10309 PyObject
* obj3
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10316 if (SWIG_arg_fail(1)) SWIG_fail
;
10318 arg2
= (long)(SWIG_As_long(obj1
));
10319 if (SWIG_arg_fail(2)) SWIG_fail
;
10322 arg3
= (long)(SWIG_As_long(obj2
));
10323 if (SWIG_arg_fail(3)) SWIG_fail
;
10326 arg4
= wxString_in_helper(obj3
);
10327 if (arg4
== NULL
) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 Py_INCREF(Py_None
); resultobj
= Py_None
;
10352 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 PyObject
* obj2
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "self",(char *) "from",(char *) "to", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10366 if (SWIG_arg_fail(1)) SWIG_fail
;
10368 arg2
= (long)(SWIG_As_long(obj1
));
10369 if (SWIG_arg_fail(2)) SWIG_fail
;
10372 arg3
= (long)(SWIG_As_long(obj2
));
10373 if (SWIG_arg_fail(3)) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 (arg1
)->Remove(arg2
,arg3
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 Py_INCREF(Py_None
); resultobj
= Py_None
;
10389 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10392 wxString
*arg2
= 0 ;
10394 bool temp2
= false ;
10395 PyObject
* obj0
= 0 ;
10396 PyObject
* obj1
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self",(char *) "file", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10403 if (SWIG_arg_fail(1)) SWIG_fail
;
10405 arg2
= wxString_in_helper(obj1
);
10406 if (arg2
== NULL
) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10433 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10436 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10437 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10439 bool temp2
= false ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self",(char *) "file", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10448 if (SWIG_arg_fail(1)) SWIG_fail
;
10451 arg2
= wxString_in_helper(obj1
);
10452 if (arg2
== NULL
) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10480 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10490 if (SWIG_arg_fail(1)) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 (arg1
)->MarkDirty();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 Py_INCREF(Py_None
); resultobj
= Py_None
;
10505 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10515 if (SWIG_arg_fail(1)) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 (arg1
)->DiscardEdits();
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 Py_INCREF(Py_None
); resultobj
= Py_None
;
10530 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10533 unsigned long arg2
;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self",(char *) "len", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10542 if (SWIG_arg_fail(1)) SWIG_fail
;
10544 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10545 if (SWIG_arg_fail(2)) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 (arg1
)->SetMaxLength(arg2
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 Py_INCREF(Py_None
); resultobj
= Py_None
;
10561 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10564 wxString
*arg2
= 0 ;
10565 bool temp2
= false ;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "text", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10574 if (SWIG_arg_fail(1)) SWIG_fail
;
10576 arg2
= wxString_in_helper(obj1
);
10577 if (arg2
== NULL
) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 (arg1
)->WriteText((wxString
const &)*arg2
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 Py_INCREF(Py_None
); resultobj
= Py_None
;
10602 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10605 wxString
*arg2
= 0 ;
10606 bool temp2
= false ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "text", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10615 if (SWIG_arg_fail(1)) SWIG_fail
;
10617 arg2
= wxString_in_helper(obj1
);
10618 if (arg2
== NULL
) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->AppendText((wxString
const &)*arg2
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 Py_INCREF(Py_None
); resultobj
= Py_None
;
10643 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
;
10645 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10646 wxKeyEvent
*arg2
= 0 ;
10648 PyObject
* obj0
= 0 ;
10649 PyObject
* obj1
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self",(char *) "event", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10656 if (SWIG_arg_fail(1)) SWIG_fail
;
10658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10659 if (SWIG_arg_fail(2)) SWIG_fail
;
10660 if (arg2
== NULL
) {
10661 SWIG_null_ref("wxKeyEvent");
10663 if (SWIG_arg_fail(2)) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10681 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10686 wxTextAttr
*arg4
= 0 ;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 PyObject
* obj2
= 0 ;
10691 PyObject
* obj3
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10698 if (SWIG_arg_fail(1)) SWIG_fail
;
10700 arg2
= (long)(SWIG_As_long(obj1
));
10701 if (SWIG_arg_fail(2)) SWIG_fail
;
10704 arg3
= (long)(SWIG_As_long(obj2
));
10705 if (SWIG_arg_fail(3)) SWIG_fail
;
10708 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10709 if (SWIG_arg_fail(4)) SWIG_fail
;
10710 if (arg4
== NULL
) {
10711 SWIG_null_ref("wxTextAttr");
10713 if (SWIG_arg_fail(4)) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10731 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10735 wxTextAttr
*arg3
= 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 PyObject
* obj2
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self",(char *) "position",(char *) "style", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10746 if (SWIG_arg_fail(1)) SWIG_fail
;
10748 arg2
= (long)(SWIG_As_long(obj1
));
10749 if (SWIG_arg_fail(2)) SWIG_fail
;
10752 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10753 if (SWIG_arg_fail(3)) SWIG_fail
;
10754 if (arg3
== NULL
) {
10755 SWIG_null_ref("wxTextAttr");
10757 if (SWIG_arg_fail(3)) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10775 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10778 wxTextAttr
*arg2
= 0 ;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self",(char *) "style", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail
;
10790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10791 if (SWIG_arg_fail(2)) SWIG_fail
;
10792 if (arg2
== NULL
) {
10793 SWIG_null_ref("wxTextAttr");
10795 if (SWIG_arg_fail(2)) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10813 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10816 wxTextAttr
*result
;
10817 PyObject
* obj0
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10824 if (SWIG_arg_fail(1)) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10829 result
= (wxTextAttr
*) &_result_ref
;
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10842 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 PyObject
* obj1
= 0 ;
10850 PyObject
* obj2
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self",(char *) "x",(char *) "y", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10857 if (SWIG_arg_fail(1)) SWIG_fail
;
10859 arg2
= (long)(SWIG_As_long(obj1
));
10860 if (SWIG_arg_fail(2)) SWIG_fail
;
10863 arg3
= (long)(SWIG_As_long(obj2
));
10864 if (SWIG_arg_fail(3)) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10874 resultobj
= SWIG_From_long((long)(result
));
10882 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10886 long *arg3
= (long *) 0 ;
10887 long *arg4
= (long *) 0 ;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self",(char *) "pos", NULL
10898 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10899 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10902 if (SWIG_arg_fail(1)) SWIG_fail
;
10904 arg2
= (long)(SWIG_As_long(obj1
));
10905 if (SWIG_arg_fail(2)) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 Py_INCREF(Py_None
); resultobj
= Py_None
;
10915 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10916 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10917 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10918 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10925 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "pos", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10937 if (SWIG_arg_fail(1)) SWIG_fail
;
10939 arg2
= (long)(SWIG_As_long(obj1
));
10940 if (SWIG_arg_fail(2)) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 (arg1
)->ShowPosition(arg2
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 Py_INCREF(Py_None
); resultobj
= Py_None
;
10956 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
;
10958 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10959 wxPoint
*arg2
= 0 ;
10960 long *arg3
= (long *) 0 ;
10961 long *arg4
= (long *) 0 ;
10962 wxTextCtrlHitTestResult result
;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "self",(char *) "pt", NULL
10974 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10975 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10978 if (SWIG_arg_fail(1)) SWIG_fail
;
10981 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= SWIG_From_int((result
));
10991 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10992 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10993 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10994 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11001 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11004 wxPoint
*arg2
= 0 ;
11005 long *arg3
= (long *) 0 ;
11006 wxTextCtrlHitTestResult result
;
11010 PyObject
* obj0
= 0 ;
11011 PyObject
* obj1
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self",(char *) "pt", NULL
11016 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11019 if (SWIG_arg_fail(1)) SWIG_fail
;
11022 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_From_int((result
));
11032 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11033 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11040 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11050 if (SWIG_arg_fail(1)) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 Py_INCREF(Py_None
); resultobj
= Py_None
;
11065 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11068 PyObject
* obj0
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "self", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11075 if (SWIG_arg_fail(1)) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 Py_INCREF(Py_None
); resultobj
= Py_None
;
11090 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail
;
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 Py_INCREF(Py_None
); resultobj
= Py_None
;
11115 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 char *kwnames
[] = {
11149 (char *) "self", NULL
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11154 if (SWIG_arg_fail(1)) SWIG_fail
;
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11182 if (SWIG_arg_fail(1)) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11199 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 char *kwnames
[] = {
11204 (char *) "self", NULL
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11209 if (SWIG_arg_fail(1)) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 Py_INCREF(Py_None
); resultobj
= Py_None
;
11224 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11227 PyObject
* obj0
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "self", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11234 if (SWIG_arg_fail(1)) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 Py_INCREF(Py_None
); resultobj
= Py_None
;
11249 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11253 PyObject
* obj0
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11260 if (SWIG_arg_fail(1)) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11277 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11281 PyObject
* obj0
= 0 ;
11282 char *kwnames
[] = {
11283 (char *) "self", NULL
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11288 if (SWIG_arg_fail(1)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11305 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11309 PyObject
* obj0
= 0 ;
11310 PyObject
* obj1
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self",(char *) "pos", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11317 if (SWIG_arg_fail(1)) SWIG_fail
;
11319 arg2
= (long)(SWIG_As_long(obj1
));
11320 if (SWIG_arg_fail(2)) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 (arg1
)->SetInsertionPoint(arg2
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 Py_INCREF(Py_None
); resultobj
= Py_None
;
11336 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 (arg1
)->SetInsertionPointEnd();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 Py_INCREF(Py_None
); resultobj
= Py_None
;
11361 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11365 PyObject
* obj0
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11372 if (SWIG_arg_fail(1)) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= SWIG_From_long((long)(result
));
11389 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= SWIG_From_long((long)(result
));
11417 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11422 PyObject
* obj0
= 0 ;
11423 PyObject
* obj1
= 0 ;
11424 PyObject
* obj2
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "self",(char *) "from",(char *) "to", NULL
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11431 if (SWIG_arg_fail(1)) SWIG_fail
;
11433 arg2
= (long)(SWIG_As_long(obj1
));
11434 if (SWIG_arg_fail(2)) SWIG_fail
;
11437 arg3
= (long)(SWIG_As_long(obj2
));
11438 if (SWIG_arg_fail(3)) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 (arg1
)->SetSelection(arg2
,arg3
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11454 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "self", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11464 if (SWIG_arg_fail(1)) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 (arg1
)->SelectAll();
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 Py_INCREF(Py_None
); resultobj
= Py_None
;
11479 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11483 PyObject
* obj0
= 0 ;
11484 PyObject
* obj1
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self",(char *) "editable", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11491 if (SWIG_arg_fail(1)) SWIG_fail
;
11493 arg2
= (bool)(SWIG_As_bool(obj1
));
11494 if (SWIG_arg_fail(2)) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 (arg1
)->SetEditable(arg2
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 Py_INCREF(Py_None
); resultobj
= Py_None
;
11510 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11513 bool arg2
= (bool) true ;
11515 PyObject
* obj0
= 0 ;
11516 PyObject
* obj1
= 0 ;
11517 char *kwnames
[] = {
11518 (char *) "self",(char *) "show", NULL
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11523 if (SWIG_arg_fail(1)) SWIG_fail
;
11526 arg2
= (bool)(SWIG_As_bool(obj1
));
11527 if (SWIG_arg_fail(2)) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11546 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
*resultobj
;
11548 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11550 PyObject
* obj0
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11557 if (SWIG_arg_fail(1)) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 result
= (bool)(arg1
)->HideNativeCaret();
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11574 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11577 wxString
*arg2
= 0 ;
11578 bool temp2
= false ;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 char *kwnames
[] = {
11582 (char *) "self",(char *) "text", NULL
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11587 if (SWIG_arg_fail(1)) SWIG_fail
;
11589 arg2
= wxString_in_helper(obj1
);
11590 if (arg2
== NULL
) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 Py_INCREF(Py_None
); resultobj
= Py_None
;
11615 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 PyObject
* obj2
= 0 ;
11624 char *kwnames
[] = {
11625 (char *) "self",(char *) "from",(char *) "to", NULL
11628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11630 if (SWIG_arg_fail(1)) SWIG_fail
;
11632 arg2
= (long)(SWIG_As_long(obj1
));
11633 if (SWIG_arg_fail(2)) SWIG_fail
;
11636 arg3
= (long)(SWIG_As_long(obj2
));
11637 if (SWIG_arg_fail(3)) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11659 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11662 wxVisualAttributes result
;
11663 PyObject
* obj0
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "variant", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11671 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11672 if (SWIG_arg_fail(1)) SWIG_fail
;
11676 if (!wxPyCheckForApp()) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11684 wxVisualAttributes
* resultptr
;
11685 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11694 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11697 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11699 return Py_BuildValue((char *)"");
11701 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
;
11704 wxMouseEvent
*arg2
= 0 ;
11707 wxTextUrlEvent
*result
;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 PyObject
* obj2
= 0 ;
11711 PyObject
* obj3
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11718 arg1
= (int)(SWIG_As_int(obj0
));
11719 if (SWIG_arg_fail(1)) SWIG_fail
;
11722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11723 if (SWIG_arg_fail(2)) SWIG_fail
;
11724 if (arg2
== NULL
) {
11725 SWIG_null_ref("wxMouseEvent");
11727 if (SWIG_arg_fail(2)) SWIG_fail
;
11730 arg3
= (long)(SWIG_As_long(obj2
));
11731 if (SWIG_arg_fail(3)) SWIG_fail
;
11734 arg4
= (long)(SWIG_As_long(obj3
));
11735 if (SWIG_arg_fail(4)) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11751 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11754 wxMouseEvent
*result
;
11755 PyObject
* obj0
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11762 if (SWIG_arg_fail(1)) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11767 result
= (wxMouseEvent
*) &_result_ref
;
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11780 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11784 PyObject
* obj0
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11791 if (SWIG_arg_fail(1)) SWIG_fail
;
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_From_long((long)(result
));
11808 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11812 PyObject
* obj0
= 0 ;
11813 char *kwnames
[] = {
11814 (char *) "self", NULL
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11819 if (SWIG_arg_fail(1)) SWIG_fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_From_long((long)(result
));
11836 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11839 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11841 return Py_BuildValue((char *)"");
11843 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11844 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11849 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11854 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11856 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11863 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxWindow
*arg1
= (wxWindow
*) 0 ;
11866 int arg2
= (int) -1 ;
11867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11869 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11870 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11871 long arg5
= (long) wxSB_HORIZONTAL
;
11872 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11873 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11874 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11876 wxScrollBar
*result
;
11879 bool temp7
= false ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 PyObject
* obj2
= 0 ;
11883 PyObject
* obj3
= 0 ;
11884 PyObject
* obj4
= 0 ;
11885 PyObject
* obj5
= 0 ;
11886 PyObject
* obj6
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11893 if (SWIG_arg_fail(1)) SWIG_fail
;
11896 arg2
= (int)(SWIG_As_int(obj1
));
11897 if (SWIG_arg_fail(2)) SWIG_fail
;
11903 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11909 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11914 arg5
= (long)(SWIG_As_long(obj4
));
11915 if (SWIG_arg_fail(5)) SWIG_fail
;
11920 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11921 if (SWIG_arg_fail(6)) SWIG_fail
;
11922 if (arg6
== NULL
) {
11923 SWIG_null_ref("wxValidator");
11925 if (SWIG_arg_fail(6)) SWIG_fail
;
11930 arg7
= wxString_in_helper(obj6
);
11931 if (arg7
== NULL
) SWIG_fail
;
11936 if (!wxPyCheckForApp()) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11958 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxScrollBar
*result
;
11961 char *kwnames
[] = {
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11967 if (!wxPyCheckForApp()) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (wxScrollBar
*)new wxScrollBar();
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11981 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11984 wxWindow
*arg2
= (wxWindow
*) 0 ;
11985 int arg3
= (int) -1 ;
11986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11990 long arg6
= (long) wxSB_HORIZONTAL
;
11991 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11992 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11993 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11994 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11998 bool temp8
= false ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 PyObject
* obj2
= 0 ;
12002 PyObject
* obj3
= 0 ;
12003 PyObject
* obj4
= 0 ;
12004 PyObject
* obj5
= 0 ;
12005 PyObject
* obj6
= 0 ;
12006 PyObject
* obj7
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12013 if (SWIG_arg_fail(1)) SWIG_fail
;
12014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12015 if (SWIG_arg_fail(2)) SWIG_fail
;
12018 arg3
= (int)(SWIG_As_int(obj2
));
12019 if (SWIG_arg_fail(3)) SWIG_fail
;
12025 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12031 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12036 arg6
= (long)(SWIG_As_long(obj5
));
12037 if (SWIG_arg_fail(6)) SWIG_fail
;
12042 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12043 if (SWIG_arg_fail(7)) SWIG_fail
;
12044 if (arg7
== NULL
) {
12045 SWIG_null_ref("wxValidator");
12047 if (SWIG_arg_fail(7)) SWIG_fail
;
12052 arg8
= wxString_in_helper(obj7
);
12053 if (arg8
== NULL
) SWIG_fail
;
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12081 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
;
12083 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12092 if (SWIG_arg_fail(1)) SWIG_fail
;
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_From_int((int)(result
));
12109 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12120 if (SWIG_arg_fail(1)) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= SWIG_From_int((int)(result
));
12137 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12148 if (SWIG_arg_fail(1)) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= SWIG_From_int((int)(result
));
12165 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= SWIG_From_int((int)(result
));
12193 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
;
12195 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12221 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12225 PyObject
* obj0
= 0 ;
12226 PyObject
* obj1
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self",(char *) "viewStart", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12233 if (SWIG_arg_fail(1)) SWIG_fail
;
12235 arg2
= (int)(SWIG_As_int(obj1
));
12236 if (SWIG_arg_fail(2)) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 (arg1
)->SetThumbPosition(arg2
);
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12245 Py_INCREF(Py_None
); resultobj
= Py_None
;
12252 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12259 bool arg6
= (bool) true ;
12260 PyObject
* obj0
= 0 ;
12261 PyObject
* obj1
= 0 ;
12262 PyObject
* obj2
= 0 ;
12263 PyObject
* obj3
= 0 ;
12264 PyObject
* obj4
= 0 ;
12265 PyObject
* obj5
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12272 if (SWIG_arg_fail(1)) SWIG_fail
;
12274 arg2
= (int)(SWIG_As_int(obj1
));
12275 if (SWIG_arg_fail(2)) SWIG_fail
;
12278 arg3
= (int)(SWIG_As_int(obj2
));
12279 if (SWIG_arg_fail(3)) SWIG_fail
;
12282 arg4
= (int)(SWIG_As_int(obj3
));
12283 if (SWIG_arg_fail(4)) SWIG_fail
;
12286 arg5
= (int)(SWIG_As_int(obj4
));
12287 if (SWIG_arg_fail(5)) SWIG_fail
;
12291 arg6
= (bool)(SWIG_As_bool(obj5
));
12292 if (SWIG_arg_fail(6)) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 Py_INCREF(Py_None
); resultobj
= Py_None
;
12309 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12312 wxVisualAttributes result
;
12313 PyObject
* obj0
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "variant", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12321 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12322 if (SWIG_arg_fail(1)) SWIG_fail
;
12326 if (!wxPyCheckForApp()) SWIG_fail
;
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12334 wxVisualAttributes
* resultptr
;
12335 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12344 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12347 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12349 return Py_BuildValue((char *)"");
12351 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12352 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12357 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12362 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12364 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12371 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12372 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12377 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12382 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12384 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12391 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxWindow
*arg1
= (wxWindow
*) 0 ;
12394 int arg2
= (int) -1 ;
12395 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12396 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12397 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12398 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12399 long arg5
= (long) wxSP_HORIZONTAL
;
12400 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12401 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12402 wxSpinButton
*result
;
12405 bool temp6
= false ;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 PyObject
* obj2
= 0 ;
12409 PyObject
* obj3
= 0 ;
12410 PyObject
* obj4
= 0 ;
12411 PyObject
* obj5
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12418 if (SWIG_arg_fail(1)) SWIG_fail
;
12421 arg2
= (int)(SWIG_As_int(obj1
));
12422 if (SWIG_arg_fail(2)) SWIG_fail
;
12428 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12434 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12439 arg5
= (long)(SWIG_As_long(obj4
));
12440 if (SWIG_arg_fail(5)) SWIG_fail
;
12445 arg6
= wxString_in_helper(obj5
);
12446 if (arg6
== NULL
) SWIG_fail
;
12451 if (!wxPyCheckForApp()) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12473 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxSpinButton
*result
;
12476 char *kwnames
[] = {
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12482 if (!wxPyCheckForApp()) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (wxSpinButton
*)new wxSpinButton();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12496 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12499 wxWindow
*arg2
= (wxWindow
*) 0 ;
12500 int arg3
= (int) -1 ;
12501 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12502 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12503 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12504 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12505 long arg6
= (long) wxSP_HORIZONTAL
;
12506 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12507 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12511 bool temp7
= false ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 PyObject
* obj2
= 0 ;
12515 PyObject
* obj3
= 0 ;
12516 PyObject
* obj4
= 0 ;
12517 PyObject
* obj5
= 0 ;
12518 PyObject
* obj6
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12525 if (SWIG_arg_fail(1)) SWIG_fail
;
12526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12527 if (SWIG_arg_fail(2)) SWIG_fail
;
12530 arg3
= (int)(SWIG_As_int(obj2
));
12531 if (SWIG_arg_fail(3)) SWIG_fail
;
12537 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12543 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12548 arg6
= (long)(SWIG_As_long(obj5
));
12549 if (SWIG_arg_fail(6)) SWIG_fail
;
12554 arg7
= wxString_in_helper(obj6
);
12555 if (arg7
== NULL
) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12583 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12594 if (SWIG_arg_fail(1)) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_From_int((int)(result
));
12611 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12622 if (SWIG_arg_fail(1)) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_From_int((int)(result
));
12639 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= SWIG_From_int((int)(result
));
12667 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 PyObject
* obj1
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self",(char *) "val", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12679 if (SWIG_arg_fail(1)) SWIG_fail
;
12681 arg2
= (int)(SWIG_As_int(obj1
));
12682 if (SWIG_arg_fail(2)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 (arg1
)->SetValue(arg2
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 Py_INCREF(Py_None
); resultobj
= Py_None
;
12698 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 PyObject
* obj1
= 0 ;
12704 char *kwnames
[] = {
12705 (char *) "self",(char *) "minVal", NULL
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12710 if (SWIG_arg_fail(1)) SWIG_fail
;
12712 arg2
= (int)(SWIG_As_int(obj1
));
12713 if (SWIG_arg_fail(2)) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 (arg1
)->SetMin(arg2
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 Py_INCREF(Py_None
); resultobj
= Py_None
;
12729 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 char *kwnames
[] = {
12736 (char *) "self",(char *) "maxVal", NULL
12739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12741 if (SWIG_arg_fail(1)) SWIG_fail
;
12743 arg2
= (int)(SWIG_As_int(obj1
));
12744 if (SWIG_arg_fail(2)) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 (arg1
)->SetMax(arg2
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 Py_INCREF(Py_None
); resultobj
= Py_None
;
12760 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12765 PyObject
* obj0
= 0 ;
12766 PyObject
* obj1
= 0 ;
12767 PyObject
* obj2
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12774 if (SWIG_arg_fail(1)) SWIG_fail
;
12776 arg2
= (int)(SWIG_As_int(obj1
));
12777 if (SWIG_arg_fail(2)) SWIG_fail
;
12780 arg3
= (int)(SWIG_As_int(obj2
));
12781 if (SWIG_arg_fail(3)) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 (arg1
)->SetRange(arg2
,arg3
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 Py_INCREF(Py_None
); resultobj
= Py_None
;
12797 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12801 PyObject
* obj0
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "self", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12808 if (SWIG_arg_fail(1)) SWIG_fail
;
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12825 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12826 PyObject
*resultobj
;
12827 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12828 wxVisualAttributes result
;
12829 PyObject
* obj0
= 0 ;
12830 char *kwnames
[] = {
12831 (char *) "variant", NULL
12834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12837 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12838 if (SWIG_arg_fail(1)) SWIG_fail
;
12842 if (!wxPyCheckForApp()) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 wxVisualAttributes
* resultptr
;
12851 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12860 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12863 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12865 return Py_BuildValue((char *)"");
12867 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxWindow
*arg1
= (wxWindow
*) 0 ;
12870 int arg2
= (int) -1 ;
12871 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12872 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12873 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12874 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12875 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12876 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12877 long arg6
= (long) wxSP_ARROW_KEYS
;
12878 int arg7
= (int) 0 ;
12879 int arg8
= (int) 100 ;
12880 int arg9
= (int) 0 ;
12881 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12882 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12883 wxSpinCtrl
*result
;
12884 bool temp3
= false ;
12887 bool temp10
= false ;
12888 PyObject
* obj0
= 0 ;
12889 PyObject
* obj1
= 0 ;
12890 PyObject
* obj2
= 0 ;
12891 PyObject
* obj3
= 0 ;
12892 PyObject
* obj4
= 0 ;
12893 PyObject
* obj5
= 0 ;
12894 PyObject
* obj6
= 0 ;
12895 PyObject
* obj7
= 0 ;
12896 PyObject
* obj8
= 0 ;
12897 PyObject
* obj9
= 0 ;
12898 char *kwnames
[] = {
12899 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12904 if (SWIG_arg_fail(1)) SWIG_fail
;
12907 arg2
= (int)(SWIG_As_int(obj1
));
12908 if (SWIG_arg_fail(2)) SWIG_fail
;
12913 arg3
= wxString_in_helper(obj2
);
12914 if (arg3
== NULL
) SWIG_fail
;
12921 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12927 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12932 arg6
= (long)(SWIG_As_long(obj5
));
12933 if (SWIG_arg_fail(6)) SWIG_fail
;
12938 arg7
= (int)(SWIG_As_int(obj6
));
12939 if (SWIG_arg_fail(7)) SWIG_fail
;
12944 arg8
= (int)(SWIG_As_int(obj7
));
12945 if (SWIG_arg_fail(8)) SWIG_fail
;
12950 arg9
= (int)(SWIG_As_int(obj8
));
12951 if (SWIG_arg_fail(9)) SWIG_fail
;
12956 arg10
= wxString_in_helper(obj9
);
12957 if (arg10
== NULL
) SWIG_fail
;
12962 if (!wxPyCheckForApp()) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12992 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxSpinCtrl
*result
;
12995 char *kwnames
[] = {
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13001 if (!wxPyCheckForApp()) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13015 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13018 wxWindow
*arg2
= (wxWindow
*) 0 ;
13019 int arg3
= (int) -1 ;
13020 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13021 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13022 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13023 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13024 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13025 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13026 long arg7
= (long) wxSP_ARROW_KEYS
;
13027 int arg8
= (int) 0 ;
13028 int arg9
= (int) 100 ;
13029 int arg10
= (int) 0 ;
13030 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13031 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13033 bool temp4
= false ;
13036 bool temp11
= false ;
13037 PyObject
* obj0
= 0 ;
13038 PyObject
* obj1
= 0 ;
13039 PyObject
* obj2
= 0 ;
13040 PyObject
* obj3
= 0 ;
13041 PyObject
* obj4
= 0 ;
13042 PyObject
* obj5
= 0 ;
13043 PyObject
* obj6
= 0 ;
13044 PyObject
* obj7
= 0 ;
13045 PyObject
* obj8
= 0 ;
13046 PyObject
* obj9
= 0 ;
13047 PyObject
* obj10
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13054 if (SWIG_arg_fail(1)) SWIG_fail
;
13055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13056 if (SWIG_arg_fail(2)) SWIG_fail
;
13059 arg3
= (int)(SWIG_As_int(obj2
));
13060 if (SWIG_arg_fail(3)) SWIG_fail
;
13065 arg4
= wxString_in_helper(obj3
);
13066 if (arg4
== NULL
) SWIG_fail
;
13073 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13079 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13084 arg7
= (long)(SWIG_As_long(obj6
));
13085 if (SWIG_arg_fail(7)) SWIG_fail
;
13090 arg8
= (int)(SWIG_As_int(obj7
));
13091 if (SWIG_arg_fail(8)) SWIG_fail
;
13096 arg9
= (int)(SWIG_As_int(obj8
));
13097 if (SWIG_arg_fail(9)) SWIG_fail
;
13102 arg10
= (int)(SWIG_As_int(obj9
));
13103 if (SWIG_arg_fail(10)) SWIG_fail
;
13108 arg11
= wxString_in_helper(obj10
);
13109 if (arg11
== NULL
) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13145 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
;
13147 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13156 if (SWIG_arg_fail(1)) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= SWIG_From_int((int)(result
));
13173 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self",(char *) "value", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13185 if (SWIG_arg_fail(1)) SWIG_fail
;
13187 arg2
= (int)(SWIG_As_int(obj1
));
13188 if (SWIG_arg_fail(2)) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 (arg1
)->SetValue(arg2
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13204 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13207 wxString
*arg2
= 0 ;
13208 bool temp2
= false ;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "text", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13217 if (SWIG_arg_fail(1)) SWIG_fail
;
13219 arg2
= wxString_in_helper(obj1
);
13220 if (arg2
== NULL
) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 (arg1
)->SetValue((wxString
const &)*arg2
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 Py_INCREF(Py_None
); resultobj
= Py_None
;
13245 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
;
13247 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 PyObject
* obj2
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13259 if (SWIG_arg_fail(1)) SWIG_fail
;
13261 arg2
= (int)(SWIG_As_int(obj1
));
13262 if (SWIG_arg_fail(2)) SWIG_fail
;
13265 arg3
= (int)(SWIG_As_int(obj2
));
13266 if (SWIG_arg_fail(3)) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 (arg1
)->SetRange(arg2
,arg3
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 Py_INCREF(Py_None
); resultobj
= Py_None
;
13282 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13286 PyObject
* obj0
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13293 if (SWIG_arg_fail(1)) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= SWIG_From_int((int)(result
));
13310 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13321 if (SWIG_arg_fail(1)) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_From_int((int)(result
));
13338 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 PyObject
* obj2
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self",(char *) "from",(char *) "to", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13352 if (SWIG_arg_fail(1)) SWIG_fail
;
13354 arg2
= (long)(SWIG_As_long(obj1
));
13355 if (SWIG_arg_fail(2)) SWIG_fail
;
13358 arg3
= (long)(SWIG_As_long(obj2
));
13359 if (SWIG_arg_fail(3)) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 (arg1
)->SetSelection(arg2
,arg3
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 Py_INCREF(Py_None
); resultobj
= Py_None
;
13375 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13378 wxVisualAttributes result
;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "variant", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13387 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13388 if (SWIG_arg_fail(1)) SWIG_fail
;
13392 if (!wxPyCheckForApp()) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13400 wxVisualAttributes
* resultptr
;
13401 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13410 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13413 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13415 return Py_BuildValue((char *)"");
13417 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13420 int arg2
= (int) 0 ;
13421 wxSpinEvent
*result
;
13422 PyObject
* obj0
= 0 ;
13423 PyObject
* obj1
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "commandType",(char *) "winid", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13431 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13432 if (SWIG_arg_fail(1)) SWIG_fail
;
13437 arg2
= (int)(SWIG_As_int(obj1
));
13438 if (SWIG_arg_fail(2)) SWIG_fail
;
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13455 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13456 PyObject
*resultobj
;
13457 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13466 if (SWIG_arg_fail(1)) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= SWIG_From_int((int)(result
));
13483 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 PyObject
* obj1
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self",(char *) "pos", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13495 if (SWIG_arg_fail(1)) SWIG_fail
;
13497 arg2
= (int)(SWIG_As_int(obj1
));
13498 if (SWIG_arg_fail(2)) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 (arg1
)->SetPosition(arg2
);
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13517 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13519 return Py_BuildValue((char *)"");
13521 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13522 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13527 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13532 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13534 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13541 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13542 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13547 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13552 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13554 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13561 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxWindow
*arg1
= (wxWindow
*) 0 ;
13564 int arg2
= (int) -1 ;
13565 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13566 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13571 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13572 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13573 int arg7
= (int) 0 ;
13574 long arg8
= (long) wxRA_HORIZONTAL
;
13575 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13576 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13577 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13578 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13579 wxRadioBox
*result
;
13580 bool temp3
= false ;
13583 bool temp6
= false ;
13584 bool temp10
= false ;
13585 PyObject
* obj0
= 0 ;
13586 PyObject
* obj1
= 0 ;
13587 PyObject
* obj2
= 0 ;
13588 PyObject
* obj3
= 0 ;
13589 PyObject
* obj4
= 0 ;
13590 PyObject
* obj5
= 0 ;
13591 PyObject
* obj6
= 0 ;
13592 PyObject
* obj7
= 0 ;
13593 PyObject
* obj8
= 0 ;
13594 PyObject
* obj9
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13601 if (SWIG_arg_fail(1)) SWIG_fail
;
13604 arg2
= (int)(SWIG_As_int(obj1
));
13605 if (SWIG_arg_fail(2)) SWIG_fail
;
13610 arg3
= wxString_in_helper(obj2
);
13611 if (arg3
== NULL
) SWIG_fail
;
13618 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13624 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13629 if (! PySequence_Check(obj5
)) {
13630 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13633 arg6
= new wxArrayString
;
13635 int i
, len
=PySequence_Length(obj5
);
13636 for (i
=0; i
<len
; i
++) {
13637 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13639 PyObject
* str
= PyObject_Unicode(item
);
13641 PyObject
* str
= PyObject_Str(item
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13644 arg6
->Add(Py2wxString(str
));
13652 arg7
= (int)(SWIG_As_int(obj6
));
13653 if (SWIG_arg_fail(7)) SWIG_fail
;
13658 arg8
= (long)(SWIG_As_long(obj7
));
13659 if (SWIG_arg_fail(8)) SWIG_fail
;
13664 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13665 if (SWIG_arg_fail(9)) SWIG_fail
;
13666 if (arg9
== NULL
) {
13667 SWIG_null_ref("wxValidator");
13669 if (SWIG_arg_fail(9)) SWIG_fail
;
13674 arg10
= wxString_in_helper(obj9
);
13675 if (arg10
== NULL
) SWIG_fail
;
13680 if (!wxPyCheckForApp()) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 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
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13693 if (temp6
) delete arg6
;
13706 if (temp6
) delete arg6
;
13716 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
;
13718 wxRadioBox
*result
;
13719 char *kwnames
[] = {
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13725 if (!wxPyCheckForApp()) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (wxRadioBox
*)new wxRadioBox();
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13739 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13742 wxWindow
*arg2
= (wxWindow
*) 0 ;
13743 int arg3
= (int) -1 ;
13744 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13745 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13746 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13747 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13748 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13749 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13750 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13751 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13752 int arg8
= (int) 0 ;
13753 long arg9
= (long) wxRA_HORIZONTAL
;
13754 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13755 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13756 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13757 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13759 bool temp4
= false ;
13762 bool temp7
= false ;
13763 bool temp11
= false ;
13764 PyObject
* obj0
= 0 ;
13765 PyObject
* obj1
= 0 ;
13766 PyObject
* obj2
= 0 ;
13767 PyObject
* obj3
= 0 ;
13768 PyObject
* obj4
= 0 ;
13769 PyObject
* obj5
= 0 ;
13770 PyObject
* obj6
= 0 ;
13771 PyObject
* obj7
= 0 ;
13772 PyObject
* obj8
= 0 ;
13773 PyObject
* obj9
= 0 ;
13774 PyObject
* obj10
= 0 ;
13775 char *kwnames
[] = {
13776 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13781 if (SWIG_arg_fail(1)) SWIG_fail
;
13782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13783 if (SWIG_arg_fail(2)) SWIG_fail
;
13786 arg3
= (int)(SWIG_As_int(obj2
));
13787 if (SWIG_arg_fail(3)) SWIG_fail
;
13792 arg4
= wxString_in_helper(obj3
);
13793 if (arg4
== NULL
) SWIG_fail
;
13800 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13806 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13811 if (! PySequence_Check(obj6
)) {
13812 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13815 arg7
= new wxArrayString
;
13817 int i
, len
=PySequence_Length(obj6
);
13818 for (i
=0; i
<len
; i
++) {
13819 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13821 PyObject
* str
= PyObject_Unicode(item
);
13823 PyObject
* str
= PyObject_Str(item
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13826 arg7
->Add(Py2wxString(str
));
13834 arg8
= (int)(SWIG_As_int(obj7
));
13835 if (SWIG_arg_fail(8)) SWIG_fail
;
13840 arg9
= (long)(SWIG_As_long(obj8
));
13841 if (SWIG_arg_fail(9)) SWIG_fail
;
13846 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13847 if (SWIG_arg_fail(10)) SWIG_fail
;
13848 if (arg10
== NULL
) {
13849 SWIG_null_ref("wxValidator");
13851 if (SWIG_arg_fail(10)) SWIG_fail
;
13856 arg11
= wxString_in_helper(obj10
);
13857 if (arg11
== NULL
) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 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
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13876 if (temp7
) delete arg7
;
13889 if (temp7
) delete arg7
;
13899 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
;
13901 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13903 PyObject
* obj0
= 0 ;
13904 PyObject
* obj1
= 0 ;
13905 char *kwnames
[] = {
13906 (char *) "self",(char *) "n", NULL
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13911 if (SWIG_arg_fail(1)) SWIG_fail
;
13913 arg2
= (int)(SWIG_As_int(obj1
));
13914 if (SWIG_arg_fail(2)) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 (arg1
)->SetSelection(arg2
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 Py_INCREF(Py_None
); resultobj
= Py_None
;
13930 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13934 PyObject
* obj0
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "self", NULL
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13941 if (SWIG_arg_fail(1)) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13950 resultobj
= SWIG_From_int((int)(result
));
13958 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13962 PyObject
* obj0
= 0 ;
13963 char *kwnames
[] = {
13964 (char *) "self", NULL
13967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13969 if (SWIG_arg_fail(1)) SWIG_fail
;
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13990 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13993 wxString
*arg2
= 0 ;
13995 bool temp2
= false ;
13996 PyObject
* obj0
= 0 ;
13997 PyObject
* obj1
= 0 ;
13998 char *kwnames
[] = {
13999 (char *) "self",(char *) "s", NULL
14002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14004 if (SWIG_arg_fail(1)) SWIG_fail
;
14006 arg2
= wxString_in_helper(obj1
);
14007 if (arg2
== NULL
) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14034 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 char *kwnames
[] = {
14040 (char *) "self", NULL
14043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14045 if (SWIG_arg_fail(1)) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_From_int((int)(result
));
14062 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14065 wxString
*arg2
= 0 ;
14067 bool temp2
= false ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self",(char *) "s", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14076 if (SWIG_arg_fail(1)) SWIG_fail
;
14078 arg2
= wxString_in_helper(obj1
);
14079 if (arg2
== NULL
) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_From_int((int)(result
));
14106 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self",(char *) "n", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14119 if (SWIG_arg_fail(1)) SWIG_fail
;
14121 arg2
= (int)(SWIG_As_int(obj1
));
14122 if (SWIG_arg_fail(2)) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14144 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14148 wxString
*arg3
= 0 ;
14149 bool temp3
= false ;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 PyObject
* obj2
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self",(char *) "n",(char *) "label", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14159 if (SWIG_arg_fail(1)) SWIG_fail
;
14161 arg2
= (int)(SWIG_As_int(obj1
));
14162 if (SWIG_arg_fail(2)) SWIG_fail
;
14165 arg3
= wxString_in_helper(obj2
);
14166 if (arg3
== NULL
) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 Py_INCREF(Py_None
); resultobj
= Py_None
;
14191 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14195 bool arg3
= (bool) true ;
14196 PyObject
* obj0
= 0 ;
14197 PyObject
* obj1
= 0 ;
14198 PyObject
* obj2
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self",(char *) "n",(char *) "enable", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14205 if (SWIG_arg_fail(1)) SWIG_fail
;
14207 arg2
= (int)(SWIG_As_int(obj1
));
14208 if (SWIG_arg_fail(2)) SWIG_fail
;
14212 arg3
= (bool)(SWIG_As_bool(obj2
));
14213 if (SWIG_arg_fail(3)) SWIG_fail
;
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 (arg1
)->Enable(arg2
,arg3
);
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 Py_INCREF(Py_None
); resultobj
= Py_None
;
14230 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14234 bool arg3
= (bool) true ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 PyObject
* obj2
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self",(char *) "n",(char *) "show", NULL
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14244 if (SWIG_arg_fail(1)) SWIG_fail
;
14246 arg2
= (int)(SWIG_As_int(obj1
));
14247 if (SWIG_arg_fail(2)) SWIG_fail
;
14251 arg3
= (bool)(SWIG_As_bool(obj2
));
14252 if (SWIG_arg_fail(3)) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 (arg1
)->Show(arg2
,arg3
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14269 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14280 if (SWIG_arg_fail(1)) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= SWIG_From_int((int)(result
));
14297 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14308 if (SWIG_arg_fail(1)) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14317 resultobj
= SWIG_From_int((int)(result
));
14325 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 PyObject
* obj1
= 0 ;
14334 PyObject
* obj2
= 0 ;
14335 PyObject
* obj3
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14342 if (SWIG_arg_fail(1)) SWIG_fail
;
14344 arg2
= (int)(SWIG_As_int(obj1
));
14345 if (SWIG_arg_fail(2)) SWIG_fail
;
14348 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14349 if (SWIG_arg_fail(3)) SWIG_fail
;
14352 arg4
= (long)(SWIG_As_long(obj3
));
14353 if (SWIG_arg_fail(4)) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_From_int((int)(result
));
14371 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14374 wxVisualAttributes result
;
14375 PyObject
* obj0
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "variant", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14383 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14384 if (SWIG_arg_fail(1)) SWIG_fail
;
14388 if (!wxPyCheckForApp()) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 wxVisualAttributes
* resultptr
;
14397 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14406 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14409 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14411 return Py_BuildValue((char *)"");
14413 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
;
14415 wxWindow
*arg1
= (wxWindow
*) 0 ;
14416 int arg2
= (int) -1 ;
14417 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14418 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14419 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14420 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14421 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14422 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14423 long arg6
= (long) 0 ;
14424 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14425 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14426 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14427 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14428 wxRadioButton
*result
;
14429 bool temp3
= false ;
14432 bool temp8
= false ;
14433 PyObject
* obj0
= 0 ;
14434 PyObject
* obj1
= 0 ;
14435 PyObject
* obj2
= 0 ;
14436 PyObject
* obj3
= 0 ;
14437 PyObject
* obj4
= 0 ;
14438 PyObject
* obj5
= 0 ;
14439 PyObject
* obj6
= 0 ;
14440 PyObject
* obj7
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14447 if (SWIG_arg_fail(1)) SWIG_fail
;
14450 arg2
= (int)(SWIG_As_int(obj1
));
14451 if (SWIG_arg_fail(2)) SWIG_fail
;
14456 arg3
= wxString_in_helper(obj2
);
14457 if (arg3
== NULL
) SWIG_fail
;
14464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14475 arg6
= (long)(SWIG_As_long(obj5
));
14476 if (SWIG_arg_fail(6)) SWIG_fail
;
14481 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14482 if (SWIG_arg_fail(7)) SWIG_fail
;
14483 if (arg7
== NULL
) {
14484 SWIG_null_ref("wxValidator");
14486 if (SWIG_arg_fail(7)) SWIG_fail
;
14491 arg8
= wxString_in_helper(obj7
);
14492 if (arg8
== NULL
) SWIG_fail
;
14497 if (!wxPyCheckForApp()) SWIG_fail
;
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14527 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxRadioButton
*result
;
14530 char *kwnames
[] = {
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14536 if (!wxPyCheckForApp()) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (wxRadioButton
*)new wxRadioButton();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14550 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14553 wxWindow
*arg2
= (wxWindow
*) 0 ;
14554 int arg3
= (int) -1 ;
14555 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14557 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14558 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14559 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14560 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14561 long arg7
= (long) 0 ;
14562 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14563 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14564 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14565 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14567 bool temp4
= false ;
14570 bool temp9
= false ;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 PyObject
* obj2
= 0 ;
14574 PyObject
* obj3
= 0 ;
14575 PyObject
* obj4
= 0 ;
14576 PyObject
* obj5
= 0 ;
14577 PyObject
* obj6
= 0 ;
14578 PyObject
* obj7
= 0 ;
14579 PyObject
* obj8
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14586 if (SWIG_arg_fail(1)) SWIG_fail
;
14587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14588 if (SWIG_arg_fail(2)) SWIG_fail
;
14591 arg3
= (int)(SWIG_As_int(obj2
));
14592 if (SWIG_arg_fail(3)) SWIG_fail
;
14597 arg4
= wxString_in_helper(obj3
);
14598 if (arg4
== NULL
) SWIG_fail
;
14605 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14611 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14616 arg7
= (long)(SWIG_As_long(obj6
));
14617 if (SWIG_arg_fail(7)) SWIG_fail
;
14622 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14623 if (SWIG_arg_fail(8)) SWIG_fail
;
14624 if (arg8
== NULL
) {
14625 SWIG_null_ref("wxValidator");
14627 if (SWIG_arg_fail(8)) SWIG_fail
;
14632 arg9
= wxString_in_helper(obj8
);
14633 if (arg9
== NULL
) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14669 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
;
14671 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 char *kwnames
[] = {
14675 (char *) "self", NULL
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14680 if (SWIG_arg_fail(1)) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= (bool)(arg1
)->GetValue();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14697 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
;
14699 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self",(char *) "value", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail
;
14711 arg2
= (bool)(SWIG_As_bool(obj1
));
14712 if (SWIG_arg_fail(2)) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 (arg1
)->SetValue(arg2
);
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 Py_INCREF(Py_None
); resultobj
= Py_None
;
14728 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14731 wxVisualAttributes result
;
14732 PyObject
* obj0
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "variant", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14740 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14741 if (SWIG_arg_fail(1)) SWIG_fail
;
14745 if (!wxPyCheckForApp()) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14753 wxVisualAttributes
* resultptr
;
14754 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14763 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14766 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14768 return Py_BuildValue((char *)"");
14770 static int _wrap_SliderNameStr_set(PyObject
*) {
14771 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14776 static PyObject
*_wrap_SliderNameStr_get(void) {
14781 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14783 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14790 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxWindow
*arg1
= (wxWindow
*) 0 ;
14793 int arg2
= (int) -1 ;
14794 int arg3
= (int) 0 ;
14795 int arg4
= (int) 0 ;
14796 int arg5
= (int) 100 ;
14797 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14798 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14799 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14800 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14801 long arg8
= (long) wxSL_HORIZONTAL
;
14802 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14803 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14804 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14805 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14809 bool temp10
= false ;
14810 PyObject
* obj0
= 0 ;
14811 PyObject
* obj1
= 0 ;
14812 PyObject
* obj2
= 0 ;
14813 PyObject
* obj3
= 0 ;
14814 PyObject
* obj4
= 0 ;
14815 PyObject
* obj5
= 0 ;
14816 PyObject
* obj6
= 0 ;
14817 PyObject
* obj7
= 0 ;
14818 PyObject
* obj8
= 0 ;
14819 PyObject
* obj9
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14826 if (SWIG_arg_fail(1)) SWIG_fail
;
14829 arg2
= (int)(SWIG_As_int(obj1
));
14830 if (SWIG_arg_fail(2)) SWIG_fail
;
14835 arg3
= (int)(SWIG_As_int(obj2
));
14836 if (SWIG_arg_fail(3)) SWIG_fail
;
14841 arg4
= (int)(SWIG_As_int(obj3
));
14842 if (SWIG_arg_fail(4)) SWIG_fail
;
14847 arg5
= (int)(SWIG_As_int(obj4
));
14848 if (SWIG_arg_fail(5)) SWIG_fail
;
14854 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14860 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14865 arg8
= (long)(SWIG_As_long(obj7
));
14866 if (SWIG_arg_fail(8)) SWIG_fail
;
14871 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14872 if (SWIG_arg_fail(9)) SWIG_fail
;
14873 if (arg9
== NULL
) {
14874 SWIG_null_ref("wxValidator");
14876 if (SWIG_arg_fail(9)) SWIG_fail
;
14881 arg10
= wxString_in_helper(obj9
);
14882 if (arg10
== NULL
) SWIG_fail
;
14887 if (!wxPyCheckForApp()) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14909 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14912 char *kwnames
[] = {
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14918 if (!wxPyCheckForApp()) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (wxSlider
*)new wxSlider();
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14932 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxSlider
*arg1
= (wxSlider
*) 0 ;
14935 wxWindow
*arg2
= (wxWindow
*) 0 ;
14936 int arg3
= (int) -1 ;
14937 int arg4
= (int) 0 ;
14938 int arg5
= (int) 0 ;
14939 int arg6
= (int) 100 ;
14940 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14941 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14942 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14943 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14944 long arg9
= (long) wxSL_HORIZONTAL
;
14945 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14946 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14947 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14948 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14952 bool temp11
= false ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 PyObject
* obj2
= 0 ;
14956 PyObject
* obj3
= 0 ;
14957 PyObject
* obj4
= 0 ;
14958 PyObject
* obj5
= 0 ;
14959 PyObject
* obj6
= 0 ;
14960 PyObject
* obj7
= 0 ;
14961 PyObject
* obj8
= 0 ;
14962 PyObject
* obj9
= 0 ;
14963 PyObject
* obj10
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14970 if (SWIG_arg_fail(1)) SWIG_fail
;
14971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14972 if (SWIG_arg_fail(2)) SWIG_fail
;
14975 arg3
= (int)(SWIG_As_int(obj2
));
14976 if (SWIG_arg_fail(3)) SWIG_fail
;
14981 arg4
= (int)(SWIG_As_int(obj3
));
14982 if (SWIG_arg_fail(4)) SWIG_fail
;
14987 arg5
= (int)(SWIG_As_int(obj4
));
14988 if (SWIG_arg_fail(5)) SWIG_fail
;
14993 arg6
= (int)(SWIG_As_int(obj5
));
14994 if (SWIG_arg_fail(6)) SWIG_fail
;
15000 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15006 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15011 arg9
= (long)(SWIG_As_long(obj8
));
15012 if (SWIG_arg_fail(9)) SWIG_fail
;
15017 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15018 if (SWIG_arg_fail(10)) SWIG_fail
;
15019 if (arg10
== NULL
) {
15020 SWIG_null_ref("wxValidator");
15022 if (SWIG_arg_fail(10)) SWIG_fail
;
15027 arg11
= wxString_in_helper(obj10
);
15028 if (arg11
== NULL
) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15056 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxSlider
*arg1
= (wxSlider
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15067 if (SWIG_arg_fail(1)) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= SWIG_From_int((int)(result
));
15084 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxSlider
*arg1
= (wxSlider
*) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 PyObject
* obj1
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self",(char *) "value", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15096 if (SWIG_arg_fail(1)) SWIG_fail
;
15098 arg2
= (int)(SWIG_As_int(obj1
));
15099 if (SWIG_arg_fail(2)) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 (arg1
)->SetValue(arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 Py_INCREF(Py_None
); resultobj
= Py_None
;
15115 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxSlider
*arg1
= (wxSlider
*) 0 ;
15120 PyObject
* obj0
= 0 ;
15121 PyObject
* obj1
= 0 ;
15122 PyObject
* obj2
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15129 if (SWIG_arg_fail(1)) SWIG_fail
;
15131 arg2
= (int)(SWIG_As_int(obj1
));
15132 if (SWIG_arg_fail(2)) SWIG_fail
;
15135 arg3
= (int)(SWIG_As_int(obj2
));
15136 if (SWIG_arg_fail(3)) SWIG_fail
;
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15140 (arg1
)->SetRange(arg2
,arg3
);
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15145 Py_INCREF(Py_None
); resultobj
= Py_None
;
15152 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxSlider
*arg1
= (wxSlider
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "self", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15163 if (SWIG_arg_fail(1)) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15172 resultobj
= SWIG_From_int((int)(result
));
15180 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxSlider
*arg1
= (wxSlider
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15191 if (SWIG_arg_fail(1)) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15200 resultobj
= SWIG_From_int((int)(result
));
15208 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxSlider
*arg1
= (wxSlider
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 PyObject
* obj1
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self",(char *) "minValue", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15220 if (SWIG_arg_fail(1)) SWIG_fail
;
15222 arg2
= (int)(SWIG_As_int(obj1
));
15223 if (SWIG_arg_fail(2)) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 (arg1
)->SetMin(arg2
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 Py_INCREF(Py_None
); resultobj
= Py_None
;
15239 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxSlider
*arg1
= (wxSlider
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self",(char *) "maxValue", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15251 if (SWIG_arg_fail(1)) SWIG_fail
;
15253 arg2
= (int)(SWIG_As_int(obj1
));
15254 if (SWIG_arg_fail(2)) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 (arg1
)->SetMax(arg2
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 Py_INCREF(Py_None
); resultobj
= Py_None
;
15270 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxSlider
*arg1
= (wxSlider
*) 0 ;
15274 PyObject
* obj0
= 0 ;
15275 PyObject
* obj1
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self",(char *) "lineSize", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15282 if (SWIG_arg_fail(1)) SWIG_fail
;
15284 arg2
= (int)(SWIG_As_int(obj1
));
15285 if (SWIG_arg_fail(2)) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 (arg1
)->SetLineSize(arg2
);
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 Py_INCREF(Py_None
); resultobj
= Py_None
;
15301 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxSlider
*arg1
= (wxSlider
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self",(char *) "pageSize", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail
;
15315 arg2
= (int)(SWIG_As_int(obj1
));
15316 if (SWIG_arg_fail(2)) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 (arg1
)->SetPageSize(arg2
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 Py_INCREF(Py_None
); resultobj
= Py_None
;
15332 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxSlider
*arg1
= (wxSlider
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15343 if (SWIG_arg_fail(1)) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= SWIG_From_int((int)(result
));
15360 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxSlider
*arg1
= (wxSlider
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15371 if (SWIG_arg_fail(1)) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= SWIG_From_int((int)(result
));
15388 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxSlider
*arg1
= (wxSlider
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self",(char *) "lenPixels", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15400 if (SWIG_arg_fail(1)) SWIG_fail
;
15402 arg2
= (int)(SWIG_As_int(obj1
));
15403 if (SWIG_arg_fail(2)) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 (arg1
)->SetThumbLength(arg2
);
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 Py_INCREF(Py_None
); resultobj
= Py_None
;
15419 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxSlider
*arg1
= (wxSlider
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15430 if (SWIG_arg_fail(1)) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= SWIG_From_int((int)(result
));
15447 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxSlider
*arg1
= (wxSlider
*) 0 ;
15451 int arg3
= (int) 1 ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 PyObject
* obj2
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self",(char *) "n",(char *) "pos", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail
;
15463 arg2
= (int)(SWIG_As_int(obj1
));
15464 if (SWIG_arg_fail(2)) SWIG_fail
;
15468 arg3
= (int)(SWIG_As_int(obj2
));
15469 if (SWIG_arg_fail(3)) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 (arg1
)->SetTickFreq(arg2
,arg3
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 Py_INCREF(Py_None
); resultobj
= Py_None
;
15486 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxSlider
*arg1
= (wxSlider
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15497 if (SWIG_arg_fail(1)) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= SWIG_From_int((int)(result
));
15514 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxSlider
*arg1
= (wxSlider
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15524 if (SWIG_arg_fail(1)) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 (arg1
)->ClearTicks();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 Py_INCREF(Py_None
); resultobj
= Py_None
;
15539 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
;
15541 wxSlider
*arg1
= (wxSlider
*) 0 ;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self",(char *) "tickPos", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15551 if (SWIG_arg_fail(1)) SWIG_fail
;
15553 arg2
= (int)(SWIG_As_int(obj1
));
15554 if (SWIG_arg_fail(2)) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 (arg1
)->SetTick(arg2
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 Py_INCREF(Py_None
); resultobj
= Py_None
;
15570 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxSlider
*arg1
= (wxSlider
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15580 if (SWIG_arg_fail(1)) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 (arg1
)->ClearSel();
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 Py_INCREF(Py_None
); resultobj
= Py_None
;
15595 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxSlider
*arg1
= (wxSlider
*) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15606 if (SWIG_arg_fail(1)) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_From_int((int)(result
));
15623 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
;
15625 wxSlider
*arg1
= (wxSlider
*) 0 ;
15627 PyObject
* obj0
= 0 ;
15628 char *kwnames
[] = {
15629 (char *) "self", NULL
15632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15634 if (SWIG_arg_fail(1)) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_From_int((int)(result
));
15651 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxSlider
*arg1
= (wxSlider
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 PyObject
* obj2
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "min",(char *) "max", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15665 if (SWIG_arg_fail(1)) SWIG_fail
;
15667 arg2
= (int)(SWIG_As_int(obj1
));
15668 if (SWIG_arg_fail(2)) SWIG_fail
;
15671 arg3
= (int)(SWIG_As_int(obj2
));
15672 if (SWIG_arg_fail(3)) SWIG_fail
;
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 (arg1
)->SetSelection(arg2
,arg3
);
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 Py_INCREF(Py_None
); resultobj
= Py_None
;
15688 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15691 wxVisualAttributes result
;
15692 PyObject
* obj0
= 0 ;
15693 char *kwnames
[] = {
15694 (char *) "variant", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15700 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15701 if (SWIG_arg_fail(1)) SWIG_fail
;
15705 if (!wxPyCheckForApp()) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15713 wxVisualAttributes
* resultptr
;
15714 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15723 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15726 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15728 return Py_BuildValue((char *)"");
15730 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15731 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15736 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15741 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15743 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15750 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxWindow
*arg1
= (wxWindow
*) 0 ;
15753 int arg2
= (int) -1 ;
15754 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15755 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15756 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15757 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15758 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15759 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15760 long arg6
= (long) 0 ;
15761 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15762 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15763 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15765 wxToggleButton
*result
;
15766 bool temp3
= false ;
15769 bool temp8
= false ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 PyObject
* obj2
= 0 ;
15773 PyObject
* obj3
= 0 ;
15774 PyObject
* obj4
= 0 ;
15775 PyObject
* obj5
= 0 ;
15776 PyObject
* obj6
= 0 ;
15777 PyObject
* obj7
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15784 if (SWIG_arg_fail(1)) SWIG_fail
;
15787 arg2
= (int)(SWIG_As_int(obj1
));
15788 if (SWIG_arg_fail(2)) SWIG_fail
;
15793 arg3
= wxString_in_helper(obj2
);
15794 if (arg3
== NULL
) SWIG_fail
;
15801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15812 arg6
= (long)(SWIG_As_long(obj5
));
15813 if (SWIG_arg_fail(6)) SWIG_fail
;
15818 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15819 if (SWIG_arg_fail(7)) SWIG_fail
;
15820 if (arg7
== NULL
) {
15821 SWIG_null_ref("wxValidator");
15823 if (SWIG_arg_fail(7)) SWIG_fail
;
15828 arg8
= wxString_in_helper(obj7
);
15829 if (arg8
== NULL
) SWIG_fail
;
15834 if (!wxPyCheckForApp()) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15864 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxToggleButton
*result
;
15867 char *kwnames
[] = {
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15873 if (!wxPyCheckForApp()) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (wxToggleButton
*)new wxToggleButton();
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15887 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15890 wxWindow
*arg2
= (wxWindow
*) 0 ;
15891 int arg3
= (int) -1 ;
15892 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15893 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15894 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15895 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15896 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15897 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15898 long arg7
= (long) 0 ;
15899 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15900 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15901 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15902 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15904 bool temp4
= false ;
15907 bool temp9
= false ;
15908 PyObject
* obj0
= 0 ;
15909 PyObject
* obj1
= 0 ;
15910 PyObject
* obj2
= 0 ;
15911 PyObject
* obj3
= 0 ;
15912 PyObject
* obj4
= 0 ;
15913 PyObject
* obj5
= 0 ;
15914 PyObject
* obj6
= 0 ;
15915 PyObject
* obj7
= 0 ;
15916 PyObject
* obj8
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15923 if (SWIG_arg_fail(1)) SWIG_fail
;
15924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15925 if (SWIG_arg_fail(2)) SWIG_fail
;
15928 arg3
= (int)(SWIG_As_int(obj2
));
15929 if (SWIG_arg_fail(3)) SWIG_fail
;
15934 arg4
= wxString_in_helper(obj3
);
15935 if (arg4
== NULL
) SWIG_fail
;
15942 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15948 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15953 arg7
= (long)(SWIG_As_long(obj6
));
15954 if (SWIG_arg_fail(7)) SWIG_fail
;
15959 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15960 if (SWIG_arg_fail(8)) SWIG_fail
;
15961 if (arg8
== NULL
) {
15962 SWIG_null_ref("wxValidator");
15964 if (SWIG_arg_fail(8)) SWIG_fail
;
15969 arg9
= wxString_in_helper(obj8
);
15970 if (arg9
== NULL
) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16006 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "value", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16018 if (SWIG_arg_fail(1)) SWIG_fail
;
16020 arg2
= (bool)(SWIG_As_bool(obj1
));
16021 if (SWIG_arg_fail(2)) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 (arg1
)->SetValue(arg2
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 Py_INCREF(Py_None
); resultobj
= Py_None
;
16037 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16041 PyObject
* obj0
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16048 if (SWIG_arg_fail(1)) SWIG_fail
;
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16065 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
;
16067 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16068 wxString
*arg2
= 0 ;
16069 bool temp2
= false ;
16070 PyObject
* obj0
= 0 ;
16071 PyObject
* obj1
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "self",(char *) "label", NULL
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16078 if (SWIG_arg_fail(1)) SWIG_fail
;
16080 arg2
= wxString_in_helper(obj1
);
16081 if (arg2
== NULL
) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 (arg1
)->SetLabel((wxString
const &)*arg2
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 Py_INCREF(Py_None
); resultobj
= Py_None
;
16106 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16109 wxVisualAttributes result
;
16110 PyObject
* obj0
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "variant", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16118 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16119 if (SWIG_arg_fail(1)) SWIG_fail
;
16123 if (!wxPyCheckForApp()) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16131 wxVisualAttributes
* resultptr
;
16132 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16141 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16144 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16146 return Py_BuildValue((char *)"");
16148 static int _wrap_NotebookNameStr_set(PyObject
*) {
16149 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16154 static PyObject
*_wrap_NotebookNameStr_get(void) {
16159 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16161 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16168 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16172 PyObject
* obj0
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16179 if (SWIG_arg_fail(1)) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16196 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16201 PyObject
* obj0
= 0 ;
16202 PyObject
* obj1
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self",(char *) "n", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16209 if (SWIG_arg_fail(1)) SWIG_fail
;
16211 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16212 if (SWIG_arg_fail(2)) SWIG_fail
;
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= wxPyMake_wxObject(result
, 0);
16230 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16234 PyObject
* obj0
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16241 if (SWIG_arg_fail(1)) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= wxPyMake_wxObject(result
, 0);
16258 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
;
16260 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 char *kwnames
[] = {
16264 (char *) "self", NULL
16267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16269 if (SWIG_arg_fail(1)) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= SWIG_From_int((int)(result
));
16286 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16290 wxString
*arg3
= 0 ;
16292 bool temp3
= false ;
16293 PyObject
* obj0
= 0 ;
16294 PyObject
* obj1
= 0 ;
16295 PyObject
* obj2
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self",(char *) "n",(char *) "strText", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16302 if (SWIG_arg_fail(1)) SWIG_fail
;
16304 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16305 if (SWIG_arg_fail(2)) SWIG_fail
;
16308 arg3
= wxString_in_helper(obj2
);
16309 if (arg3
== NULL
) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16336 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16341 PyObject
* obj0
= 0 ;
16342 PyObject
* obj1
= 0 ;
16343 char *kwnames
[] = {
16344 (char *) "self",(char *) "n", NULL
16347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16349 if (SWIG_arg_fail(1)) SWIG_fail
;
16351 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16352 if (SWIG_arg_fail(2)) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16374 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16377 wxImageList
*arg2
= (wxImageList
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 PyObject
* obj1
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self",(char *) "imageList", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16386 if (SWIG_arg_fail(1)) SWIG_fail
;
16387 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16388 if (SWIG_arg_fail(2)) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 (arg1
)->SetImageList(arg2
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 Py_INCREF(Py_None
); resultobj
= Py_None
;
16403 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
;
16405 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16406 wxImageList
*arg2
= (wxImageList
*) 0 ;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self",(char *) "imageList", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16415 if (SWIG_arg_fail(1)) SWIG_fail
;
16416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16417 if (SWIG_arg_fail(2)) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 (arg1
)->AssignImageList(arg2
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 Py_INCREF(Py_None
); resultobj
= Py_None
;
16432 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16435 wxImageList
*result
;
16436 PyObject
* obj0
= 0 ;
16437 char *kwnames
[] = {
16438 (char *) "self", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16443 if (SWIG_arg_fail(1)) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= wxPyMake_wxObject(result
, 0);
16460 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self",(char *) "n", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16473 if (SWIG_arg_fail(1)) SWIG_fail
;
16475 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16476 if (SWIG_arg_fail(2)) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= SWIG_From_int((int)(result
));
16494 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 PyObject
* obj2
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self",(char *) "n",(char *) "imageId", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16509 if (SWIG_arg_fail(1)) SWIG_fail
;
16511 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16512 if (SWIG_arg_fail(2)) SWIG_fail
;
16515 arg3
= (int)(SWIG_As_int(obj2
));
16516 if (SWIG_arg_fail(3)) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16534 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
;
16536 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self",(char *) "size", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16547 if (SWIG_arg_fail(1)) SWIG_fail
;
16550 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 Py_INCREF(Py_None
); resultobj
= Py_None
;
16566 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self",(char *) "sizePage", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16580 if (SWIG_arg_fail(1)) SWIG_fail
;
16583 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16593 wxSize
* resultptr
;
16594 resultptr
= new wxSize((wxSize
&)(result
));
16595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16603 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self",(char *) "n", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16616 if (SWIG_arg_fail(1)) SWIG_fail
;
16618 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16619 if (SWIG_arg_fail(2)) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= (bool)(arg1
)->DeletePage(arg2
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16637 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self",(char *) "n", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16650 if (SWIG_arg_fail(1)) SWIG_fail
;
16652 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16653 if (SWIG_arg_fail(2)) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 result
= (bool)(arg1
)->RemovePage(arg2
);
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16671 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16682 if (SWIG_arg_fail(1)) SWIG_fail
;
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 result
= (bool)(arg1
)->DeleteAllPages();
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16699 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16702 wxWindow
*arg2
= (wxWindow
*) 0 ;
16703 wxString
*arg3
= 0 ;
16704 bool arg4
= (bool) false ;
16705 int arg5
= (int) -1 ;
16707 bool temp3
= false ;
16708 PyObject
* obj0
= 0 ;
16709 PyObject
* obj1
= 0 ;
16710 PyObject
* obj2
= 0 ;
16711 PyObject
* obj3
= 0 ;
16712 PyObject
* obj4
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16719 if (SWIG_arg_fail(1)) SWIG_fail
;
16720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16721 if (SWIG_arg_fail(2)) SWIG_fail
;
16723 arg3
= wxString_in_helper(obj2
);
16724 if (arg3
== NULL
) SWIG_fail
;
16729 arg4
= (bool)(SWIG_As_bool(obj3
));
16730 if (SWIG_arg_fail(4)) SWIG_fail
;
16735 arg5
= (int)(SWIG_As_int(obj4
));
16736 if (SWIG_arg_fail(5)) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16763 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16764 PyObject
*resultobj
;
16765 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16767 wxWindow
*arg3
= (wxWindow
*) 0 ;
16768 wxString
*arg4
= 0 ;
16769 bool arg5
= (bool) false ;
16770 int arg6
= (int) -1 ;
16772 bool temp4
= false ;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 PyObject
* obj2
= 0 ;
16776 PyObject
* obj3
= 0 ;
16777 PyObject
* obj4
= 0 ;
16778 PyObject
* obj5
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16785 if (SWIG_arg_fail(1)) SWIG_fail
;
16787 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16788 if (SWIG_arg_fail(2)) SWIG_fail
;
16790 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(3)) SWIG_fail
;
16793 arg4
= wxString_in_helper(obj3
);
16794 if (arg4
== NULL
) SWIG_fail
;
16799 arg5
= (bool)(SWIG_As_bool(obj4
));
16800 if (SWIG_arg_fail(5)) SWIG_fail
;
16805 arg6
= (int)(SWIG_As_int(obj5
));
16806 if (SWIG_arg_fail(6)) SWIG_fail
;
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16813 wxPyEndAllowThreads(__tstate
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16833 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "self",(char *) "n", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16846 if (SWIG_arg_fail(1)) SWIG_fail
;
16848 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16849 if (SWIG_arg_fail(2)) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (int)(arg1
)->SetSelection(arg2
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= SWIG_From_int((int)(result
));
16867 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16870 bool arg2
= (bool) true ;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "self",(char *) "forward", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16879 if (SWIG_arg_fail(1)) SWIG_fail
;
16882 arg2
= (bool)(SWIG_As_bool(obj1
));
16883 if (SWIG_arg_fail(2)) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 (arg1
)->AdvanceSelection(arg2
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 Py_INCREF(Py_None
); resultobj
= Py_None
;
16900 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16903 wxVisualAttributes result
;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "variant", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16912 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16913 if (SWIG_arg_fail(1)) SWIG_fail
;
16917 if (!wxPyCheckForApp()) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16925 wxVisualAttributes
* resultptr
;
16926 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16935 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16938 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16940 return Py_BuildValue((char *)"");
16942 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16945 int arg2
= (int) 0 ;
16946 int arg3
= (int) -1 ;
16947 int arg4
= (int) -1 ;
16948 wxBookCtrlBaseEvent
*result
;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 PyObject
* obj2
= 0 ;
16952 PyObject
* obj3
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16960 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16961 if (SWIG_arg_fail(1)) SWIG_fail
;
16966 arg2
= (int)(SWIG_As_int(obj1
));
16967 if (SWIG_arg_fail(2)) SWIG_fail
;
16972 arg3
= (int)(SWIG_As_int(obj2
));
16973 if (SWIG_arg_fail(3)) SWIG_fail
;
16978 arg4
= (int)(SWIG_As_int(obj3
));
16979 if (SWIG_arg_fail(4)) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16996 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
;
16998 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17000 PyObject
* obj0
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17007 if (SWIG_arg_fail(1)) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= SWIG_From_int((int)(result
));
17024 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17028 PyObject
* obj0
= 0 ;
17029 PyObject
* obj1
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "self",(char *) "nSel", NULL
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17036 if (SWIG_arg_fail(1)) SWIG_fail
;
17038 arg2
= (int)(SWIG_As_int(obj1
));
17039 if (SWIG_arg_fail(2)) SWIG_fail
;
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 (arg1
)->SetSelection(arg2
);
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17048 Py_INCREF(Py_None
); resultobj
= Py_None
;
17055 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 char *kwnames
[] = {
17061 (char *) "self", NULL
17064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17066 if (SWIG_arg_fail(1)) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= SWIG_From_int((int)(result
));
17083 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self",(char *) "nOldSel", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17095 if (SWIG_arg_fail(1)) SWIG_fail
;
17097 arg2
= (int)(SWIG_As_int(obj1
));
17098 if (SWIG_arg_fail(2)) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 (arg1
)->SetOldSelection(arg2
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 Py_INCREF(Py_None
); resultobj
= Py_None
;
17114 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17117 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17119 return Py_BuildValue((char *)"");
17121 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17123 wxWindow
*arg1
= (wxWindow
*) 0 ;
17124 int arg2
= (int) -1 ;
17125 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17126 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17127 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17128 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17129 long arg5
= (long) 0 ;
17130 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17131 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17132 wxNotebook
*result
;
17135 bool temp6
= false ;
17136 PyObject
* obj0
= 0 ;
17137 PyObject
* obj1
= 0 ;
17138 PyObject
* obj2
= 0 ;
17139 PyObject
* obj3
= 0 ;
17140 PyObject
* obj4
= 0 ;
17141 PyObject
* obj5
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail
;
17151 arg2
= (int)(SWIG_As_int(obj1
));
17152 if (SWIG_arg_fail(2)) SWIG_fail
;
17158 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17164 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17169 arg5
= (long)(SWIG_As_long(obj4
));
17170 if (SWIG_arg_fail(5)) SWIG_fail
;
17175 arg6
= wxString_in_helper(obj5
);
17176 if (arg6
== NULL
) SWIG_fail
;
17181 if (!wxPyCheckForApp()) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17203 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxNotebook
*result
;
17206 char *kwnames
[] = {
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17212 if (!wxPyCheckForApp()) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (wxNotebook
*)new wxNotebook();
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17226 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17229 wxWindow
*arg2
= (wxWindow
*) 0 ;
17230 int arg3
= (int) -1 ;
17231 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17232 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17233 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17234 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17235 long arg6
= (long) 0 ;
17236 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17237 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17241 bool temp7
= false ;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 PyObject
* obj2
= 0 ;
17245 PyObject
* obj3
= 0 ;
17246 PyObject
* obj4
= 0 ;
17247 PyObject
* obj5
= 0 ;
17248 PyObject
* obj6
= 0 ;
17249 char *kwnames
[] = {
17250 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17255 if (SWIG_arg_fail(1)) SWIG_fail
;
17256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17257 if (SWIG_arg_fail(2)) SWIG_fail
;
17260 arg3
= (int)(SWIG_As_int(obj2
));
17261 if (SWIG_arg_fail(3)) SWIG_fail
;
17267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17278 arg6
= (long)(SWIG_As_long(obj5
));
17279 if (SWIG_arg_fail(6)) SWIG_fail
;
17284 arg7
= wxString_in_helper(obj6
);
17285 if (arg7
== NULL
) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17313 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17324 if (SWIG_arg_fail(1)) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= SWIG_From_int((int)(result
));
17341 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 char *kwnames
[] = {
17349 (char *) "self",(char *) "padding", NULL
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17354 if (SWIG_arg_fail(1)) SWIG_fail
;
17357 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 Py_INCREF(Py_None
); resultobj
= Py_None
;
17373 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self",(char *) "sz", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17386 if (SWIG_arg_fail(1)) SWIG_fail
;
17389 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 Py_INCREF(Py_None
); resultobj
= Py_None
;
17405 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17408 wxPoint
*arg2
= 0 ;
17409 long *arg3
= (long *) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 PyObject
* obj1
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "self",(char *) "pt", NULL
17420 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17423 if (SWIG_arg_fail(1)) SWIG_fail
;
17426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= SWIG_From_int((int)(result
));
17438 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17439 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17446 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "sizePage", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17460 if (SWIG_arg_fail(1)) SWIG_fail
;
17463 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 wxSize
* resultptr
;
17474 resultptr
= new wxSize((wxSize
&)(result
));
17475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17483 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17487 PyObject
* obj0
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17494 if (SWIG_arg_fail(1)) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 wxColour
* resultptr
;
17504 resultptr
= new wxColour((wxColour
&)(result
));
17505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17513 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17516 wxVisualAttributes result
;
17517 PyObject
* obj0
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "variant", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17525 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17526 if (SWIG_arg_fail(1)) SWIG_fail
;
17530 if (!wxPyCheckForApp()) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17538 wxVisualAttributes
* resultptr
;
17539 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17548 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17551 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17553 return Py_BuildValue((char *)"");
17555 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17558 int arg2
= (int) 0 ;
17559 int arg3
= (int) -1 ;
17560 int arg4
= (int) -1 ;
17561 wxNotebookEvent
*result
;
17562 PyObject
* obj0
= 0 ;
17563 PyObject
* obj1
= 0 ;
17564 PyObject
* obj2
= 0 ;
17565 PyObject
* obj3
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17573 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17574 if (SWIG_arg_fail(1)) SWIG_fail
;
17579 arg2
= (int)(SWIG_As_int(obj1
));
17580 if (SWIG_arg_fail(2)) SWIG_fail
;
17585 arg3
= (int)(SWIG_As_int(obj2
));
17586 if (SWIG_arg_fail(3)) SWIG_fail
;
17591 arg4
= (int)(SWIG_As_int(obj3
));
17592 if (SWIG_arg_fail(4)) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17609 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17612 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17614 return Py_BuildValue((char *)"");
17616 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxWindow
*arg1
= (wxWindow
*) 0 ;
17619 int arg2
= (int) -1 ;
17620 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17621 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17622 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17623 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17624 long arg5
= (long) 0 ;
17625 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17626 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17627 wxListbook
*result
;
17630 bool temp6
= false ;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 PyObject
* obj2
= 0 ;
17634 PyObject
* obj3
= 0 ;
17635 PyObject
* obj4
= 0 ;
17636 PyObject
* obj5
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17643 if (SWIG_arg_fail(1)) SWIG_fail
;
17646 arg2
= (int)(SWIG_As_int(obj1
));
17647 if (SWIG_arg_fail(2)) SWIG_fail
;
17653 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17659 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17664 arg5
= (long)(SWIG_As_long(obj4
));
17665 if (SWIG_arg_fail(5)) SWIG_fail
;
17670 arg6
= wxString_in_helper(obj5
);
17671 if (arg6
== NULL
) SWIG_fail
;
17676 if (!wxPyCheckForApp()) SWIG_fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17698 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
;
17700 wxListbook
*result
;
17701 char *kwnames
[] = {
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17707 if (!wxPyCheckForApp()) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 result
= (wxListbook
*)new wxListbook();
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17721 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxListbook
*arg1
= (wxListbook
*) 0 ;
17724 wxWindow
*arg2
= (wxWindow
*) 0 ;
17725 int arg3
= (int) -1 ;
17726 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17727 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17728 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17729 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17730 long arg6
= (long) 0 ;
17731 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17732 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17736 bool temp7
= false ;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 PyObject
* obj2
= 0 ;
17740 PyObject
* obj3
= 0 ;
17741 PyObject
* obj4
= 0 ;
17742 PyObject
* obj5
= 0 ;
17743 PyObject
* obj6
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17750 if (SWIG_arg_fail(1)) SWIG_fail
;
17751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17752 if (SWIG_arg_fail(2)) SWIG_fail
;
17755 arg3
= (int)(SWIG_As_int(obj2
));
17756 if (SWIG_arg_fail(3)) SWIG_fail
;
17762 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17768 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17773 arg6
= (long)(SWIG_As_long(obj5
));
17774 if (SWIG_arg_fail(6)) SWIG_fail
;
17779 arg7
= wxString_in_helper(obj6
);
17780 if (arg7
== NULL
) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17808 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxListbook
*arg1
= (wxListbook
*) 0 ;
17812 PyObject
* obj0
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17819 if (SWIG_arg_fail(1)) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17836 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
;
17838 wxListbook
*arg1
= (wxListbook
*) 0 ;
17839 wxListView
*result
;
17840 PyObject
* obj0
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17847 if (SWIG_arg_fail(1)) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 result
= (wxListView
*)(arg1
)->GetListView();
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17862 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17865 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17867 return Py_BuildValue((char *)"");
17869 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17872 int arg2
= (int) 0 ;
17873 int arg3
= (int) -1 ;
17874 int arg4
= (int) -1 ;
17875 wxListbookEvent
*result
;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 PyObject
* obj2
= 0 ;
17879 PyObject
* obj3
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17887 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17888 if (SWIG_arg_fail(1)) SWIG_fail
;
17893 arg2
= (int)(SWIG_As_int(obj1
));
17894 if (SWIG_arg_fail(2)) SWIG_fail
;
17899 arg3
= (int)(SWIG_As_int(obj2
));
17900 if (SWIG_arg_fail(3)) SWIG_fail
;
17905 arg4
= (int)(SWIG_As_int(obj3
));
17906 if (SWIG_arg_fail(4)) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17923 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17926 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17928 return Py_BuildValue((char *)"");
17930 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxWindow
*arg1
= (wxWindow
*) 0 ;
17934 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17935 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17936 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17937 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17938 long arg5
= (long) 0 ;
17939 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17940 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17941 wxChoicebook
*result
;
17944 bool temp6
= false ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 PyObject
* obj2
= 0 ;
17948 PyObject
* obj3
= 0 ;
17949 PyObject
* obj4
= 0 ;
17950 PyObject
* obj5
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17957 if (SWIG_arg_fail(1)) SWIG_fail
;
17959 arg2
= (int)(SWIG_As_int(obj1
));
17960 if (SWIG_arg_fail(2)) SWIG_fail
;
17965 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17971 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17976 arg5
= (long)(SWIG_As_long(obj4
));
17977 if (SWIG_arg_fail(5)) SWIG_fail
;
17982 arg6
= wxString_in_helper(obj5
);
17983 if (arg6
== NULL
) SWIG_fail
;
17988 if (!wxPyCheckForApp()) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18010 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
;
18012 wxChoicebook
*result
;
18013 char *kwnames
[] = {
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18019 if (!wxPyCheckForApp()) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (wxChoicebook
*)new wxChoicebook();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18033 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18036 wxWindow
*arg2
= (wxWindow
*) 0 ;
18038 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18039 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18040 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18041 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18042 long arg6
= (long) 0 ;
18043 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18044 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18048 bool temp7
= false ;
18049 PyObject
* obj0
= 0 ;
18050 PyObject
* obj1
= 0 ;
18051 PyObject
* obj2
= 0 ;
18052 PyObject
* obj3
= 0 ;
18053 PyObject
* obj4
= 0 ;
18054 PyObject
* obj5
= 0 ;
18055 PyObject
* obj6
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18062 if (SWIG_arg_fail(1)) SWIG_fail
;
18063 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18064 if (SWIG_arg_fail(2)) SWIG_fail
;
18066 arg3
= (int)(SWIG_As_int(obj2
));
18067 if (SWIG_arg_fail(3)) SWIG_fail
;
18072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18083 arg6
= (long)(SWIG_As_long(obj5
));
18084 if (SWIG_arg_fail(6)) SWIG_fail
;
18089 arg7
= wxString_in_helper(obj6
);
18090 if (arg7
== NULL
) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18118 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18129 if (SWIG_arg_fail(1)) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18146 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18157 if (SWIG_arg_fail(1)) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18172 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18174 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18176 PyObject
* obj0
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18183 if (SWIG_arg_fail(1)) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 result
= (bool)(arg1
)->DeleteAllPages();
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18200 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18203 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18205 return Py_BuildValue((char *)"");
18207 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18210 int arg2
= (int) 0 ;
18211 int arg3
= (int) -1 ;
18212 int arg4
= (int) -1 ;
18213 wxChoicebookEvent
*result
;
18214 PyObject
* obj0
= 0 ;
18215 PyObject
* obj1
= 0 ;
18216 PyObject
* obj2
= 0 ;
18217 PyObject
* obj3
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18225 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18226 if (SWIG_arg_fail(1)) SWIG_fail
;
18231 arg2
= (int)(SWIG_As_int(obj1
));
18232 if (SWIG_arg_fail(2)) SWIG_fail
;
18237 arg3
= (int)(SWIG_As_int(obj2
));
18238 if (SWIG_arg_fail(3)) SWIG_fail
;
18243 arg4
= (int)(SWIG_As_int(obj3
));
18244 if (SWIG_arg_fail(4)) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18261 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18264 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18266 return Py_BuildValue((char *)"");
18268 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18271 wxBookCtrlSizer
*result
;
18272 PyObject
* obj0
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "nb", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18279 if (SWIG_arg_fail(1)) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18294 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18297 PyObject
* obj0
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18304 if (SWIG_arg_fail(1)) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 (arg1
)->RecalcSizes();
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 Py_INCREF(Py_None
); resultobj
= Py_None
;
18319 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18330 if (SWIG_arg_fail(1)) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (arg1
)->CalcMin();
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18339 wxSize
* resultptr
;
18340 resultptr
= new wxSize((wxSize
&)(result
));
18341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18349 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18352 wxBookCtrlBase
*result
;
18353 PyObject
* obj0
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18360 if (SWIG_arg_fail(1)) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18375 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18378 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18380 return Py_BuildValue((char *)"");
18382 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
;
18384 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18385 wxNotebookSizer
*result
;
18386 PyObject
* obj0
= 0 ;
18387 char *kwnames
[] = {
18388 (char *) "nb", NULL
18391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18393 if (SWIG_arg_fail(1)) SWIG_fail
;
18395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18408 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
;
18410 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18411 PyObject
* obj0
= 0 ;
18412 char *kwnames
[] = {
18413 (char *) "self", NULL
18416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18418 if (SWIG_arg_fail(1)) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 (arg1
)->RecalcSizes();
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 Py_INCREF(Py_None
); resultobj
= Py_None
;
18433 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18444 if (SWIG_arg_fail(1)) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (arg1
)->CalcMin();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 wxSize
* resultptr
;
18454 resultptr
= new wxSize((wxSize
&)(result
));
18455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18463 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18466 wxNotebook
*result
;
18467 PyObject
* obj0
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18474 if (SWIG_arg_fail(1)) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= wxPyMake_wxObject(result
, 0);
18491 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18494 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18496 return Py_BuildValue((char *)"");
18498 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18502 PyObject
* obj0
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18509 if (SWIG_arg_fail(1)) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (int)(arg1
)->GetId();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_From_int((int)(result
));
18526 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18537 if (SWIG_arg_fail(1)) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (wxControl
*)(arg1
)->GetControl();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= wxPyMake_wxObject(result
, 0);
18554 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18557 wxToolBarBase
*result
;
18558 PyObject
* obj0
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18565 if (SWIG_arg_fail(1)) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= wxPyMake_wxObject(result
, 0);
18582 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18586 PyObject
* obj0
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18593 if (SWIG_arg_fail(1)) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (int)(arg1
)->IsButton();
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_From_int((int)(result
));
18610 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18621 if (SWIG_arg_fail(1)) SWIG_fail
;
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 result
= (int)(arg1
)->IsControl();
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_From_int((int)(result
));
18638 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18649 if (SWIG_arg_fail(1)) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (int)(arg1
)->IsSeparator();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18658 resultobj
= SWIG_From_int((int)(result
));
18666 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18670 PyObject
* obj0
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18677 if (SWIG_arg_fail(1)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (int)(arg1
)->GetStyle();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_From_int((int)(result
));
18694 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18705 if (SWIG_arg_fail(1)) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (wxItemKind
)(arg1
)->GetKind();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_From_int((result
));
18720 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18731 if (SWIG_arg_fail(1)) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (bool)(arg1
)->IsEnabled();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18748 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self", NULL
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18759 if (SWIG_arg_fail(1)) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 result
= (bool)(arg1
)->IsToggled();
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18776 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18787 if (SWIG_arg_fail(1)) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (bool)(arg1
)->CanBeToggled();
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18804 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18815 if (SWIG_arg_fail(1)) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18820 result
= (wxBitmap
*) &_result_ref
;
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18827 wxBitmap
* resultptr
= new wxBitmap(*result
);
18828 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18836 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18840 PyObject
* obj0
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail
;
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18852 result
= (wxBitmap
*) &_result_ref
;
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18859 wxBitmap
* resultptr
= new wxBitmap(*result
);
18860 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18868 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18879 if (SWIG_arg_fail(1)) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 result
= (arg1
)->GetBitmap();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18888 wxBitmap
* resultptr
;
18889 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18898 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18902 PyObject
* obj0
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "self", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18909 if (SWIG_arg_fail(1)) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 result
= (arg1
)->GetLabel();
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18930 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 char *kwnames
[] = {
18936 (char *) "self", NULL
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18941 if (SWIG_arg_fail(1)) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= (arg1
)->GetShortHelp();
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18962 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18966 PyObject
* obj0
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "self", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 result
= (arg1
)->GetLongHelp();
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18994 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self",(char *) "enable", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19007 if (SWIG_arg_fail(1)) SWIG_fail
;
19009 arg2
= (bool)(SWIG_As_bool(obj1
));
19010 if (SWIG_arg_fail(2)) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (bool)(arg1
)->Enable(arg2
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19028 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
19037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19038 if (SWIG_arg_fail(1)) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 Py_INCREF(Py_None
); resultobj
= Py_None
;
19053 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char *kwnames
[] = {
19061 (char *) "self",(char *) "toggle", NULL
19064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19066 if (SWIG_arg_fail(1)) SWIG_fail
;
19068 arg2
= (bool)(SWIG_As_bool(obj1
));
19069 if (SWIG_arg_fail(2)) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (bool)(arg1
)->SetToggle(arg2
);
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19087 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19090 wxString
*arg2
= 0 ;
19092 bool temp2
= false ;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 char *kwnames
[] = {
19096 (char *) "self",(char *) "help", NULL
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19101 if (SWIG_arg_fail(1)) SWIG_fail
;
19103 arg2
= wxString_in_helper(obj1
);
19104 if (arg2
== NULL
) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19131 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19134 wxString
*arg2
= 0 ;
19136 bool temp2
= false ;
19137 PyObject
* obj0
= 0 ;
19138 PyObject
* obj1
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self",(char *) "help", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19145 if (SWIG_arg_fail(1)) SWIG_fail
;
19147 arg2
= wxString_in_helper(obj1
);
19148 if (arg2
== NULL
) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19175 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19178 wxBitmap
*arg2
= 0 ;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj1
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self",(char *) "bmp", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19187 if (SWIG_arg_fail(1)) SWIG_fail
;
19189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19190 if (SWIG_arg_fail(2)) SWIG_fail
;
19191 if (arg2
== NULL
) {
19192 SWIG_null_ref("wxBitmap");
19194 if (SWIG_arg_fail(2)) SWIG_fail
;
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19203 Py_INCREF(Py_None
); resultobj
= Py_None
;
19210 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
;
19212 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19213 wxBitmap
*arg2
= 0 ;
19214 PyObject
* obj0
= 0 ;
19215 PyObject
* obj1
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self",(char *) "bmp", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19222 if (SWIG_arg_fail(1)) SWIG_fail
;
19224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19225 if (SWIG_arg_fail(2)) SWIG_fail
;
19226 if (arg2
== NULL
) {
19227 SWIG_null_ref("wxBitmap");
19229 if (SWIG_arg_fail(2)) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 Py_INCREF(Py_None
); resultobj
= Py_None
;
19245 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19248 wxString
*arg2
= 0 ;
19249 bool temp2
= false ;
19250 PyObject
* obj0
= 0 ;
19251 PyObject
* obj1
= 0 ;
19252 char *kwnames
[] = {
19253 (char *) "self",(char *) "label", NULL
19256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19258 if (SWIG_arg_fail(1)) SWIG_fail
;
19260 arg2
= wxString_in_helper(obj1
);
19261 if (arg2
== NULL
) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 (arg1
)->SetLabel((wxString
const &)*arg2
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 Py_INCREF(Py_None
); resultobj
= Py_None
;
19286 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19296 if (SWIG_arg_fail(1)) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 Py_INCREF(Py_None
); resultobj
= Py_None
;
19311 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
;
19313 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19314 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "tbar", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19323 if (SWIG_arg_fail(1)) SWIG_fail
;
19324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19325 if (SWIG_arg_fail(2)) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 (arg1
)->Attach(arg2
);
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 Py_INCREF(Py_None
); resultobj
= Py_None
;
19340 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19344 PyObject
* obj0
= 0 ;
19345 char *kwnames
[] = {
19346 (char *) "self", NULL
19349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19351 if (SWIG_arg_fail(1)) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= result
;
19366 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19369 PyObject
*arg2
= (PyObject
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "clientData", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19378 if (SWIG_arg_fail(1)) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19397 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19399 return Py_BuildValue((char *)"");
19401 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19405 wxString
*arg3
= 0 ;
19406 wxBitmap
*arg4
= 0 ;
19407 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19408 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19409 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19410 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19411 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19412 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19413 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19414 PyObject
*arg9
= (PyObject
*) NULL
;
19415 wxToolBarToolBase
*result
;
19416 bool temp3
= false ;
19417 bool temp7
= false ;
19418 bool temp8
= false ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 PyObject
* obj2
= 0 ;
19422 PyObject
* obj3
= 0 ;
19423 PyObject
* obj4
= 0 ;
19424 PyObject
* obj5
= 0 ;
19425 PyObject
* obj6
= 0 ;
19426 PyObject
* obj7
= 0 ;
19427 PyObject
* obj8
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19434 if (SWIG_arg_fail(1)) SWIG_fail
;
19436 arg2
= (int)(SWIG_As_int(obj1
));
19437 if (SWIG_arg_fail(2)) SWIG_fail
;
19440 arg3
= wxString_in_helper(obj2
);
19441 if (arg3
== NULL
) SWIG_fail
;
19445 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19446 if (SWIG_arg_fail(4)) SWIG_fail
;
19447 if (arg4
== NULL
) {
19448 SWIG_null_ref("wxBitmap");
19450 if (SWIG_arg_fail(4)) SWIG_fail
;
19454 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19455 if (SWIG_arg_fail(5)) SWIG_fail
;
19456 if (arg5
== NULL
) {
19457 SWIG_null_ref("wxBitmap");
19459 if (SWIG_arg_fail(5)) SWIG_fail
;
19464 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19465 if (SWIG_arg_fail(6)) SWIG_fail
;
19470 arg7
= wxString_in_helper(obj6
);
19471 if (arg7
== NULL
) SWIG_fail
;
19477 arg8
= wxString_in_helper(obj7
);
19478 if (arg8
== NULL
) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= wxPyMake_wxObject(result
, 0);
19525 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19530 wxString
*arg4
= 0 ;
19531 wxBitmap
*arg5
= 0 ;
19532 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19533 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19534 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19535 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19536 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19537 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19538 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19539 PyObject
*arg10
= (PyObject
*) NULL
;
19540 wxToolBarToolBase
*result
;
19541 bool temp4
= false ;
19542 bool temp8
= false ;
19543 bool temp9
= false ;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj1
= 0 ;
19546 PyObject
* obj2
= 0 ;
19547 PyObject
* obj3
= 0 ;
19548 PyObject
* obj4
= 0 ;
19549 PyObject
* obj5
= 0 ;
19550 PyObject
* obj6
= 0 ;
19551 PyObject
* obj7
= 0 ;
19552 PyObject
* obj8
= 0 ;
19553 PyObject
* obj9
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19560 if (SWIG_arg_fail(1)) SWIG_fail
;
19562 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19563 if (SWIG_arg_fail(2)) SWIG_fail
;
19566 arg3
= (int)(SWIG_As_int(obj2
));
19567 if (SWIG_arg_fail(3)) SWIG_fail
;
19570 arg4
= wxString_in_helper(obj3
);
19571 if (arg4
== NULL
) SWIG_fail
;
19575 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19576 if (SWIG_arg_fail(5)) SWIG_fail
;
19577 if (arg5
== NULL
) {
19578 SWIG_null_ref("wxBitmap");
19580 if (SWIG_arg_fail(5)) SWIG_fail
;
19584 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19585 if (SWIG_arg_fail(6)) SWIG_fail
;
19586 if (arg6
== NULL
) {
19587 SWIG_null_ref("wxBitmap");
19589 if (SWIG_arg_fail(6)) SWIG_fail
;
19594 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19595 if (SWIG_arg_fail(7)) SWIG_fail
;
19600 arg8
= wxString_in_helper(obj7
);
19601 if (arg8
== NULL
) SWIG_fail
;
19607 arg9
= wxString_in_helper(obj8
);
19608 if (arg9
== NULL
) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 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
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19623 resultobj
= wxPyMake_wxObject(result
, 0);
19655 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19657 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19658 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19659 wxToolBarToolBase
*result
;
19660 PyObject
* obj0
= 0 ;
19661 PyObject
* obj1
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self",(char *) "tool", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19668 if (SWIG_arg_fail(1)) SWIG_fail
;
19669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19670 if (SWIG_arg_fail(2)) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19679 resultobj
= wxPyMake_wxObject(result
, 0);
19687 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19691 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19692 wxToolBarToolBase
*result
;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 PyObject
* obj2
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "self",(char *) "pos",(char *) "tool", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19702 if (SWIG_arg_fail(1)) SWIG_fail
;
19704 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19705 if (SWIG_arg_fail(2)) SWIG_fail
;
19707 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19708 if (SWIG_arg_fail(3)) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= wxPyMake_wxObject(result
, 0);
19725 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19728 wxControl
*arg2
= (wxControl
*) 0 ;
19729 wxToolBarToolBase
*result
;
19730 PyObject
* obj0
= 0 ;
19731 PyObject
* obj1
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self",(char *) "control", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19738 if (SWIG_arg_fail(1)) SWIG_fail
;
19739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19740 if (SWIG_arg_fail(2)) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= wxPyMake_wxObject(result
, 0);
19757 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19761 wxControl
*arg3
= (wxControl
*) 0 ;
19762 wxToolBarToolBase
*result
;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 PyObject
* obj2
= 0 ;
19766 char *kwnames
[] = {
19767 (char *) "self",(char *) "pos",(char *) "control", NULL
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19772 if (SWIG_arg_fail(1)) SWIG_fail
;
19774 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19775 if (SWIG_arg_fail(2)) SWIG_fail
;
19777 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19778 if (SWIG_arg_fail(3)) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= wxPyMake_wxObject(result
, 0);
19795 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 PyObject
* obj1
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self",(char *) "id", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail
;
19810 arg2
= (int)(SWIG_As_int(obj1
));
19811 if (SWIG_arg_fail(2)) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= wxPyMake_wxObject(result
, 0);
19829 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19832 wxToolBarToolBase
*result
;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19840 if (SWIG_arg_fail(1)) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19849 resultobj
= wxPyMake_wxObject(result
, 0);
19857 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19861 wxToolBarToolBase
*result
;
19862 PyObject
* obj0
= 0 ;
19863 PyObject
* obj1
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self",(char *) "pos", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19870 if (SWIG_arg_fail(1)) SWIG_fail
;
19872 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19873 if (SWIG_arg_fail(2)) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= wxPyMake_wxObject(result
, 0);
19891 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19895 wxToolBarToolBase
*result
;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "id", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19904 if (SWIG_arg_fail(1)) SWIG_fail
;
19906 arg2
= (int)(SWIG_As_int(obj1
));
19907 if (SWIG_arg_fail(2)) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= wxPyMake_wxObject(result
, 0);
19925 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self",(char *) "pos", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19938 if (SWIG_arg_fail(1)) SWIG_fail
;
19940 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19941 if (SWIG_arg_fail(2)) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19959 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self",(char *) "id", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19972 if (SWIG_arg_fail(1)) SWIG_fail
;
19974 arg2
= (int)(SWIG_As_int(obj1
));
19975 if (SWIG_arg_fail(2)) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 result
= (bool)(arg1
)->DeleteTool(arg2
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19993 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
20002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20003 if (SWIG_arg_fail(1)) SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 (arg1
)->ClearTools();
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 Py_INCREF(Py_None
); resultobj
= Py_None
;
20018 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
20028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20029 if (SWIG_arg_fail(1)) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 result
= (bool)(arg1
)->Realize();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20046 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 PyObject
* obj1
= 0 ;
20053 PyObject
* obj2
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self",(char *) "id",(char *) "enable", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20060 if (SWIG_arg_fail(1)) SWIG_fail
;
20062 arg2
= (int)(SWIG_As_int(obj1
));
20063 if (SWIG_arg_fail(2)) SWIG_fail
;
20066 arg3
= (bool)(SWIG_As_bool(obj2
));
20067 if (SWIG_arg_fail(3)) SWIG_fail
;
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 (arg1
)->EnableTool(arg2
,arg3
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 Py_INCREF(Py_None
); resultobj
= Py_None
;
20083 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20085 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20090 PyObject
* obj2
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self",(char *) "id",(char *) "toggle", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20097 if (SWIG_arg_fail(1)) SWIG_fail
;
20099 arg2
= (int)(SWIG_As_int(obj1
));
20100 if (SWIG_arg_fail(2)) SWIG_fail
;
20103 arg3
= (bool)(SWIG_As_bool(obj2
));
20104 if (SWIG_arg_fail(3)) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 (arg1
)->ToggleTool(arg2
,arg3
);
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 Py_INCREF(Py_None
); resultobj
= Py_None
;
20120 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 PyObject
* obj2
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self",(char *) "id",(char *) "toggle", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20134 if (SWIG_arg_fail(1)) SWIG_fail
;
20136 arg2
= (int)(SWIG_As_int(obj1
));
20137 if (SWIG_arg_fail(2)) SWIG_fail
;
20140 arg3
= (bool)(SWIG_As_bool(obj2
));
20141 if (SWIG_arg_fail(3)) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 (arg1
)->SetToggle(arg2
,arg3
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 Py_INCREF(Py_None
); resultobj
= Py_None
;
20157 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20159 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "id", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20170 if (SWIG_arg_fail(1)) SWIG_fail
;
20172 arg2
= (int)(SWIG_As_int(obj1
));
20173 if (SWIG_arg_fail(2)) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= result
;
20189 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20193 PyObject
*arg3
= (PyObject
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 PyObject
* obj1
= 0 ;
20196 PyObject
* obj2
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self",(char *) "id",(char *) "clientData", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20203 if (SWIG_arg_fail(1)) SWIG_fail
;
20205 arg2
= (int)(SWIG_As_int(obj1
));
20206 if (SWIG_arg_fail(2)) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 Py_INCREF(Py_None
); resultobj
= Py_None
;
20223 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self",(char *) "id", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20236 if (SWIG_arg_fail(1)) SWIG_fail
;
20238 arg2
= (int)(SWIG_As_int(obj1
));
20239 if (SWIG_arg_fail(2)) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20249 resultobj
= SWIG_From_int((int)(result
));
20257 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self",(char *) "id", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20270 if (SWIG_arg_fail(1)) SWIG_fail
;
20272 arg2
= (int)(SWIG_As_int(obj1
));
20273 if (SWIG_arg_fail(2)) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 result
= (bool)(arg1
)->GetToolState(arg2
);
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20291 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
;
20293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20296 PyObject
* obj0
= 0 ;
20297 PyObject
* obj1
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self",(char *) "id", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20304 if (SWIG_arg_fail(1)) SWIG_fail
;
20306 arg2
= (int)(SWIG_As_int(obj1
));
20307 if (SWIG_arg_fail(2)) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20325 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20329 wxString
*arg3
= 0 ;
20330 bool temp3
= false ;
20331 PyObject
* obj0
= 0 ;
20332 PyObject
* obj1
= 0 ;
20333 PyObject
* obj2
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self",(char *) "id",(char *) "helpString", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20340 if (SWIG_arg_fail(1)) SWIG_fail
;
20342 arg2
= (int)(SWIG_As_int(obj1
));
20343 if (SWIG_arg_fail(2)) SWIG_fail
;
20346 arg3
= wxString_in_helper(obj2
);
20347 if (arg3
== NULL
) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 Py_INCREF(Py_None
); resultobj
= Py_None
;
20372 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self",(char *) "id", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20385 if (SWIG_arg_fail(1)) SWIG_fail
;
20387 arg2
= (int)(SWIG_As_int(obj1
));
20388 if (SWIG_arg_fail(2)) SWIG_fail
;
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 result
= (arg1
)->GetToolShortHelp(arg2
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20410 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20414 wxString
*arg3
= 0 ;
20415 bool temp3
= false ;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20418 PyObject
* obj2
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "self",(char *) "id",(char *) "helpString", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20425 if (SWIG_arg_fail(1)) SWIG_fail
;
20427 arg2
= (int)(SWIG_As_int(obj1
));
20428 if (SWIG_arg_fail(2)) SWIG_fail
;
20431 arg3
= wxString_in_helper(obj2
);
20432 if (arg3
== NULL
) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 Py_INCREF(Py_None
); resultobj
= Py_None
;
20457 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "id", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20470 if (SWIG_arg_fail(1)) SWIG_fail
;
20472 arg2
= (int)(SWIG_As_int(obj1
));
20473 if (SWIG_arg_fail(2)) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (arg1
)->GetToolLongHelp(arg2
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20495 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 PyObject
* obj2
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "x",(char *) "y", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20511 arg2
= (int)(SWIG_As_int(obj1
));
20512 if (SWIG_arg_fail(2)) SWIG_fail
;
20515 arg3
= (int)(SWIG_As_int(obj2
));
20516 if (SWIG_arg_fail(3)) SWIG_fail
;
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 (arg1
)->SetMargins(arg2
,arg3
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 Py_INCREF(Py_None
); resultobj
= Py_None
;
20532 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20537 PyObject
* obj0
= 0 ;
20538 PyObject
* obj1
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self",(char *) "size", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20545 if (SWIG_arg_fail(1)) SWIG_fail
;
20548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 Py_INCREF(Py_None
); resultobj
= Py_None
;
20564 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
;
20566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 char *kwnames
[] = {
20571 (char *) "self",(char *) "packing", NULL
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20576 if (SWIG_arg_fail(1)) SWIG_fail
;
20578 arg2
= (int)(SWIG_As_int(obj1
));
20579 if (SWIG_arg_fail(2)) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 (arg1
)->SetToolPacking(arg2
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 Py_INCREF(Py_None
); resultobj
= Py_None
;
20595 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 PyObject
* obj1
= 0 ;
20601 char *kwnames
[] = {
20602 (char *) "self",(char *) "separation", NULL
20605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20607 if (SWIG_arg_fail(1)) SWIG_fail
;
20609 arg2
= (int)(SWIG_As_int(obj1
));
20610 if (SWIG_arg_fail(2)) SWIG_fail
;
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 (arg1
)->SetToolSeparation(arg2
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20619 Py_INCREF(Py_None
); resultobj
= Py_None
;
20626 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20627 PyObject
*resultobj
;
20628 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20630 PyObject
* obj0
= 0 ;
20631 char *kwnames
[] = {
20632 (char *) "self", NULL
20635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20637 if (SWIG_arg_fail(1)) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (arg1
)->GetToolMargins();
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20646 wxSize
* resultptr
;
20647 resultptr
= new wxSize((wxSize
&)(result
));
20648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20656 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20660 PyObject
* obj0
= 0 ;
20661 char *kwnames
[] = {
20662 (char *) "self", NULL
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20667 if (SWIG_arg_fail(1)) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (arg1
)->GetMargins();
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20676 wxSize
* resultptr
;
20677 resultptr
= new wxSize((wxSize
&)(result
));
20678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20686 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
;
20688 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20690 PyObject
* obj0
= 0 ;
20691 char *kwnames
[] = {
20692 (char *) "self", NULL
20695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20697 if (SWIG_arg_fail(1)) SWIG_fail
;
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 result
= (int)(arg1
)->GetToolPacking();
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_From_int((int)(result
));
20714 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20716 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20718 PyObject
* obj0
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 result
= (int)(arg1
)->GetToolSeparation();
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= SWIG_From_int((int)(result
));
20742 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20746 PyObject
* obj0
= 0 ;
20747 PyObject
* obj1
= 0 ;
20748 char *kwnames
[] = {
20749 (char *) "self",(char *) "nRows", NULL
20752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20754 if (SWIG_arg_fail(1)) SWIG_fail
;
20756 arg2
= (int)(SWIG_As_int(obj1
));
20757 if (SWIG_arg_fail(2)) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 (arg1
)->SetRows(arg2
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 Py_INCREF(Py_None
); resultobj
= Py_None
;
20773 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 PyObject
* obj2
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self",(char *) "rows",(char *) "cols", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20787 if (SWIG_arg_fail(1)) SWIG_fail
;
20789 arg2
= (int)(SWIG_As_int(obj1
));
20790 if (SWIG_arg_fail(2)) SWIG_fail
;
20793 arg3
= (int)(SWIG_As_int(obj2
));
20794 if (SWIG_arg_fail(3)) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 Py_INCREF(Py_None
); resultobj
= Py_None
;
20810 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (int)(arg1
)->GetMaxRows();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= SWIG_From_int((int)(result
));
20838 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20849 if (SWIG_arg_fail(1)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (int)(arg1
)->GetMaxCols();
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= SWIG_From_int((int)(result
));
20866 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 PyObject
* obj1
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self",(char *) "size", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20879 if (SWIG_arg_fail(1)) SWIG_fail
;
20882 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 Py_INCREF(Py_None
); resultobj
= Py_None
;
20898 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
;
20900 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20902 PyObject
* obj0
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20909 if (SWIG_arg_fail(1)) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= (arg1
)->GetToolBitmapSize();
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20918 wxSize
* resultptr
;
20919 resultptr
= new wxSize((wxSize
&)(result
));
20920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20928 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20932 PyObject
* obj0
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "self", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20939 if (SWIG_arg_fail(1)) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (arg1
)->GetToolSize();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20948 wxSize
* resultptr
;
20949 resultptr
= new wxSize((wxSize
&)(result
));
20950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20958 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20963 wxToolBarToolBase
*result
;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 PyObject
* obj2
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self",(char *) "x",(char *) "y", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20973 if (SWIG_arg_fail(1)) SWIG_fail
;
20975 arg2
= (int)(SWIG_As_int(obj1
));
20976 if (SWIG_arg_fail(2)) SWIG_fail
;
20979 arg3
= (int)(SWIG_As_int(obj2
));
20980 if (SWIG_arg_fail(3)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= wxPyMake_wxObject(result
, 0);
20998 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21002 wxToolBarToolBase
*result
;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self",(char *) "toolid", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
21010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21011 if (SWIG_arg_fail(1)) SWIG_fail
;
21013 arg2
= (int)(SWIG_As_int(obj1
));
21014 if (SWIG_arg_fail(2)) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= wxPyMake_wxObject(result
, 0);
21032 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
;
21034 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21036 PyObject
* obj0
= 0 ;
21037 char *kwnames
[] = {
21038 (char *) "self", NULL
21041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
21042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21043 if (SWIG_arg_fail(1)) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 result
= (bool)(arg1
)->IsVertical();
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21060 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21063 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21065 return Py_BuildValue((char *)"");
21067 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxWindow
*arg1
= (wxWindow
*) 0 ;
21070 int arg2
= (int) -1 ;
21071 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21072 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21073 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21074 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21075 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21076 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21077 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21081 bool temp6
= false ;
21082 PyObject
* obj0
= 0 ;
21083 PyObject
* obj1
= 0 ;
21084 PyObject
* obj2
= 0 ;
21085 PyObject
* obj3
= 0 ;
21086 PyObject
* obj4
= 0 ;
21087 PyObject
* obj5
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21094 if (SWIG_arg_fail(1)) SWIG_fail
;
21097 arg2
= (int)(SWIG_As_int(obj1
));
21098 if (SWIG_arg_fail(2)) SWIG_fail
;
21104 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21110 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21115 arg5
= (long)(SWIG_As_long(obj4
));
21116 if (SWIG_arg_fail(5)) SWIG_fail
;
21121 arg6
= wxString_in_helper(obj5
);
21122 if (arg6
== NULL
) SWIG_fail
;
21127 if (!wxPyCheckForApp()) SWIG_fail
;
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21149 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21152 char *kwnames
[] = {
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21158 if (!wxPyCheckForApp()) SWIG_fail
;
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 result
= (wxToolBar
*)new wxToolBar();
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21172 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21175 wxWindow
*arg2
= (wxWindow
*) 0 ;
21176 int arg3
= (int) -1 ;
21177 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21178 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21179 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21180 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21181 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21182 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21183 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21187 bool temp7
= false ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 PyObject
* obj2
= 0 ;
21191 PyObject
* obj3
= 0 ;
21192 PyObject
* obj4
= 0 ;
21193 PyObject
* obj5
= 0 ;
21194 PyObject
* obj6
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21201 if (SWIG_arg_fail(1)) SWIG_fail
;
21202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21203 if (SWIG_arg_fail(2)) SWIG_fail
;
21206 arg3
= (int)(SWIG_As_int(obj2
));
21207 if (SWIG_arg_fail(3)) SWIG_fail
;
21213 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21219 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21224 arg6
= (long)(SWIG_As_long(obj5
));
21225 if (SWIG_arg_fail(6)) SWIG_fail
;
21230 arg7
= wxString_in_helper(obj6
);
21231 if (arg7
== NULL
) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21259 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
;
21261 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21264 wxToolBarToolBase
*result
;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 PyObject
* obj2
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "x",(char *) "y", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21274 if (SWIG_arg_fail(1)) SWIG_fail
;
21276 arg2
= (int)(SWIG_As_int(obj1
));
21277 if (SWIG_arg_fail(2)) SWIG_fail
;
21280 arg3
= (int)(SWIG_As_int(obj2
));
21281 if (SWIG_arg_fail(3)) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21291 resultobj
= wxPyMake_wxObject(result
, 0);
21299 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
;
21301 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21302 wxVisualAttributes result
;
21303 PyObject
* obj0
= 0 ;
21304 char *kwnames
[] = {
21305 (char *) "variant", NULL
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21311 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21312 if (SWIG_arg_fail(1)) SWIG_fail
;
21316 if (!wxPyCheckForApp()) SWIG_fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21324 wxVisualAttributes
* resultptr
;
21325 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21334 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21337 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21339 return Py_BuildValue((char *)"");
21341 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21342 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21347 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21352 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21354 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21361 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxColour
const &arg1_defvalue
= wxNullColour
;
21364 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21365 wxColour
const &arg2_defvalue
= wxNullColour
;
21366 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21367 wxFont
const &arg3_defvalue
= wxNullFont
;
21368 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21369 wxListItemAttr
*result
;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 PyObject
* obj2
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21383 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21389 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21394 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21395 if (SWIG_arg_fail(3)) SWIG_fail
;
21396 if (arg3
== NULL
) {
21397 SWIG_null_ref("wxFont");
21399 if (SWIG_arg_fail(3)) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21416 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21419 wxColour
*arg2
= 0 ;
21421 PyObject
* obj0
= 0 ;
21422 PyObject
* obj1
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self",(char *) "colText", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21429 if (SWIG_arg_fail(1)) SWIG_fail
;
21432 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 Py_INCREF(Py_None
); resultobj
= Py_None
;
21448 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21451 wxColour
*arg2
= 0 ;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self",(char *) "colBack", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21461 if (SWIG_arg_fail(1)) SWIG_fail
;
21464 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 Py_INCREF(Py_None
); resultobj
= Py_None
;
21480 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21484 PyObject
* obj0
= 0 ;
21485 PyObject
* obj1
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self",(char *) "font", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21492 if (SWIG_arg_fail(1)) SWIG_fail
;
21494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21495 if (SWIG_arg_fail(2)) SWIG_fail
;
21496 if (arg2
== NULL
) {
21497 SWIG_null_ref("wxFont");
21499 if (SWIG_arg_fail(2)) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 (arg1
)->SetFont((wxFont
const &)*arg2
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 Py_INCREF(Py_None
); resultobj
= Py_None
;
21515 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
;
21517 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21519 PyObject
* obj0
= 0 ;
21520 char *kwnames
[] = {
21521 (char *) "self", NULL
21524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21526 if (SWIG_arg_fail(1)) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (bool)(arg1
)->HasTextColour();
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21543 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (bool)(arg1
)->HasBackgroundColour();
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21571 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21582 if (SWIG_arg_fail(1)) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (bool)(arg1
)->HasFont();
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21599 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (arg1
)->GetTextColour();
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21619 wxColour
* resultptr
;
21620 resultptr
= new wxColour((wxColour
&)(result
));
21621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21629 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21630 PyObject
*resultobj
;
21631 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21633 PyObject
* obj0
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21640 if (SWIG_arg_fail(1)) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (arg1
)->GetBackgroundColour();
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21649 wxColour
* resultptr
;
21650 resultptr
= new wxColour((wxColour
&)(result
));
21651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21659 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
;
21661 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21663 PyObject
* obj0
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21670 if (SWIG_arg_fail(1)) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= (arg1
)->GetFont();
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21679 wxFont
* resultptr
;
21680 resultptr
= new wxFont((wxFont
&)(result
));
21681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21689 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
;
21691 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21699 if (SWIG_arg_fail(1)) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 wxListItemAttr_Destroy(arg1
);
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 Py_INCREF(Py_None
); resultobj
= Py_None
;
21714 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21717 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21719 return Py_BuildValue((char *)"");
21721 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxListItem
*result
;
21724 char *kwnames
[] = {
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (wxListItem
*)new wxListItem();
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= wxPyMake_wxObject(result
, 1);
21745 static PyObject
*_wrap_delete_ListItem(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:delete_ListItem",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_Clear(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_Clear",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();
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 Py_INCREF(Py_None
); resultobj
= Py_None
;
21795 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxListItem
*arg1
= (wxListItem
*) 0 ;
21798 PyObject
* obj0
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21805 if (SWIG_arg_fail(1)) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 (arg1
)->ClearAttributes();
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 Py_INCREF(Py_None
); resultobj
= Py_None
;
21820 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxListItem
*arg1
= (wxListItem
*) 0 ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self",(char *) "mask", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail
;
21834 arg2
= (long)(SWIG_As_long(obj1
));
21835 if (SWIG_arg_fail(2)) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 (arg1
)->SetMask(arg2
);
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21844 Py_INCREF(Py_None
); resultobj
= Py_None
;
21851 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
;
21853 wxListItem
*arg1
= (wxListItem
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self",(char *) "id", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21863 if (SWIG_arg_fail(1)) SWIG_fail
;
21865 arg2
= (long)(SWIG_As_long(obj1
));
21866 if (SWIG_arg_fail(2)) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 (arg1
)->SetId(arg2
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 Py_INCREF(Py_None
); resultobj
= Py_None
;
21882 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxListItem
*arg1
= (wxListItem
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self",(char *) "col", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21894 if (SWIG_arg_fail(1)) SWIG_fail
;
21896 arg2
= (int)(SWIG_As_int(obj1
));
21897 if (SWIG_arg_fail(2)) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 (arg1
)->SetColumn(arg2
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 Py_INCREF(Py_None
); resultobj
= Py_None
;
21913 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxListItem
*arg1
= (wxListItem
*) 0 ;
21917 PyObject
* obj0
= 0 ;
21918 PyObject
* obj1
= 0 ;
21919 char *kwnames
[] = {
21920 (char *) "self",(char *) "state", NULL
21923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21925 if (SWIG_arg_fail(1)) SWIG_fail
;
21927 arg2
= (long)(SWIG_As_long(obj1
));
21928 if (SWIG_arg_fail(2)) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 (arg1
)->SetState(arg2
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 Py_INCREF(Py_None
); resultobj
= Py_None
;
21944 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxListItem
*arg1
= (wxListItem
*) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self",(char *) "stateMask", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21956 if (SWIG_arg_fail(1)) SWIG_fail
;
21958 arg2
= (long)(SWIG_As_long(obj1
));
21959 if (SWIG_arg_fail(2)) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 (arg1
)->SetStateMask(arg2
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 Py_INCREF(Py_None
); resultobj
= Py_None
;
21975 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxListItem
*arg1
= (wxListItem
*) 0 ;
21978 wxString
*arg2
= 0 ;
21979 bool temp2
= false ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "text", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21988 if (SWIG_arg_fail(1)) SWIG_fail
;
21990 arg2
= wxString_in_helper(obj1
);
21991 if (arg2
== NULL
) SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 (arg1
)->SetText((wxString
const &)*arg2
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 Py_INCREF(Py_None
); resultobj
= Py_None
;
22016 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxListItem
*arg1
= (wxListItem
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "self",(char *) "image", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22028 if (SWIG_arg_fail(1)) SWIG_fail
;
22030 arg2
= (int)(SWIG_As_int(obj1
));
22031 if (SWIG_arg_fail(2)) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 (arg1
)->SetImage(arg2
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 Py_INCREF(Py_None
); resultobj
= Py_None
;
22047 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxListItem
*arg1
= (wxListItem
*) 0 ;
22051 PyObject
* obj0
= 0 ;
22052 PyObject
* obj1
= 0 ;
22053 char *kwnames
[] = {
22054 (char *) "self",(char *) "data", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22059 if (SWIG_arg_fail(1)) SWIG_fail
;
22061 arg2
= (long)(SWIG_As_long(obj1
));
22062 if (SWIG_arg_fail(2)) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 (arg1
)->SetData(arg2
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 Py_INCREF(Py_None
); resultobj
= Py_None
;
22078 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxListItem
*arg1
= (wxListItem
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self",(char *) "width", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22090 if (SWIG_arg_fail(1)) SWIG_fail
;
22092 arg2
= (int)(SWIG_As_int(obj1
));
22093 if (SWIG_arg_fail(2)) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 (arg1
)->SetWidth(arg2
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 Py_INCREF(Py_None
); resultobj
= Py_None
;
22109 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxListItem
*arg1
= (wxListItem
*) 0 ;
22112 wxListColumnFormat arg2
;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "align", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22121 if (SWIG_arg_fail(1)) SWIG_fail
;
22123 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22124 if (SWIG_arg_fail(2)) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxListItem
*arg1
= (wxListItem
*) 0 ;
22143 wxColour
*arg2
= 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "colText", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22153 if (SWIG_arg_fail(1)) SWIG_fail
;
22156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22165 Py_INCREF(Py_None
); resultobj
= Py_None
;
22172 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxListItem
*arg1
= (wxListItem
*) 0 ;
22175 wxColour
*arg2
= 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self",(char *) "colBack", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22185 if (SWIG_arg_fail(1)) SWIG_fail
;
22188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 Py_INCREF(Py_None
); resultobj
= Py_None
;
22204 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxListItem
*arg1
= (wxListItem
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 PyObject
* obj1
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self",(char *) "font", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail
;
22218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22219 if (SWIG_arg_fail(2)) SWIG_fail
;
22220 if (arg2
== NULL
) {
22221 SWIG_null_ref("wxFont");
22223 if (SWIG_arg_fail(2)) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 (arg1
)->SetFont((wxFont
const &)*arg2
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 Py_INCREF(Py_None
); resultobj
= Py_None
;
22239 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22240 PyObject
*resultobj
;
22241 wxListItem
*arg1
= (wxListItem
*) 0 ;
22243 PyObject
* obj0
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22250 if (SWIG_arg_fail(1)) SWIG_fail
;
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= (long)(arg1
)->GetMask();
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= SWIG_From_long((long)(result
));
22267 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
;
22269 wxListItem
*arg1
= (wxListItem
*) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22278 if (SWIG_arg_fail(1)) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (long)(arg1
)->GetId();
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_From_long((long)(result
));
22295 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxListItem
*arg1
= (wxListItem
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22306 if (SWIG_arg_fail(1)) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (int)(arg1
)->GetColumn();
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= SWIG_From_int((int)(result
));
22323 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxListItem
*arg1
= (wxListItem
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22334 if (SWIG_arg_fail(1)) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 result
= (long)(arg1
)->GetState();
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= SWIG_From_long((long)(result
));
22351 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxListItem
*arg1
= (wxListItem
*) 0 ;
22355 PyObject
* obj0
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22362 if (SWIG_arg_fail(1)) SWIG_fail
;
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 wxString
const &_result_ref
= (arg1
)->GetText();
22367 result
= (wxString
*) &_result_ref
;
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22386 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxListItem
*arg1
= (wxListItem
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self", NULL
22395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22397 if (SWIG_arg_fail(1)) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= (int)(arg1
)->GetImage();
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22406 resultobj
= SWIG_From_int((int)(result
));
22414 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22415 PyObject
*resultobj
;
22416 wxListItem
*arg1
= (wxListItem
*) 0 ;
22418 PyObject
* obj0
= 0 ;
22419 char *kwnames
[] = {
22420 (char *) "self", NULL
22423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22425 if (SWIG_arg_fail(1)) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= (long)(arg1
)->GetData();
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22434 resultobj
= SWIG_From_long((long)(result
));
22442 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxListItem
*arg1
= (wxListItem
*) 0 ;
22446 PyObject
* obj0
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22453 if (SWIG_arg_fail(1)) SWIG_fail
;
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= (int)(arg1
)->GetWidth();
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= SWIG_From_int((int)(result
));
22470 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
;
22472 wxListItem
*arg1
= (wxListItem
*) 0 ;
22473 wxListColumnFormat result
;
22474 PyObject
* obj0
= 0 ;
22475 char *kwnames
[] = {
22476 (char *) "self", NULL
22479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22481 if (SWIG_arg_fail(1)) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 resultobj
= SWIG_From_int((result
));
22496 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxListItem
*arg1
= (wxListItem
*) 0 ;
22499 wxListItemAttr
*result
;
22500 PyObject
* obj0
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22507 if (SWIG_arg_fail(1)) SWIG_fail
;
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22522 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxListItem
*arg1
= (wxListItem
*) 0 ;
22526 PyObject
* obj0
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22533 if (SWIG_arg_fail(1)) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 result
= (bool)(arg1
)->HasAttributes();
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22550 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxListItem
*arg1
= (wxListItem
*) 0 ;
22554 PyObject
* obj0
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22561 if (SWIG_arg_fail(1)) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22570 wxColour
* resultptr
;
22571 resultptr
= new wxColour((wxColour
&)(result
));
22572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22580 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxListItem
*arg1
= (wxListItem
*) 0 ;
22584 PyObject
* obj0
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22600 wxColour
* resultptr
;
22601 resultptr
= new wxColour((wxColour
&)(result
));
22602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22610 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxListItem
*arg1
= (wxListItem
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22621 if (SWIG_arg_fail(1)) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= ((wxListItem
const *)arg1
)->GetFont();
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22630 wxFont
* resultptr
;
22631 resultptr
= new wxFont((wxFont
&)(result
));
22632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22640 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxListItem
*arg1
= (wxListItem
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 PyObject
* obj1
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self",(char *) "m_mask", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22652 if (SWIG_arg_fail(1)) SWIG_fail
;
22654 arg2
= (long)(SWIG_As_long(obj1
));
22655 if (SWIG_arg_fail(2)) SWIG_fail
;
22657 if (arg1
) (arg1
)->m_mask
= arg2
;
22659 Py_INCREF(Py_None
); resultobj
= Py_None
;
22666 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22667 PyObject
*resultobj
;
22668 wxListItem
*arg1
= (wxListItem
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22677 if (SWIG_arg_fail(1)) SWIG_fail
;
22678 result
= (long) ((arg1
)->m_mask
);
22681 resultobj
= SWIG_From_long((long)(result
));
22689 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxListItem
*arg1
= (wxListItem
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 PyObject
* obj1
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self",(char *) "m_itemId", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22701 if (SWIG_arg_fail(1)) SWIG_fail
;
22703 arg2
= (long)(SWIG_As_long(obj1
));
22704 if (SWIG_arg_fail(2)) SWIG_fail
;
22706 if (arg1
) (arg1
)->m_itemId
= arg2
;
22708 Py_INCREF(Py_None
); resultobj
= Py_None
;
22715 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxListItem
*arg1
= (wxListItem
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22726 if (SWIG_arg_fail(1)) SWIG_fail
;
22727 result
= (long) ((arg1
)->m_itemId
);
22730 resultobj
= SWIG_From_long((long)(result
));
22738 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxListItem
*arg1
= (wxListItem
*) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "m_col", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail
;
22752 arg2
= (int)(SWIG_As_int(obj1
));
22753 if (SWIG_arg_fail(2)) SWIG_fail
;
22755 if (arg1
) (arg1
)->m_col
= arg2
;
22757 Py_INCREF(Py_None
); resultobj
= Py_None
;
22764 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22766 wxListItem
*arg1
= (wxListItem
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "self", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22775 if (SWIG_arg_fail(1)) SWIG_fail
;
22776 result
= (int) ((arg1
)->m_col
);
22779 resultobj
= SWIG_From_int((int)(result
));
22787 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxListItem
*arg1
= (wxListItem
*) 0 ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self",(char *) "m_state", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22799 if (SWIG_arg_fail(1)) SWIG_fail
;
22801 arg2
= (long)(SWIG_As_long(obj1
));
22802 if (SWIG_arg_fail(2)) SWIG_fail
;
22804 if (arg1
) (arg1
)->m_state
= arg2
;
22806 Py_INCREF(Py_None
); resultobj
= Py_None
;
22813 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxListItem
*arg1
= (wxListItem
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22824 if (SWIG_arg_fail(1)) SWIG_fail
;
22825 result
= (long) ((arg1
)->m_state
);
22828 resultobj
= SWIG_From_long((long)(result
));
22836 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxListItem
*arg1
= (wxListItem
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 char *kwnames
[] = {
22843 (char *) "self",(char *) "m_stateMask", NULL
22846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22848 if (SWIG_arg_fail(1)) SWIG_fail
;
22850 arg2
= (long)(SWIG_As_long(obj1
));
22851 if (SWIG_arg_fail(2)) SWIG_fail
;
22853 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22855 Py_INCREF(Py_None
); resultobj
= Py_None
;
22862 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22864 wxListItem
*arg1
= (wxListItem
*) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22873 if (SWIG_arg_fail(1)) SWIG_fail
;
22874 result
= (long) ((arg1
)->m_stateMask
);
22877 resultobj
= SWIG_From_long((long)(result
));
22885 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxListItem
*arg1
= (wxListItem
*) 0 ;
22888 wxString
*arg2
= (wxString
*) 0 ;
22889 bool temp2
= false ;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "m_text", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail
;
22900 arg2
= wxString_in_helper(obj1
);
22901 if (arg2
== NULL
) SWIG_fail
;
22904 if (arg1
) (arg1
)->m_text
= *arg2
;
22906 Py_INCREF(Py_None
); resultobj
= Py_None
;
22921 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxListItem
*arg1
= (wxListItem
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22932 if (SWIG_arg_fail(1)) SWIG_fail
;
22933 result
= (wxString
*)& ((arg1
)->m_text
);
22937 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22939 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22948 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxListItem
*arg1
= (wxListItem
*) 0 ;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self",(char *) "m_image", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22960 if (SWIG_arg_fail(1)) SWIG_fail
;
22962 arg2
= (int)(SWIG_As_int(obj1
));
22963 if (SWIG_arg_fail(2)) SWIG_fail
;
22965 if (arg1
) (arg1
)->m_image
= arg2
;
22967 Py_INCREF(Py_None
); resultobj
= Py_None
;
22974 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxListItem
*arg1
= (wxListItem
*) 0 ;
22978 PyObject
* obj0
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "self", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22985 if (SWIG_arg_fail(1)) SWIG_fail
;
22986 result
= (int) ((arg1
)->m_image
);
22989 resultobj
= SWIG_From_int((int)(result
));
22997 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxListItem
*arg1
= (wxListItem
*) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "self",(char *) "m_data", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail
;
23011 arg2
= (long)(SWIG_As_long(obj1
));
23012 if (SWIG_arg_fail(2)) SWIG_fail
;
23014 if (arg1
) (arg1
)->m_data
= arg2
;
23016 Py_INCREF(Py_None
); resultobj
= Py_None
;
23023 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
;
23025 wxListItem
*arg1
= (wxListItem
*) 0 ;
23027 PyObject
* obj0
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
23033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23034 if (SWIG_arg_fail(1)) SWIG_fail
;
23035 result
= (long) ((arg1
)->m_data
);
23038 resultobj
= SWIG_From_long((long)(result
));
23046 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23048 wxListItem
*arg1
= (wxListItem
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self",(char *) "m_format", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23058 if (SWIG_arg_fail(1)) SWIG_fail
;
23060 arg2
= (int)(SWIG_As_int(obj1
));
23061 if (SWIG_arg_fail(2)) SWIG_fail
;
23063 if (arg1
) (arg1
)->m_format
= arg2
;
23065 Py_INCREF(Py_None
); resultobj
= Py_None
;
23072 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxListItem
*arg1
= (wxListItem
*) 0 ;
23076 PyObject
* obj0
= 0 ;
23077 char *kwnames
[] = {
23078 (char *) "self", NULL
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23083 if (SWIG_arg_fail(1)) SWIG_fail
;
23084 result
= (int) ((arg1
)->m_format
);
23087 resultobj
= SWIG_From_int((int)(result
));
23095 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxListItem
*arg1
= (wxListItem
*) 0 ;
23099 PyObject
* obj0
= 0 ;
23100 PyObject
* obj1
= 0 ;
23101 char *kwnames
[] = {
23102 (char *) "self",(char *) "m_width", NULL
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23107 if (SWIG_arg_fail(1)) SWIG_fail
;
23109 arg2
= (int)(SWIG_As_int(obj1
));
23110 if (SWIG_arg_fail(2)) SWIG_fail
;
23112 if (arg1
) (arg1
)->m_width
= arg2
;
23114 Py_INCREF(Py_None
); resultobj
= Py_None
;
23121 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxListItem
*arg1
= (wxListItem
*) 0 ;
23125 PyObject
* obj0
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail
;
23133 result
= (int) ((arg1
)->m_width
);
23136 resultobj
= SWIG_From_int((int)(result
));
23144 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23147 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23149 return Py_BuildValue((char *)"");
23151 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
;
23153 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23154 int arg2
= (int) 0 ;
23155 wxListEvent
*result
;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "commandType",(char *) "id", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23165 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23166 if (SWIG_arg_fail(1)) SWIG_fail
;
23171 arg2
= (int)(SWIG_As_int(obj1
));
23172 if (SWIG_arg_fail(2)) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23189 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
;
23191 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self",(char *) "m_code", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail
;
23203 arg2
= (int)(SWIG_As_int(obj1
));
23204 if (SWIG_arg_fail(2)) SWIG_fail
;
23206 if (arg1
) (arg1
)->m_code
= arg2
;
23208 Py_INCREF(Py_None
); resultobj
= Py_None
;
23215 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
;
23217 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23219 PyObject
* obj0
= 0 ;
23220 char *kwnames
[] = {
23221 (char *) "self", NULL
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23226 if (SWIG_arg_fail(1)) SWIG_fail
;
23227 result
= (int) ((arg1
)->m_code
);
23230 resultobj
= SWIG_From_int((int)(result
));
23238 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self",(char *) "m_oldItemIndex", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23250 if (SWIG_arg_fail(1)) SWIG_fail
;
23252 arg2
= (long)(SWIG_As_long(obj1
));
23253 if (SWIG_arg_fail(2)) SWIG_fail
;
23255 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23257 Py_INCREF(Py_None
); resultobj
= Py_None
;
23264 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23268 PyObject
* obj0
= 0 ;
23269 char *kwnames
[] = {
23270 (char *) "self", NULL
23273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23275 if (SWIG_arg_fail(1)) SWIG_fail
;
23276 result
= (long) ((arg1
)->m_oldItemIndex
);
23279 resultobj
= SWIG_From_long((long)(result
));
23287 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
;
23289 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23291 PyObject
* obj0
= 0 ;
23292 PyObject
* obj1
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self",(char *) "m_itemIndex", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23299 if (SWIG_arg_fail(1)) SWIG_fail
;
23301 arg2
= (long)(SWIG_As_long(obj1
));
23302 if (SWIG_arg_fail(2)) SWIG_fail
;
23304 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23306 Py_INCREF(Py_None
); resultobj
= Py_None
;
23313 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
;
23315 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23317 PyObject
* obj0
= 0 ;
23318 char *kwnames
[] = {
23319 (char *) "self", NULL
23322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23324 if (SWIG_arg_fail(1)) SWIG_fail
;
23325 result
= (long) ((arg1
)->m_itemIndex
);
23328 resultobj
= SWIG_From_long((long)(result
));
23336 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23340 PyObject
* obj0
= 0 ;
23341 PyObject
* obj1
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self",(char *) "m_col", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23348 if (SWIG_arg_fail(1)) SWIG_fail
;
23350 arg2
= (int)(SWIG_As_int(obj1
));
23351 if (SWIG_arg_fail(2)) SWIG_fail
;
23353 if (arg1
) (arg1
)->m_col
= arg2
;
23355 Py_INCREF(Py_None
); resultobj
= Py_None
;
23362 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23366 PyObject
* obj0
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "self", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail
;
23374 result
= (int) ((arg1
)->m_col
);
23377 resultobj
= SWIG_From_int((int)(result
));
23385 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23388 wxPoint
*arg2
= (wxPoint
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self",(char *) "m_pointDrag", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23397 if (SWIG_arg_fail(1)) SWIG_fail
;
23398 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23399 if (SWIG_arg_fail(2)) SWIG_fail
;
23400 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23402 Py_INCREF(Py_None
); resultobj
= Py_None
;
23409 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23410 PyObject
*resultobj
;
23411 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23413 PyObject
* obj0
= 0 ;
23414 char *kwnames
[] = {
23415 (char *) "self", NULL
23418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23420 if (SWIG_arg_fail(1)) SWIG_fail
;
23421 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23430 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
;
23432 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23433 wxListItem
*result
;
23434 PyObject
* obj0
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23441 if (SWIG_arg_fail(1)) SWIG_fail
;
23442 result
= (wxListItem
*)& ((arg1
)->m_item
);
23445 resultobj
= wxPyMake_wxObject(result
, 0);
23453 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23457 PyObject
* obj0
= 0 ;
23458 char *kwnames
[] = {
23459 (char *) "self", NULL
23462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23464 if (SWIG_arg_fail(1)) SWIG_fail
;
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= (int)(arg1
)->GetKeyCode();
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_From_int((int)(result
));
23481 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23492 if (SWIG_arg_fail(1)) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (long)(arg1
)->GetIndex();
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= SWIG_From_long((long)(result
));
23509 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 char *kwnames
[] = {
23515 (char *) "self", NULL
23518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23520 if (SWIG_arg_fail(1)) SWIG_fail
;
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= (int)(arg1
)->GetColumn();
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= SWIG_From_int((int)(result
));
23537 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23548 if (SWIG_arg_fail(1)) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (arg1
)->GetPoint();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23557 wxPoint
* resultptr
;
23558 resultptr
= new wxPoint((wxPoint
&)(result
));
23559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23567 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23578 if (SWIG_arg_fail(1)) SWIG_fail
;
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 wxString
const &_result_ref
= (arg1
)->GetLabel();
23583 result
= (wxString
*) &_result_ref
;
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23593 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23602 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23606 PyObject
* obj0
= 0 ;
23607 char *kwnames
[] = {
23608 (char *) "self", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23613 if (SWIG_arg_fail(1)) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 wxString
const &_result_ref
= (arg1
)->GetText();
23618 result
= (wxString
*) &_result_ref
;
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23628 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23637 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23641 PyObject
* obj0
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23648 if (SWIG_arg_fail(1)) SWIG_fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= (int)(arg1
)->GetImage();
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= SWIG_From_int((int)(result
));
23665 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23666 PyObject
*resultobj
;
23667 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23669 PyObject
* obj0
= 0 ;
23670 char *kwnames
[] = {
23671 (char *) "self", NULL
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23676 if (SWIG_arg_fail(1)) SWIG_fail
;
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= (long)(arg1
)->GetData();
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= SWIG_From_long((long)(result
));
23693 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23695 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23697 PyObject
* obj0
= 0 ;
23698 char *kwnames
[] = {
23699 (char *) "self", NULL
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23704 if (SWIG_arg_fail(1)) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= (long)(arg1
)->GetMask();
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= SWIG_From_long((long)(result
));
23721 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23724 wxListItem
*result
;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23737 result
= (wxListItem
*) &_result_ref
;
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23750 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23754 PyObject
* obj0
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23761 if (SWIG_arg_fail(1)) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (long)(arg1
)->GetCacheFrom();
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= SWIG_From_long((long)(result
));
23778 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23789 if (SWIG_arg_fail(1)) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (long)(arg1
)->GetCacheTo();
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= SWIG_From_long((long)(result
));
23806 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23808 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23810 PyObject
* obj0
= 0 ;
23811 char *kwnames
[] = {
23812 (char *) "self", NULL
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23817 if (SWIG_arg_fail(1)) SWIG_fail
;
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23820 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23834 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23835 PyObject
*resultobj
;
23836 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23838 PyObject
* obj0
= 0 ;
23839 PyObject
* obj1
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "self",(char *) "editCancelled", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23846 if (SWIG_arg_fail(1)) SWIG_fail
;
23848 arg2
= (bool)(SWIG_As_bool(obj1
));
23849 if (SWIG_arg_fail(2)) SWIG_fail
;
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 (arg1
)->SetEditCanceled(arg2
);
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 Py_INCREF(Py_None
); resultobj
= Py_None
;
23865 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23868 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23870 return Py_BuildValue((char *)"");
23872 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxWindow
*arg1
= (wxWindow
*) 0 ;
23875 int arg2
= (int) -1 ;
23876 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23877 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23878 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23879 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23880 long arg5
= (long) wxLC_ICON
;
23881 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23882 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23883 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23884 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23885 wxPyListCtrl
*result
;
23888 bool temp7
= false ;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 PyObject
* obj2
= 0 ;
23892 PyObject
* obj3
= 0 ;
23893 PyObject
* obj4
= 0 ;
23894 PyObject
* obj5
= 0 ;
23895 PyObject
* obj6
= 0 ;
23896 char *kwnames
[] = {
23897 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23902 if (SWIG_arg_fail(1)) SWIG_fail
;
23905 arg2
= (int)(SWIG_As_int(obj1
));
23906 if (SWIG_arg_fail(2)) SWIG_fail
;
23912 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23918 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23923 arg5
= (long)(SWIG_As_long(obj4
));
23924 if (SWIG_arg_fail(5)) SWIG_fail
;
23929 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23930 if (SWIG_arg_fail(6)) SWIG_fail
;
23931 if (arg6
== NULL
) {
23932 SWIG_null_ref("wxValidator");
23934 if (SWIG_arg_fail(6)) SWIG_fail
;
23939 arg7
= wxString_in_helper(obj6
);
23940 if (arg7
== NULL
) SWIG_fail
;
23945 if (!wxPyCheckForApp()) SWIG_fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23967 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxPyListCtrl
*result
;
23970 char *kwnames
[] = {
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23976 if (!wxPyCheckForApp()) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23990 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23993 wxWindow
*arg2
= (wxWindow
*) 0 ;
23994 int arg3
= (int) -1 ;
23995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23999 long arg6
= (long) wxLC_ICON
;
24000 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24001 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24002 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24003 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24007 bool temp8
= false ;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 PyObject
* obj2
= 0 ;
24011 PyObject
* obj3
= 0 ;
24012 PyObject
* obj4
= 0 ;
24013 PyObject
* obj5
= 0 ;
24014 PyObject
* obj6
= 0 ;
24015 PyObject
* obj7
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24022 if (SWIG_arg_fail(1)) SWIG_fail
;
24023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24024 if (SWIG_arg_fail(2)) SWIG_fail
;
24027 arg3
= (int)(SWIG_As_int(obj2
));
24028 if (SWIG_arg_fail(3)) SWIG_fail
;
24034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24045 arg6
= (long)(SWIG_As_long(obj5
));
24046 if (SWIG_arg_fail(6)) SWIG_fail
;
24051 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24052 if (SWIG_arg_fail(7)) SWIG_fail
;
24053 if (arg7
== NULL
) {
24054 SWIG_null_ref("wxValidator");
24056 if (SWIG_arg_fail(7)) SWIG_fail
;
24061 arg8
= wxString_in_helper(obj7
);
24062 if (arg8
== NULL
) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24090 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
;
24092 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24093 PyObject
*arg2
= (PyObject
*) 0 ;
24094 PyObject
*arg3
= (PyObject
*) 0 ;
24095 PyObject
* obj0
= 0 ;
24096 PyObject
* obj1
= 0 ;
24097 PyObject
* obj2
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self",(char *) "self",(char *) "_class", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24104 if (SWIG_arg_fail(1)) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 Py_INCREF(Py_None
); resultobj
= Py_None
;
24121 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24124 wxColour
*arg2
= 0 ;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self",(char *) "col", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24135 if (SWIG_arg_fail(1)) SWIG_fail
;
24138 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24156 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24159 wxColour
*arg2
= 0 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "col", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24170 if (SWIG_arg_fail(1)) SWIG_fail
;
24173 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24191 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24195 wxListItem
*result
;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 char *kwnames
[] = {
24199 (char *) "self",(char *) "col", NULL
24202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24204 if (SWIG_arg_fail(1)) SWIG_fail
;
24206 arg2
= (int)(SWIG_As_int(obj1
));
24207 if (SWIG_arg_fail(2)) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= wxPyMake_wxObject(result
, 0);
24225 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24229 wxListItem
*arg3
= 0 ;
24231 PyObject
* obj0
= 0 ;
24232 PyObject
* obj1
= 0 ;
24233 PyObject
* obj2
= 0 ;
24234 char *kwnames
[] = {
24235 (char *) "self",(char *) "col",(char *) "item", NULL
24238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24240 if (SWIG_arg_fail(1)) SWIG_fail
;
24242 arg2
= (int)(SWIG_As_int(obj1
));
24243 if (SWIG_arg_fail(2)) SWIG_fail
;
24246 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24247 if (SWIG_arg_fail(3)) SWIG_fail
;
24248 if (arg3
== NULL
) {
24249 SWIG_null_ref("wxListItem");
24251 if (SWIG_arg_fail(3)) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24269 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
;
24271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 char *kwnames
[] = {
24277 (char *) "self",(char *) "col", NULL
24280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24282 if (SWIG_arg_fail(1)) SWIG_fail
;
24284 arg2
= (int)(SWIG_As_int(obj1
));
24285 if (SWIG_arg_fail(2)) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= SWIG_From_int((int)(result
));
24303 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 PyObject
* obj2
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self",(char *) "col",(char *) "width", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24318 if (SWIG_arg_fail(1)) SWIG_fail
;
24320 arg2
= (int)(SWIG_As_int(obj1
));
24321 if (SWIG_arg_fail(2)) SWIG_fail
;
24324 arg3
= (int)(SWIG_As_int(obj2
));
24325 if (SWIG_arg_fail(3)) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24343 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24354 if (SWIG_arg_fail(1)) SWIG_fail
;
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_From_int((int)(result
));
24371 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "self", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24382 if (SWIG_arg_fail(1)) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24391 wxRect
* resultptr
;
24392 resultptr
= new wxRect((wxRect
&)(result
));
24393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24401 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
;
24403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24404 wxTextCtrl
*result
;
24405 PyObject
* obj0
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
24411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= wxPyMake_wxObject(result
, 0);
24429 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24433 int arg3
= (int) 0 ;
24434 wxListItem
*result
;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 PyObject
* obj2
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "self",(char *) "itemId",(char *) "col", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24444 if (SWIG_arg_fail(1)) SWIG_fail
;
24446 arg2
= (long)(SWIG_As_long(obj1
));
24447 if (SWIG_arg_fail(2)) SWIG_fail
;
24451 arg3
= (int)(SWIG_As_int(obj2
));
24452 if (SWIG_arg_fail(3)) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= wxPyMake_wxObject(result
, 0);
24471 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24474 wxListItem
*arg2
= 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self",(char *) "info", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24484 if (SWIG_arg_fail(1)) SWIG_fail
;
24486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24487 if (SWIG_arg_fail(2)) SWIG_fail
;
24488 if (arg2
== NULL
) {
24489 SWIG_null_ref("wxListItem");
24491 if (SWIG_arg_fail(2)) SWIG_fail
;
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 result
= (bool)(arg1
)->SetItem(*arg2
);
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24509 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
;
24511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24514 wxString
*arg4
= 0 ;
24515 int arg5
= (int) -1 ;
24517 bool temp4
= false ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 PyObject
* obj2
= 0 ;
24521 PyObject
* obj3
= 0 ;
24522 PyObject
* obj4
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24529 if (SWIG_arg_fail(1)) SWIG_fail
;
24531 arg2
= (long)(SWIG_As_long(obj1
));
24532 if (SWIG_arg_fail(2)) SWIG_fail
;
24535 arg3
= (int)(SWIG_As_int(obj2
));
24536 if (SWIG_arg_fail(3)) SWIG_fail
;
24539 arg4
= wxString_in_helper(obj3
);
24540 if (arg4
== NULL
) SWIG_fail
;
24545 arg5
= (int)(SWIG_As_int(obj4
));
24546 if (SWIG_arg_fail(5)) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= SWIG_From_long((long)(result
));
24573 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 PyObject
* obj2
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24588 if (SWIG_arg_fail(1)) SWIG_fail
;
24590 arg2
= (long)(SWIG_As_long(obj1
));
24591 if (SWIG_arg_fail(2)) SWIG_fail
;
24594 arg3
= (long)(SWIG_As_long(obj2
));
24595 if (SWIG_arg_fail(3)) SWIG_fail
;
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= SWIG_From_int((int)(result
));
24613 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 PyObject
* obj2
= 0 ;
24623 PyObject
* obj3
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24630 if (SWIG_arg_fail(1)) SWIG_fail
;
24632 arg2
= (long)(SWIG_As_long(obj1
));
24633 if (SWIG_arg_fail(2)) SWIG_fail
;
24636 arg3
= (long)(SWIG_As_long(obj2
));
24637 if (SWIG_arg_fail(3)) SWIG_fail
;
24640 arg4
= (long)(SWIG_As_long(obj3
));
24641 if (SWIG_arg_fail(4)) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24659 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
;
24661 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24664 int arg4
= (int) -1 ;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 PyObject
* obj2
= 0 ;
24669 PyObject
* obj3
= 0 ;
24670 char *kwnames
[] = {
24671 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24676 if (SWIG_arg_fail(1)) SWIG_fail
;
24678 arg2
= (long)(SWIG_As_long(obj1
));
24679 if (SWIG_arg_fail(2)) SWIG_fail
;
24682 arg3
= (int)(SWIG_As_int(obj2
));
24683 if (SWIG_arg_fail(3)) SWIG_fail
;
24687 arg4
= (int)(SWIG_As_int(obj3
));
24688 if (SWIG_arg_fail(4)) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24707 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self",(char *) "item", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24720 if (SWIG_arg_fail(1)) SWIG_fail
;
24722 arg2
= (long)(SWIG_As_long(obj1
));
24723 if (SWIG_arg_fail(2)) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24745 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24749 wxString
*arg3
= 0 ;
24750 bool temp3
= false ;
24751 PyObject
* obj0
= 0 ;
24752 PyObject
* obj1
= 0 ;
24753 PyObject
* obj2
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self",(char *) "item",(char *) "str", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24760 if (SWIG_arg_fail(1)) SWIG_fail
;
24762 arg2
= (long)(SWIG_As_long(obj1
));
24763 if (SWIG_arg_fail(2)) SWIG_fail
;
24766 arg3
= wxString_in_helper(obj2
);
24767 if (arg3
== NULL
) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 Py_INCREF(Py_None
); resultobj
= Py_None
;
24792 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24797 PyObject
* obj0
= 0 ;
24798 PyObject
* obj1
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self",(char *) "item", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24805 if (SWIG_arg_fail(1)) SWIG_fail
;
24807 arg2
= (long)(SWIG_As_long(obj1
));
24808 if (SWIG_arg_fail(2)) SWIG_fail
;
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= SWIG_From_long((long)(result
));
24826 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
;
24828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24832 PyObject
* obj0
= 0 ;
24833 PyObject
* obj1
= 0 ;
24834 PyObject
* obj2
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self",(char *) "item",(char *) "data", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 arg2
= (long)(SWIG_As_long(obj1
));
24844 if (SWIG_arg_fail(2)) SWIG_fail
;
24847 arg3
= (long)(SWIG_As_long(obj2
));
24848 if (SWIG_arg_fail(3)) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24866 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
;
24868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 PyObject
* obj1
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self",(char *) "item", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24879 if (SWIG_arg_fail(1)) SWIG_fail
;
24881 arg2
= (long)(SWIG_As_long(obj1
));
24882 if (SWIG_arg_fail(2)) SWIG_fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24892 wxPoint
* resultptr
;
24893 resultptr
= new wxPoint((wxPoint
&)(result
));
24894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24902 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
;
24904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24906 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 PyObject
* obj2
= 0 ;
24911 char *kwnames
[] = {
24912 (char *) "self",(char *) "item",(char *) "code", NULL
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24917 if (SWIG_arg_fail(1)) SWIG_fail
;
24919 arg2
= (long)(SWIG_As_long(obj1
));
24920 if (SWIG_arg_fail(2)) SWIG_fail
;
24924 arg3
= (int)(SWIG_As_int(obj2
));
24925 if (SWIG_arg_fail(3)) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24936 wxRect
* resultptr
;
24937 resultptr
= new wxRect((wxRect
&)(result
));
24938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24946 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24950 wxPoint
*arg3
= 0 ;
24953 PyObject
* obj0
= 0 ;
24954 PyObject
* obj1
= 0 ;
24955 PyObject
* obj2
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self",(char *) "item",(char *) "pos", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24962 if (SWIG_arg_fail(1)) SWIG_fail
;
24964 arg2
= (long)(SWIG_As_long(obj1
));
24965 if (SWIG_arg_fail(2)) SWIG_fail
;
24969 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24987 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
;
24989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24991 PyObject
* obj0
= 0 ;
24992 char *kwnames
[] = {
24993 (char *) "self", NULL
24996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24998 if (SWIG_arg_fail(1)) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= SWIG_From_int((int)(result
));
25015 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25019 PyObject
* obj0
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
25025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= SWIG_From_int((int)(result
));
25043 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
25053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25063 wxSize
* resultptr
;
25064 resultptr
= new wxSize((wxSize
&)(result
));
25065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25073 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25077 PyObject
* obj0
= 0 ;
25078 char *kwnames
[] = {
25079 (char *) "self", NULL
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25084 if (SWIG_arg_fail(1)) SWIG_fail
;
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25093 resultobj
= SWIG_From_int((int)(result
));
25101 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25105 PyObject
* obj0
= 0 ;
25106 char *kwnames
[] = {
25107 (char *) "self", NULL
25110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25112 if (SWIG_arg_fail(1)) SWIG_fail
;
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25115 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25121 wxColour
* resultptr
;
25122 resultptr
= new wxColour((wxColour
&)(result
));
25123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25131 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
;
25133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25134 wxColour
*arg2
= 0 ;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self",(char *) "col", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail
;
25147 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 Py_INCREF(Py_None
); resultobj
= Py_None
;
25163 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25167 PyObject
* obj0
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25174 if (SWIG_arg_fail(1)) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25183 resultobj
= SWIG_From_long((long)(result
));
25191 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25195 bool arg3
= (bool) true ;
25196 PyObject
* obj0
= 0 ;
25197 PyObject
* obj1
= 0 ;
25198 PyObject
* obj2
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "self",(char *) "style",(char *) "add", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25205 if (SWIG_arg_fail(1)) SWIG_fail
;
25207 arg2
= (long)(SWIG_As_long(obj1
));
25208 if (SWIG_arg_fail(2)) SWIG_fail
;
25212 arg3
= (bool)(SWIG_As_bool(obj2
));
25213 if (SWIG_arg_fail(3)) SWIG_fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 (arg1
)->SetSingleStyle(arg2
,arg3
);
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 Py_INCREF(Py_None
); resultobj
= Py_None
;
25230 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self",(char *) "style", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25242 if (SWIG_arg_fail(1)) SWIG_fail
;
25244 arg2
= (long)(SWIG_As_long(obj1
));
25245 if (SWIG_arg_fail(2)) SWIG_fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 (arg1
)->SetWindowStyleFlag(arg2
);
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 Py_INCREF(Py_None
); resultobj
= Py_None
;
25261 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25265 int arg3
= (int) wxLIST_NEXT_ALL
;
25266 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25268 PyObject
* obj0
= 0 ;
25269 PyObject
* obj1
= 0 ;
25270 PyObject
* obj2
= 0 ;
25271 PyObject
* obj3
= 0 ;
25272 char *kwnames
[] = {
25273 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25278 if (SWIG_arg_fail(1)) SWIG_fail
;
25280 arg2
= (long)(SWIG_As_long(obj1
));
25281 if (SWIG_arg_fail(2)) SWIG_fail
;
25285 arg3
= (int)(SWIG_As_int(obj2
));
25286 if (SWIG_arg_fail(3)) SWIG_fail
;
25291 arg4
= (int)(SWIG_As_int(obj3
));
25292 if (SWIG_arg_fail(4)) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= SWIG_From_long((long)(result
));
25311 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25315 wxImageList
*result
;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self",(char *) "which", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25324 if (SWIG_arg_fail(1)) SWIG_fail
;
25326 arg2
= (int)(SWIG_As_int(obj1
));
25327 if (SWIG_arg_fail(2)) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25337 resultobj
= wxPyMake_wxObject(result
, 0);
25345 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
;
25347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25348 wxImageList
*arg2
= (wxImageList
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 PyObject
* obj1
= 0 ;
25352 PyObject
* obj2
= 0 ;
25353 char *kwnames
[] = {
25354 (char *) "self",(char *) "imageList",(char *) "which", NULL
25357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25359 if (SWIG_arg_fail(1)) SWIG_fail
;
25360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25361 if (SWIG_arg_fail(2)) SWIG_fail
;
25363 arg3
= (int)(SWIG_As_int(obj2
));
25364 if (SWIG_arg_fail(3)) SWIG_fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 (arg1
)->SetImageList(arg2
,arg3
);
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25373 Py_INCREF(Py_None
); resultobj
= Py_None
;
25380 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25383 wxImageList
*arg2
= (wxImageList
*) 0 ;
25385 PyObject
* obj0
= 0 ;
25386 PyObject
* obj1
= 0 ;
25387 PyObject
* obj2
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self",(char *) "imageList",(char *) "which", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25394 if (SWIG_arg_fail(1)) SWIG_fail
;
25395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25396 if (SWIG_arg_fail(2)) SWIG_fail
;
25398 arg3
= (int)(SWIG_As_int(obj2
));
25399 if (SWIG_arg_fail(3)) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 (arg1
)->AssignImageList(arg2
,arg3
);
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 Py_INCREF(Py_None
); resultobj
= Py_None
;
25415 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
;
25417 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25419 PyObject
* obj0
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25426 if (SWIG_arg_fail(1)) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25443 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
;
25445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25447 PyObject
* obj0
= 0 ;
25448 char *kwnames
[] = {
25449 (char *) "self", NULL
25452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25454 if (SWIG_arg_fail(1)) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25471 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25475 PyObject
* obj0
= 0 ;
25476 PyObject
* obj1
= 0 ;
25477 char *kwnames
[] = {
25478 (char *) "self",(char *) "item", NULL
25481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25483 if (SWIG_arg_fail(1)) SWIG_fail
;
25485 arg2
= (long)(SWIG_As_long(obj1
));
25486 if (SWIG_arg_fail(2)) SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 (arg1
)->RefreshItem(arg2
);
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25495 Py_INCREF(Py_None
); resultobj
= Py_None
;
25502 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25503 PyObject
*resultobj
;
25504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25507 PyObject
* obj0
= 0 ;
25508 PyObject
* obj1
= 0 ;
25509 PyObject
* obj2
= 0 ;
25510 char *kwnames
[] = {
25511 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25516 if (SWIG_arg_fail(1)) SWIG_fail
;
25518 arg2
= (long)(SWIG_As_long(obj1
));
25519 if (SWIG_arg_fail(2)) SWIG_fail
;
25522 arg3
= (long)(SWIG_As_long(obj2
));
25523 if (SWIG_arg_fail(3)) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 (arg1
)->RefreshItems(arg2
,arg3
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 Py_INCREF(Py_None
); resultobj
= Py_None
;
25539 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25542 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25544 PyObject
* obj0
= 0 ;
25545 PyObject
* obj1
= 0 ;
25546 char *kwnames
[] = {
25547 (char *) "self",(char *) "flag", NULL
25550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25552 if (SWIG_arg_fail(1)) SWIG_fail
;
25555 arg2
= (int)(SWIG_As_int(obj1
));
25556 if (SWIG_arg_fail(2)) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (bool)(arg1
)->Arrange(arg2
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25575 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25580 PyObject
* obj0
= 0 ;
25581 PyObject
* obj1
= 0 ;
25582 char *kwnames
[] = {
25583 (char *) "self",(char *) "item", NULL
25586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25588 if (SWIG_arg_fail(1)) SWIG_fail
;
25590 arg2
= (long)(SWIG_As_long(obj1
));
25591 if (SWIG_arg_fail(2)) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (bool)(arg1
)->DeleteItem(arg2
);
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25609 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
;
25611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25613 PyObject
* obj0
= 0 ;
25614 char *kwnames
[] = {
25615 (char *) "self", NULL
25618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25620 if (SWIG_arg_fail(1)) SWIG_fail
;
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= (bool)(arg1
)->DeleteAllItems();
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25637 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
;
25639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 char *kwnames
[] = {
25645 (char *) "self",(char *) "col", NULL
25648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25650 if (SWIG_arg_fail(1)) SWIG_fail
;
25652 arg2
= (int)(SWIG_As_int(obj1
));
25653 if (SWIG_arg_fail(2)) SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25671 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25675 PyObject
* obj0
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25682 if (SWIG_arg_fail(1)) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (bool)(arg1
)->DeleteAllColumns();
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25699 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25702 PyObject
* obj0
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25709 if (SWIG_arg_fail(1)) SWIG_fail
;
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 (arg1
)->ClearAll();
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 Py_INCREF(Py_None
); resultobj
= Py_None
;
25724 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25728 wxTextCtrl
*result
;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 char *kwnames
[] = {
25732 (char *) "self",(char *) "item", NULL
25735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25737 if (SWIG_arg_fail(1)) SWIG_fail
;
25739 arg2
= (long)(SWIG_As_long(obj1
));
25740 if (SWIG_arg_fail(2)) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= wxPyMake_wxObject(result
, 0);
25758 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25763 PyObject
* obj0
= 0 ;
25764 PyObject
* obj1
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self",(char *) "cancel", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25771 if (SWIG_arg_fail(1)) SWIG_fail
;
25773 arg2
= (bool)(SWIG_As_bool(obj1
));
25774 if (SWIG_arg_fail(2)) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= (bool)(arg1
)->EndEditLabel(arg2
);
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25792 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 char *kwnames
[] = {
25800 (char *) "self",(char *) "item", NULL
25803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25805 if (SWIG_arg_fail(1)) SWIG_fail
;
25807 arg2
= (long)(SWIG_As_long(obj1
));
25808 if (SWIG_arg_fail(2)) SWIG_fail
;
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25826 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25830 wxString
*arg3
= 0 ;
25831 bool arg4
= (bool) false ;
25833 bool temp3
= false ;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 PyObject
* obj2
= 0 ;
25837 PyObject
* obj3
= 0 ;
25838 char *kwnames
[] = {
25839 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25844 if (SWIG_arg_fail(1)) SWIG_fail
;
25846 arg2
= (long)(SWIG_As_long(obj1
));
25847 if (SWIG_arg_fail(2)) SWIG_fail
;
25850 arg3
= wxString_in_helper(obj2
);
25851 if (arg3
== NULL
) SWIG_fail
;
25856 arg4
= (bool)(SWIG_As_bool(obj3
));
25857 if (SWIG_arg_fail(4)) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_From_long((long)(result
));
25884 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 PyObject
* obj2
= 0 ;
25893 char *kwnames
[] = {
25894 (char *) "self",(char *) "start",(char *) "data", NULL
25897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25899 if (SWIG_arg_fail(1)) SWIG_fail
;
25901 arg2
= (long)(SWIG_As_long(obj1
));
25902 if (SWIG_arg_fail(2)) SWIG_fail
;
25905 arg3
= (long)(SWIG_As_long(obj2
));
25906 if (SWIG_arg_fail(3)) SWIG_fail
;
25909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25910 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= SWIG_From_long((long)(result
));
25924 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
;
25926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25928 wxPoint
*arg3
= 0 ;
25932 PyObject
* obj0
= 0 ;
25933 PyObject
* obj1
= 0 ;
25934 PyObject
* obj2
= 0 ;
25935 PyObject
* obj3
= 0 ;
25936 char *kwnames
[] = {
25937 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25942 if (SWIG_arg_fail(1)) SWIG_fail
;
25944 arg2
= (long)(SWIG_As_long(obj1
));
25945 if (SWIG_arg_fail(2)) SWIG_fail
;
25949 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25952 arg4
= (int)(SWIG_As_int(obj3
));
25953 if (SWIG_arg_fail(4)) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= SWIG_From_long((long)(result
));
25971 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
;
25973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25974 wxPoint
*arg2
= 0 ;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 char *kwnames
[] = {
25983 (char *) "self",(char *) "point", NULL
25986 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25989 if (SWIG_arg_fail(1)) SWIG_fail
;
25992 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25996 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_From_long((long)(result
));
26004 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26005 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26012 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26015 wxListItem
*arg2
= 0 ;
26017 PyObject
* obj0
= 0 ;
26018 PyObject
* obj1
= 0 ;
26019 char *kwnames
[] = {
26020 (char *) "self",(char *) "info", NULL
26023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26025 if (SWIG_arg_fail(1)) SWIG_fail
;
26027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26028 if (SWIG_arg_fail(2)) SWIG_fail
;
26029 if (arg2
== NULL
) {
26030 SWIG_null_ref("wxListItem");
26032 if (SWIG_arg_fail(2)) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 result
= (long)(arg1
)->InsertItem(*arg2
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26042 resultobj
= SWIG_From_long((long)(result
));
26050 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26054 wxString
*arg3
= 0 ;
26056 bool temp3
= false ;
26057 PyObject
* obj0
= 0 ;
26058 PyObject
* obj1
= 0 ;
26059 PyObject
* obj2
= 0 ;
26060 char *kwnames
[] = {
26061 (char *) "self",(char *) "index",(char *) "label", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26066 if (SWIG_arg_fail(1)) SWIG_fail
;
26068 arg2
= (long)(SWIG_As_long(obj1
));
26069 if (SWIG_arg_fail(2)) SWIG_fail
;
26072 arg3
= wxString_in_helper(obj2
);
26073 if (arg3
== NULL
) SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= SWIG_From_long((long)(result
));
26100 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26106 PyObject
* obj0
= 0 ;
26107 PyObject
* obj1
= 0 ;
26108 PyObject
* obj2
= 0 ;
26109 char *kwnames
[] = {
26110 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26115 if (SWIG_arg_fail(1)) SWIG_fail
;
26117 arg2
= (long)(SWIG_As_long(obj1
));
26118 if (SWIG_arg_fail(2)) SWIG_fail
;
26121 arg3
= (int)(SWIG_As_int(obj2
));
26122 if (SWIG_arg_fail(3)) SWIG_fail
;
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= SWIG_From_long((long)(result
));
26140 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
;
26142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26144 wxString
*arg3
= 0 ;
26147 bool temp3
= false ;
26148 PyObject
* obj0
= 0 ;
26149 PyObject
* obj1
= 0 ;
26150 PyObject
* obj2
= 0 ;
26151 PyObject
* obj3
= 0 ;
26152 char *kwnames
[] = {
26153 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26158 if (SWIG_arg_fail(1)) SWIG_fail
;
26160 arg2
= (long)(SWIG_As_long(obj1
));
26161 if (SWIG_arg_fail(2)) SWIG_fail
;
26164 arg3
= wxString_in_helper(obj2
);
26165 if (arg3
== NULL
) SWIG_fail
;
26169 arg4
= (int)(SWIG_As_int(obj3
));
26170 if (SWIG_arg_fail(4)) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26180 resultobj
= SWIG_From_long((long)(result
));
26196 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
;
26198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26200 wxListItem
*arg3
= 0 ;
26202 PyObject
* obj0
= 0 ;
26203 PyObject
* obj1
= 0 ;
26204 PyObject
* obj2
= 0 ;
26205 char *kwnames
[] = {
26206 (char *) "self",(char *) "col",(char *) "info", NULL
26209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26211 if (SWIG_arg_fail(1)) SWIG_fail
;
26213 arg2
= (long)(SWIG_As_long(obj1
));
26214 if (SWIG_arg_fail(2)) SWIG_fail
;
26217 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26218 if (SWIG_arg_fail(3)) SWIG_fail
;
26219 if (arg3
== NULL
) {
26220 SWIG_null_ref("wxListItem");
26222 if (SWIG_arg_fail(3)) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= SWIG_From_long((long)(result
));
26240 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
;
26242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26244 wxString
*arg3
= 0 ;
26245 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26246 int arg5
= (int) -1 ;
26248 bool temp3
= false ;
26249 PyObject
* obj0
= 0 ;
26250 PyObject
* obj1
= 0 ;
26251 PyObject
* obj2
= 0 ;
26252 PyObject
* obj3
= 0 ;
26253 PyObject
* obj4
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26260 if (SWIG_arg_fail(1)) SWIG_fail
;
26262 arg2
= (long)(SWIG_As_long(obj1
));
26263 if (SWIG_arg_fail(2)) SWIG_fail
;
26266 arg3
= wxString_in_helper(obj2
);
26267 if (arg3
== NULL
) SWIG_fail
;
26272 arg4
= (int)(SWIG_As_int(obj3
));
26273 if (SWIG_arg_fail(4)) SWIG_fail
;
26278 arg5
= (int)(SWIG_As_int(obj4
));
26279 if (SWIG_arg_fail(5)) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_From_long((long)(result
));
26306 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self",(char *) "count", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26318 if (SWIG_arg_fail(1)) SWIG_fail
;
26320 arg2
= (long)(SWIG_As_long(obj1
));
26321 if (SWIG_arg_fail(2)) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 (arg1
)->SetItemCount(arg2
);
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 Py_INCREF(Py_None
); resultobj
= Py_None
;
26337 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
;
26339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26343 PyObject
* obj0
= 0 ;
26344 PyObject
* obj1
= 0 ;
26345 PyObject
* obj2
= 0 ;
26346 char *kwnames
[] = {
26347 (char *) "self",(char *) "dx",(char *) "dy", NULL
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26352 if (SWIG_arg_fail(1)) SWIG_fail
;
26354 arg2
= (int)(SWIG_As_int(obj1
));
26355 if (SWIG_arg_fail(2)) SWIG_fail
;
26358 arg3
= (int)(SWIG_As_int(obj2
));
26359 if (SWIG_arg_fail(3)) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26377 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26378 PyObject
*resultobj
;
26379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26381 wxColour
*arg3
= 0 ;
26383 PyObject
* obj0
= 0 ;
26384 PyObject
* obj1
= 0 ;
26385 PyObject
* obj2
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self",(char *) "item",(char *) "col", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26392 if (SWIG_arg_fail(1)) SWIG_fail
;
26394 arg2
= (long)(SWIG_As_long(obj1
));
26395 if (SWIG_arg_fail(2)) SWIG_fail
;
26399 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 Py_INCREF(Py_None
); resultobj
= Py_None
;
26415 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26417 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self",(char *) "item", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26428 if (SWIG_arg_fail(1)) SWIG_fail
;
26430 arg2
= (long)(SWIG_As_long(obj1
));
26431 if (SWIG_arg_fail(2)) SWIG_fail
;
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26441 wxColour
* resultptr
;
26442 resultptr
= new wxColour((wxColour
&)(result
));
26443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26451 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26455 wxColour
*arg3
= 0 ;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 PyObject
* obj2
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self",(char *) "item",(char *) "col", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26466 if (SWIG_arg_fail(1)) SWIG_fail
;
26468 arg2
= (long)(SWIG_As_long(obj1
));
26469 if (SWIG_arg_fail(2)) SWIG_fail
;
26473 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 Py_INCREF(Py_None
); resultobj
= Py_None
;
26489 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26494 PyObject
* obj0
= 0 ;
26495 PyObject
* obj1
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "self",(char *) "item", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26502 if (SWIG_arg_fail(1)) SWIG_fail
;
26504 arg2
= (long)(SWIG_As_long(obj1
));
26505 if (SWIG_arg_fail(2)) SWIG_fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26515 wxColour
* resultptr
;
26516 resultptr
= new wxColour((wxColour
&)(result
));
26517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26525 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
;
26527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26528 PyObject
*arg2
= (PyObject
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self",(char *) "func", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail
;
26541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26556 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
;
26558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26567 if (SWIG_arg_fail(1)) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26576 resultobj
= wxPyMake_wxObject(result
, 0);
26584 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26585 PyObject
*resultobj
;
26586 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26587 wxVisualAttributes result
;
26588 PyObject
* obj0
= 0 ;
26589 char *kwnames
[] = {
26590 (char *) "variant", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26596 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26597 if (SWIG_arg_fail(1)) SWIG_fail
;
26601 if (!wxPyCheckForApp()) SWIG_fail
;
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26603 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26609 wxVisualAttributes
* resultptr
;
26610 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26619 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26622 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26624 return Py_BuildValue((char *)"");
26626 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26627 PyObject
*resultobj
;
26628 wxWindow
*arg1
= (wxWindow
*) 0 ;
26629 int arg2
= (int) -1 ;
26630 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26631 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26632 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26633 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26634 long arg5
= (long) wxLC_REPORT
;
26635 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26636 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26637 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26638 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26639 wxListView
*result
;
26642 bool temp7
= false ;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 PyObject
* obj2
= 0 ;
26646 PyObject
* obj3
= 0 ;
26647 PyObject
* obj4
= 0 ;
26648 PyObject
* obj5
= 0 ;
26649 PyObject
* obj6
= 0 ;
26650 char *kwnames
[] = {
26651 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26656 if (SWIG_arg_fail(1)) SWIG_fail
;
26659 arg2
= (int)(SWIG_As_int(obj1
));
26660 if (SWIG_arg_fail(2)) SWIG_fail
;
26666 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26672 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26677 arg5
= (long)(SWIG_As_long(obj4
));
26678 if (SWIG_arg_fail(5)) SWIG_fail
;
26683 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26684 if (SWIG_arg_fail(6)) SWIG_fail
;
26685 if (arg6
== NULL
) {
26686 SWIG_null_ref("wxValidator");
26688 if (SWIG_arg_fail(6)) SWIG_fail
;
26693 arg7
= wxString_in_helper(obj6
);
26694 if (arg7
== NULL
) SWIG_fail
;
26699 if (!wxPyCheckForApp()) SWIG_fail
;
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26721 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxListView
*result
;
26724 char *kwnames
[] = {
26728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26730 if (!wxPyCheckForApp()) SWIG_fail
;
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 result
= (wxListView
*)new wxListView();
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26744 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26745 PyObject
*resultobj
;
26746 wxListView
*arg1
= (wxListView
*) 0 ;
26747 wxWindow
*arg2
= (wxWindow
*) 0 ;
26748 int arg3
= (int) -1 ;
26749 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26750 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26751 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26752 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26753 long arg6
= (long) wxLC_REPORT
;
26754 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26755 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26756 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26757 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26761 bool temp8
= false ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 PyObject
* obj2
= 0 ;
26765 PyObject
* obj3
= 0 ;
26766 PyObject
* obj4
= 0 ;
26767 PyObject
* obj5
= 0 ;
26768 PyObject
* obj6
= 0 ;
26769 PyObject
* obj7
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26776 if (SWIG_arg_fail(1)) SWIG_fail
;
26777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26778 if (SWIG_arg_fail(2)) SWIG_fail
;
26781 arg3
= (int)(SWIG_As_int(obj2
));
26782 if (SWIG_arg_fail(3)) SWIG_fail
;
26788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26794 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26799 arg6
= (long)(SWIG_As_long(obj5
));
26800 if (SWIG_arg_fail(6)) SWIG_fail
;
26805 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26806 if (SWIG_arg_fail(7)) SWIG_fail
;
26807 if (arg7
== NULL
) {
26808 SWIG_null_ref("wxValidator");
26810 if (SWIG_arg_fail(7)) SWIG_fail
;
26815 arg8
= wxString_in_helper(obj7
);
26816 if (arg8
== NULL
) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26844 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
;
26846 wxListView
*arg1
= (wxListView
*) 0 ;
26848 bool arg3
= (bool) true ;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 PyObject
* obj2
= 0 ;
26852 char *kwnames
[] = {
26853 (char *) "self",(char *) "n",(char *) "on", NULL
26856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26858 if (SWIG_arg_fail(1)) SWIG_fail
;
26860 arg2
= (long)(SWIG_As_long(obj1
));
26861 if (SWIG_arg_fail(2)) SWIG_fail
;
26865 arg3
= (bool)(SWIG_As_bool(obj2
));
26866 if (SWIG_arg_fail(3)) SWIG_fail
;
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 (arg1
)->Select(arg2
,arg3
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 Py_INCREF(Py_None
); resultobj
= Py_None
;
26883 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
;
26885 wxListView
*arg1
= (wxListView
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 char *kwnames
[] = {
26890 (char *) "self",(char *) "index", NULL
26893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26895 if (SWIG_arg_fail(1)) SWIG_fail
;
26897 arg2
= (long)(SWIG_As_long(obj1
));
26898 if (SWIG_arg_fail(2)) SWIG_fail
;
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 (arg1
)->Focus(arg2
);
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26907 Py_INCREF(Py_None
); resultobj
= Py_None
;
26914 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxListView
*arg1
= (wxListView
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 char *kwnames
[] = {
26920 (char *) "self", NULL
26923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26925 if (SWIG_arg_fail(1)) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= SWIG_From_long((long)(result
));
26942 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
;
26944 wxListView
*arg1
= (wxListView
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "item", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26955 if (SWIG_arg_fail(1)) SWIG_fail
;
26957 arg2
= (long)(SWIG_As_long(obj1
));
26958 if (SWIG_arg_fail(2)) SWIG_fail
;
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_From_long((long)(result
));
26976 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
;
26978 wxListView
*arg1
= (wxListView
*) 0 ;
26980 PyObject
* obj0
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26987 if (SWIG_arg_fail(1)) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= SWIG_From_long((long)(result
));
27004 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxListView
*arg1
= (wxListView
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self",(char *) "index", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
27016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27017 if (SWIG_arg_fail(1)) SWIG_fail
;
27019 arg2
= (long)(SWIG_As_long(obj1
));
27020 if (SWIG_arg_fail(2)) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= (bool)(arg1
)->IsSelected(arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27038 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
;
27040 wxListView
*arg1
= (wxListView
*) 0 ;
27043 PyObject
* obj0
= 0 ;
27044 PyObject
* obj1
= 0 ;
27045 PyObject
* obj2
= 0 ;
27046 char *kwnames
[] = {
27047 (char *) "self",(char *) "col",(char *) "image", NULL
27050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27052 if (SWIG_arg_fail(1)) SWIG_fail
;
27054 arg2
= (int)(SWIG_As_int(obj1
));
27055 if (SWIG_arg_fail(2)) SWIG_fail
;
27058 arg3
= (int)(SWIG_As_int(obj2
));
27059 if (SWIG_arg_fail(3)) SWIG_fail
;
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 (arg1
)->SetColumnImage(arg2
,arg3
);
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27068 Py_INCREF(Py_None
); resultobj
= Py_None
;
27075 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
;
27077 wxListView
*arg1
= (wxListView
*) 0 ;
27079 PyObject
* obj0
= 0 ;
27080 PyObject
* obj1
= 0 ;
27081 char *kwnames
[] = {
27082 (char *) "self",(char *) "col", NULL
27085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27087 if (SWIG_arg_fail(1)) SWIG_fail
;
27089 arg2
= (int)(SWIG_As_int(obj1
));
27090 if (SWIG_arg_fail(2)) SWIG_fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 (arg1
)->ClearColumnImage(arg2
);
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27099 Py_INCREF(Py_None
); resultobj
= Py_None
;
27106 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27109 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27111 return Py_BuildValue((char *)"");
27113 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27114 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27119 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27124 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27126 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27133 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
;
27135 wxTreeItemId
*result
;
27136 char *kwnames
[] = {
27140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 result
= (wxTreeItemId
*)new wxTreeItemId();
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27155 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27156 PyObject
*resultobj
;
27157 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27158 PyObject
* obj0
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27165 if (SWIG_arg_fail(1)) SWIG_fail
;
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 Py_INCREF(Py_None
); resultobj
= Py_None
;
27180 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27184 PyObject
* obj0
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27191 if (SWIG_arg_fail(1)) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27208 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27211 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 char *kwnames
[] = {
27216 (char *) "self",(char *) "other", NULL
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail
;
27222 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27223 if (SWIG_arg_fail(2)) SWIG_fail
;
27225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27226 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27228 wxPyEndAllowThreads(__tstate
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27240 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
;
27242 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27243 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 char *kwnames
[] = {
27248 (char *) "self",(char *) "other", NULL
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail
;
27254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27255 if (SWIG_arg_fail(2)) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27272 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27273 PyObject
*resultobj
;
27274 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27275 void *arg2
= (void *) 0 ;
27276 PyObject
* obj0
= 0 ;
27277 PyObject
* obj1
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self",(char *) "m_pItem", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27284 if (SWIG_arg_fail(1)) SWIG_fail
;
27286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27287 SWIG_arg_fail(2);SWIG_fail
;
27290 if (arg1
) (arg1
)->m_pItem
= arg2
;
27292 Py_INCREF(Py_None
); resultobj
= Py_None
;
27299 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27300 PyObject
*resultobj
;
27301 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27303 PyObject
* obj0
= 0 ;
27304 char *kwnames
[] = {
27305 (char *) "self", NULL
27308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27310 if (SWIG_arg_fail(1)) SWIG_fail
;
27311 result
= (void *) ((arg1
)->m_pItem
);
27313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27320 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27323 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27325 return Py_BuildValue((char *)"");
27327 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
;
27329 PyObject
*arg1
= (PyObject
*) NULL
;
27330 wxPyTreeItemData
*result
;
27331 PyObject
* obj0
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "obj", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27344 wxPyEndAllowThreads(__tstate
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27354 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
;
27356 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27358 PyObject
* obj0
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "self", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27365 if (SWIG_arg_fail(1)) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 result
= (PyObject
*)(arg1
)->GetData();
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= result
;
27380 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27381 PyObject
*resultobj
;
27382 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27383 PyObject
*arg2
= (PyObject
*) 0 ;
27384 PyObject
* obj0
= 0 ;
27385 PyObject
* obj1
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "self",(char *) "obj", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 (arg1
)->SetData(arg2
);
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 Py_INCREF(Py_None
); resultobj
= Py_None
;
27408 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27409 PyObject
*resultobj
;
27410 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27411 wxTreeItemId
*result
;
27412 PyObject
* obj0
= 0 ;
27413 char *kwnames
[] = {
27414 (char *) "self", NULL
27417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27419 if (SWIG_arg_fail(1)) SWIG_fail
;
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27424 result
= (wxTreeItemId
*) &_result_ref
;
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27437 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27440 wxTreeItemId
*arg2
= 0 ;
27441 PyObject
* obj0
= 0 ;
27442 PyObject
* obj1
= 0 ;
27443 char *kwnames
[] = {
27444 (char *) "self",(char *) "id", NULL
27447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27449 if (SWIG_arg_fail(1)) SWIG_fail
;
27451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27452 if (SWIG_arg_fail(2)) SWIG_fail
;
27453 if (arg2
== NULL
) {
27454 SWIG_null_ref("wxTreeItemId");
27456 if (SWIG_arg_fail(2)) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 Py_INCREF(Py_None
); resultobj
= Py_None
;
27472 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27475 PyObject
* obj0
= 0 ;
27476 char *kwnames
[] = {
27477 (char *) "self", NULL
27480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27482 if (SWIG_arg_fail(1)) SWIG_fail
;
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27485 wxPyTreeItemData_Destroy(arg1
);
27487 wxPyEndAllowThreads(__tstate
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27490 Py_INCREF(Py_None
); resultobj
= Py_None
;
27497 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27500 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27502 return Py_BuildValue((char *)"");
27504 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
;
27506 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27507 int arg2
= (int) 0 ;
27508 wxTreeEvent
*result
;
27509 PyObject
* obj0
= 0 ;
27510 PyObject
* obj1
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "commandType",(char *) "id", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27518 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27519 if (SWIG_arg_fail(1)) SWIG_fail
;
27524 arg2
= (int)(SWIG_As_int(obj1
));
27525 if (SWIG_arg_fail(2)) SWIG_fail
;
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27530 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27542 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
;
27544 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27545 wxTreeItemId result
;
27546 PyObject
* obj0
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "self", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27553 if (SWIG_arg_fail(1)) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27562 wxTreeItemId
* resultptr
;
27563 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27572 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
;
27574 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27575 wxTreeItemId
*arg2
= 0 ;
27576 PyObject
* obj0
= 0 ;
27577 PyObject
* obj1
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self",(char *) "item", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27584 if (SWIG_arg_fail(1)) SWIG_fail
;
27586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27587 if (SWIG_arg_fail(2)) SWIG_fail
;
27588 if (arg2
== NULL
) {
27589 SWIG_null_ref("wxTreeItemId");
27591 if (SWIG_arg_fail(2)) SWIG_fail
;
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27600 Py_INCREF(Py_None
); resultobj
= Py_None
;
27607 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
;
27609 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27610 wxTreeItemId result
;
27611 PyObject
* obj0
= 0 ;
27612 char *kwnames
[] = {
27613 (char *) "self", NULL
27616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27618 if (SWIG_arg_fail(1)) SWIG_fail
;
27620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27627 wxTreeItemId
* resultptr
;
27628 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27637 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27638 PyObject
*resultobj
;
27639 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27640 wxTreeItemId
*arg2
= 0 ;
27641 PyObject
* obj0
= 0 ;
27642 PyObject
* obj1
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self",(char *) "item", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27649 if (SWIG_arg_fail(1)) SWIG_fail
;
27651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27652 if (SWIG_arg_fail(2)) SWIG_fail
;
27653 if (arg2
== NULL
) {
27654 SWIG_null_ref("wxTreeItemId");
27656 if (SWIG_arg_fail(2)) SWIG_fail
;
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 Py_INCREF(Py_None
); resultobj
= Py_None
;
27672 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27676 PyObject
* obj0
= 0 ;
27677 char *kwnames
[] = {
27678 (char *) "self", NULL
27681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27683 if (SWIG_arg_fail(1)) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27692 wxPoint
* resultptr
;
27693 resultptr
= new wxPoint((wxPoint
&)(result
));
27694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27702 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
;
27704 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27705 wxPoint
*arg2
= 0 ;
27707 PyObject
* obj0
= 0 ;
27708 PyObject
* obj1
= 0 ;
27709 char *kwnames
[] = {
27710 (char *) "self",(char *) "pt", NULL
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27715 if (SWIG_arg_fail(1)) SWIG_fail
;
27718 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 Py_INCREF(Py_None
); resultobj
= Py_None
;
27734 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27737 wxKeyEvent
*result
;
27738 PyObject
* obj0
= 0 ;
27739 char *kwnames
[] = {
27740 (char *) "self", NULL
27743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27745 if (SWIG_arg_fail(1)) SWIG_fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27750 result
= (wxKeyEvent
*) &_result_ref
;
27753 wxPyEndAllowThreads(__tstate
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27763 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
;
27765 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27767 PyObject
* obj0
= 0 ;
27768 char *kwnames
[] = {
27769 (char *) "self", NULL
27772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27774 if (SWIG_arg_fail(1)) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27783 resultobj
= SWIG_From_int((int)(result
));
27791 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
;
27793 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27794 wxKeyEvent
*arg2
= 0 ;
27795 PyObject
* obj0
= 0 ;
27796 PyObject
* obj1
= 0 ;
27797 char *kwnames
[] = {
27798 (char *) "self",(char *) "evt", NULL
27801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27803 if (SWIG_arg_fail(1)) SWIG_fail
;
27805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27806 if (SWIG_arg_fail(2)) SWIG_fail
;
27807 if (arg2
== NULL
) {
27808 SWIG_null_ref("wxKeyEvent");
27810 if (SWIG_arg_fail(2)) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 Py_INCREF(Py_None
); resultobj
= Py_None
;
27826 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27830 PyObject
* obj0
= 0 ;
27831 char *kwnames
[] = {
27832 (char *) "self", NULL
27835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27837 if (SWIG_arg_fail(1)) SWIG_fail
;
27839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27842 result
= (wxString
*) &_result_ref
;
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27861 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27864 wxString
*arg2
= 0 ;
27865 bool temp2
= false ;
27866 PyObject
* obj0
= 0 ;
27867 PyObject
* obj1
= 0 ;
27868 char *kwnames
[] = {
27869 (char *) "self",(char *) "label", NULL
27872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27874 if (SWIG_arg_fail(1)) SWIG_fail
;
27876 arg2
= wxString_in_helper(obj1
);
27877 if (arg2
== NULL
) SWIG_fail
;
27881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27882 (arg1
)->SetLabel((wxString
const &)*arg2
);
27884 wxPyEndAllowThreads(__tstate
);
27885 if (PyErr_Occurred()) SWIG_fail
;
27887 Py_INCREF(Py_None
); resultobj
= Py_None
;
27902 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27906 PyObject
* obj0
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27913 if (SWIG_arg_fail(1)) SWIG_fail
;
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27930 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27931 PyObject
*resultobj
;
27932 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27934 PyObject
* obj0
= 0 ;
27935 PyObject
* obj1
= 0 ;
27936 char *kwnames
[] = {
27937 (char *) "self",(char *) "editCancelled", NULL
27940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27942 if (SWIG_arg_fail(1)) SWIG_fail
;
27944 arg2
= (bool)(SWIG_As_bool(obj1
));
27945 if (SWIG_arg_fail(2)) SWIG_fail
;
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 (arg1
)->SetEditCanceled(arg2
);
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 Py_INCREF(Py_None
); resultobj
= Py_None
;
27961 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27964 wxString
*arg2
= 0 ;
27965 bool temp2
= false ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27968 char *kwnames
[] = {
27969 (char *) "self",(char *) "toolTip", NULL
27972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27974 if (SWIG_arg_fail(1)) SWIG_fail
;
27976 arg2
= wxString_in_helper(obj1
);
27977 if (arg2
== NULL
) SWIG_fail
;
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27987 Py_INCREF(Py_None
); resultobj
= Py_None
;
28002 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
;
28004 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28006 PyObject
* obj0
= 0 ;
28007 char *kwnames
[] = {
28008 (char *) "self", NULL
28011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
28012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28013 if (SWIG_arg_fail(1)) SWIG_fail
;
28015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28016 result
= (arg1
)->GetToolTip();
28018 wxPyEndAllowThreads(__tstate
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28034 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
28036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28037 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
28039 return Py_BuildValue((char *)"");
28041 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28042 PyObject
*resultobj
;
28043 wxWindow
*arg1
= (wxWindow
*) 0 ;
28044 int arg2
= (int) -1 ;
28045 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28046 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28047 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28048 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28049 long arg5
= (long) wxTR_DEFAULT_STYLE
;
28050 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28051 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28052 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
28053 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28054 wxPyTreeCtrl
*result
;
28057 bool temp7
= false ;
28058 PyObject
* obj0
= 0 ;
28059 PyObject
* obj1
= 0 ;
28060 PyObject
* obj2
= 0 ;
28061 PyObject
* obj3
= 0 ;
28062 PyObject
* obj4
= 0 ;
28063 PyObject
* obj5
= 0 ;
28064 PyObject
* obj6
= 0 ;
28065 char *kwnames
[] = {
28066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28071 if (SWIG_arg_fail(1)) SWIG_fail
;
28074 arg2
= (int)(SWIG_As_int(obj1
));
28075 if (SWIG_arg_fail(2)) SWIG_fail
;
28081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28092 arg5
= (long)(SWIG_As_long(obj4
));
28093 if (SWIG_arg_fail(5)) SWIG_fail
;
28098 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28099 if (SWIG_arg_fail(6)) SWIG_fail
;
28100 if (arg6
== NULL
) {
28101 SWIG_null_ref("wxValidator");
28103 if (SWIG_arg_fail(6)) SWIG_fail
;
28108 arg7
= wxString_in_helper(obj6
);
28109 if (arg7
== NULL
) SWIG_fail
;
28114 if (!wxPyCheckForApp()) SWIG_fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28136 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
;
28138 wxPyTreeCtrl
*result
;
28139 char *kwnames
[] = {
28143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28145 if (!wxPyCheckForApp()) SWIG_fail
;
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28159 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28162 wxWindow
*arg2
= (wxWindow
*) 0 ;
28163 int arg3
= (int) -1 ;
28164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28166 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28167 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28168 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28169 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28170 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28171 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28172 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28176 bool temp8
= false ;
28177 PyObject
* obj0
= 0 ;
28178 PyObject
* obj1
= 0 ;
28179 PyObject
* obj2
= 0 ;
28180 PyObject
* obj3
= 0 ;
28181 PyObject
* obj4
= 0 ;
28182 PyObject
* obj5
= 0 ;
28183 PyObject
* obj6
= 0 ;
28184 PyObject
* obj7
= 0 ;
28185 char *kwnames
[] = {
28186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28191 if (SWIG_arg_fail(1)) SWIG_fail
;
28192 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28193 if (SWIG_arg_fail(2)) SWIG_fail
;
28196 arg3
= (int)(SWIG_As_int(obj2
));
28197 if (SWIG_arg_fail(3)) SWIG_fail
;
28203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28214 arg6
= (long)(SWIG_As_long(obj5
));
28215 if (SWIG_arg_fail(6)) SWIG_fail
;
28220 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28221 if (SWIG_arg_fail(7)) SWIG_fail
;
28222 if (arg7
== NULL
) {
28223 SWIG_null_ref("wxValidator");
28225 if (SWIG_arg_fail(7)) SWIG_fail
;
28230 arg8
= wxString_in_helper(obj7
);
28231 if (arg8
== NULL
) SWIG_fail
;
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28259 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28262 PyObject
*arg2
= (PyObject
*) 0 ;
28263 PyObject
*arg3
= (PyObject
*) 0 ;
28264 PyObject
* obj0
= 0 ;
28265 PyObject
* obj1
= 0 ;
28266 PyObject
* obj2
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self",(char *) "self",(char *) "_class", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28273 if (SWIG_arg_fail(1)) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 Py_INCREF(Py_None
); resultobj
= Py_None
;
28290 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
;
28292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28294 PyObject
* obj0
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28318 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
;
28320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28321 unsigned int result
;
28322 PyObject
* obj0
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "self", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28329 if (SWIG_arg_fail(1)) SWIG_fail
;
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28346 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
;
28348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28349 unsigned int arg2
;
28350 PyObject
* obj0
= 0 ;
28351 PyObject
* obj1
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self",(char *) "indent", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28358 if (SWIG_arg_fail(1)) SWIG_fail
;
28360 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28361 if (SWIG_arg_fail(2)) SWIG_fail
;
28364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28365 (arg1
)->SetIndent(arg2
);
28367 wxPyEndAllowThreads(__tstate
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28370 Py_INCREF(Py_None
); resultobj
= Py_None
;
28377 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28378 PyObject
*resultobj
;
28379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28380 unsigned int result
;
28381 PyObject
* obj0
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28388 if (SWIG_arg_fail(1)) SWIG_fail
;
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28405 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28408 unsigned int arg2
;
28409 PyObject
* obj0
= 0 ;
28410 PyObject
* obj1
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self",(char *) "spacing", NULL
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28417 if (SWIG_arg_fail(1)) SWIG_fail
;
28419 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28420 if (SWIG_arg_fail(2)) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 (arg1
)->SetSpacing(arg2
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 Py_INCREF(Py_None
); resultobj
= Py_None
;
28436 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28437 PyObject
*resultobj
;
28438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28439 wxImageList
*result
;
28440 PyObject
* obj0
= 0 ;
28441 char *kwnames
[] = {
28442 (char *) "self", NULL
28445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28447 if (SWIG_arg_fail(1)) SWIG_fail
;
28449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28450 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= wxPyMake_wxObject(result
, 0);
28464 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28465 PyObject
*resultobj
;
28466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28467 wxImageList
*result
;
28468 PyObject
* obj0
= 0 ;
28469 char *kwnames
[] = {
28470 (char *) "self", NULL
28473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28475 if (SWIG_arg_fail(1)) SWIG_fail
;
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= wxPyMake_wxObject(result
, 0);
28492 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
;
28494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28495 wxImageList
*arg2
= (wxImageList
*) 0 ;
28496 PyObject
* obj0
= 0 ;
28497 PyObject
* obj1
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "self",(char *) "imageList", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28504 if (SWIG_arg_fail(1)) SWIG_fail
;
28505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28506 if (SWIG_arg_fail(2)) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 (arg1
)->SetImageList(arg2
);
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 Py_INCREF(Py_None
); resultobj
= Py_None
;
28521 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
;
28523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28524 wxImageList
*arg2
= (wxImageList
*) 0 ;
28525 PyObject
* obj0
= 0 ;
28526 PyObject
* obj1
= 0 ;
28527 char *kwnames
[] = {
28528 (char *) "self",(char *) "imageList", NULL
28531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28533 if (SWIG_arg_fail(1)) SWIG_fail
;
28534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28535 if (SWIG_arg_fail(2)) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 (arg1
)->SetStateImageList(arg2
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 Py_INCREF(Py_None
); resultobj
= Py_None
;
28550 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
;
28552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28553 wxImageList
*arg2
= (wxImageList
*) 0 ;
28554 PyObject
* obj0
= 0 ;
28555 PyObject
* obj1
= 0 ;
28556 char *kwnames
[] = {
28557 (char *) "self",(char *) "imageList", NULL
28560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28562 if (SWIG_arg_fail(1)) SWIG_fail
;
28563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28564 if (SWIG_arg_fail(2)) SWIG_fail
;
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 (arg1
)->AssignImageList(arg2
);
28569 wxPyEndAllowThreads(__tstate
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28572 Py_INCREF(Py_None
); resultobj
= Py_None
;
28579 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28580 PyObject
*resultobj
;
28581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28582 wxImageList
*arg2
= (wxImageList
*) 0 ;
28583 PyObject
* obj0
= 0 ;
28584 PyObject
* obj1
= 0 ;
28585 char *kwnames
[] = {
28586 (char *) "self",(char *) "imageList", NULL
28589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28591 if (SWIG_arg_fail(1)) SWIG_fail
;
28592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28593 if (SWIG_arg_fail(2)) SWIG_fail
;
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 (arg1
)->AssignStateImageList(arg2
);
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28601 Py_INCREF(Py_None
); resultobj
= Py_None
;
28608 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28609 PyObject
*resultobj
;
28610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28611 wxTreeItemId
*arg2
= 0 ;
28613 PyObject
* obj0
= 0 ;
28614 PyObject
* obj1
= 0 ;
28615 char *kwnames
[] = {
28616 (char *) "self",(char *) "item", NULL
28619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28621 if (SWIG_arg_fail(1)) SWIG_fail
;
28623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28624 if (SWIG_arg_fail(2)) SWIG_fail
;
28625 if (arg2
== NULL
) {
28626 SWIG_null_ref("wxTreeItemId");
28628 if (SWIG_arg_fail(2)) SWIG_fail
;
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28650 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
;
28652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28653 wxTreeItemId
*arg2
= 0 ;
28654 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28656 PyObject
* obj0
= 0 ;
28657 PyObject
* obj1
= 0 ;
28658 PyObject
* obj2
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self",(char *) "item",(char *) "which", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28665 if (SWIG_arg_fail(1)) SWIG_fail
;
28667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28668 if (SWIG_arg_fail(2)) SWIG_fail
;
28669 if (arg2
== NULL
) {
28670 SWIG_null_ref("wxTreeItemId");
28672 if (SWIG_arg_fail(2)) SWIG_fail
;
28676 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28677 if (SWIG_arg_fail(3)) SWIG_fail
;
28681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28682 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28688 resultobj
= SWIG_From_int((int)(result
));
28696 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28699 wxTreeItemId
*arg2
= 0 ;
28700 wxPyTreeItemData
*result
;
28701 PyObject
* obj0
= 0 ;
28702 PyObject
* obj1
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self",(char *) "item", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail
;
28711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(2)) SWIG_fail
;
28713 if (arg2
== NULL
) {
28714 SWIG_null_ref("wxTreeItemId");
28716 if (SWIG_arg_fail(2)) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28732 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
;
28734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28735 wxTreeItemId
*arg2
= 0 ;
28737 PyObject
* obj0
= 0 ;
28738 PyObject
* obj1
= 0 ;
28739 char *kwnames
[] = {
28740 (char *) "self",(char *) "item", NULL
28743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28745 if (SWIG_arg_fail(1)) SWIG_fail
;
28747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28748 if (SWIG_arg_fail(2)) SWIG_fail
;
28749 if (arg2
== NULL
) {
28750 SWIG_null_ref("wxTreeItemId");
28752 if (SWIG_arg_fail(2)) SWIG_fail
;
28755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28758 wxPyEndAllowThreads(__tstate
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28761 resultobj
= result
;
28768 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28769 PyObject
*resultobj
;
28770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28771 wxTreeItemId
*arg2
= 0 ;
28773 PyObject
* obj0
= 0 ;
28774 PyObject
* obj1
= 0 ;
28775 char *kwnames
[] = {
28776 (char *) "self",(char *) "item", NULL
28779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28781 if (SWIG_arg_fail(1)) SWIG_fail
;
28783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28784 if (SWIG_arg_fail(2)) SWIG_fail
;
28785 if (arg2
== NULL
) {
28786 SWIG_null_ref("wxTreeItemId");
28788 if (SWIG_arg_fail(2)) SWIG_fail
;
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28798 wxColour
* resultptr
;
28799 resultptr
= new wxColour((wxColour
&)(result
));
28800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28808 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28809 PyObject
*resultobj
;
28810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28811 wxTreeItemId
*arg2
= 0 ;
28813 PyObject
* obj0
= 0 ;
28814 PyObject
* obj1
= 0 ;
28815 char *kwnames
[] = {
28816 (char *) "self",(char *) "item", NULL
28819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28821 if (SWIG_arg_fail(1)) SWIG_fail
;
28823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28824 if (SWIG_arg_fail(2)) SWIG_fail
;
28825 if (arg2
== NULL
) {
28826 SWIG_null_ref("wxTreeItemId");
28828 if (SWIG_arg_fail(2)) SWIG_fail
;
28831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28832 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28838 wxColour
* resultptr
;
28839 resultptr
= new wxColour((wxColour
&)(result
));
28840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28848 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
;
28850 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28851 wxTreeItemId
*arg2
= 0 ;
28853 PyObject
* obj0
= 0 ;
28854 PyObject
* obj1
= 0 ;
28855 char *kwnames
[] = {
28856 (char *) "self",(char *) "item", NULL
28859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28861 if (SWIG_arg_fail(1)) SWIG_fail
;
28863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28864 if (SWIG_arg_fail(2)) SWIG_fail
;
28865 if (arg2
== NULL
) {
28866 SWIG_null_ref("wxTreeItemId");
28868 if (SWIG_arg_fail(2)) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28878 wxFont
* resultptr
;
28879 resultptr
= new wxFont((wxFont
&)(result
));
28880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28888 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
;
28890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28891 wxTreeItemId
*arg2
= 0 ;
28892 wxString
*arg3
= 0 ;
28893 bool temp3
= false ;
28894 PyObject
* obj0
= 0 ;
28895 PyObject
* obj1
= 0 ;
28896 PyObject
* obj2
= 0 ;
28897 char *kwnames
[] = {
28898 (char *) "self",(char *) "item",(char *) "text", NULL
28901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28903 if (SWIG_arg_fail(1)) SWIG_fail
;
28905 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28906 if (SWIG_arg_fail(2)) SWIG_fail
;
28907 if (arg2
== NULL
) {
28908 SWIG_null_ref("wxTreeItemId");
28910 if (SWIG_arg_fail(2)) SWIG_fail
;
28913 arg3
= wxString_in_helper(obj2
);
28914 if (arg3
== NULL
) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 Py_INCREF(Py_None
); resultobj
= Py_None
;
28939 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
;
28941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28942 wxTreeItemId
*arg2
= 0 ;
28944 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28945 PyObject
* obj0
= 0 ;
28946 PyObject
* obj1
= 0 ;
28947 PyObject
* obj2
= 0 ;
28948 PyObject
* obj3
= 0 ;
28949 char *kwnames
[] = {
28950 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28955 if (SWIG_arg_fail(1)) SWIG_fail
;
28957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28958 if (SWIG_arg_fail(2)) SWIG_fail
;
28959 if (arg2
== NULL
) {
28960 SWIG_null_ref("wxTreeItemId");
28962 if (SWIG_arg_fail(2)) SWIG_fail
;
28965 arg3
= (int)(SWIG_As_int(obj2
));
28966 if (SWIG_arg_fail(3)) SWIG_fail
;
28970 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28971 if (SWIG_arg_fail(4)) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 Py_INCREF(Py_None
); resultobj
= Py_None
;
28988 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28989 PyObject
*resultobj
;
28990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28991 wxTreeItemId
*arg2
= 0 ;
28992 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28993 PyObject
* obj0
= 0 ;
28994 PyObject
* obj1
= 0 ;
28995 PyObject
* obj2
= 0 ;
28996 char *kwnames
[] = {
28997 (char *) "self",(char *) "item",(char *) "data", NULL
29000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29002 if (SWIG_arg_fail(1)) SWIG_fail
;
29004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29005 if (SWIG_arg_fail(2)) SWIG_fail
;
29006 if (arg2
== NULL
) {
29007 SWIG_null_ref("wxTreeItemId");
29009 if (SWIG_arg_fail(2)) SWIG_fail
;
29011 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29012 if (SWIG_arg_fail(3)) SWIG_fail
;
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29017 wxPyEndAllowThreads(__tstate
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 Py_INCREF(Py_None
); resultobj
= Py_None
;
29027 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29028 PyObject
*resultobj
;
29029 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29030 wxTreeItemId
*arg2
= 0 ;
29031 PyObject
*arg3
= (PyObject
*) 0 ;
29032 PyObject
* obj0
= 0 ;
29033 PyObject
* obj1
= 0 ;
29034 PyObject
* obj2
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self",(char *) "item",(char *) "obj", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29041 if (SWIG_arg_fail(1)) SWIG_fail
;
29043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29044 if (SWIG_arg_fail(2)) SWIG_fail
;
29045 if (arg2
== NULL
) {
29046 SWIG_null_ref("wxTreeItemId");
29048 if (SWIG_arg_fail(2)) SWIG_fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 Py_INCREF(Py_None
); resultobj
= Py_None
;
29065 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
;
29067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29068 wxTreeItemId
*arg2
= 0 ;
29069 bool arg3
= (bool) true ;
29070 PyObject
* obj0
= 0 ;
29071 PyObject
* obj1
= 0 ;
29072 PyObject
* obj2
= 0 ;
29073 char *kwnames
[] = {
29074 (char *) "self",(char *) "item",(char *) "has", NULL
29077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29079 if (SWIG_arg_fail(1)) SWIG_fail
;
29081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29082 if (SWIG_arg_fail(2)) SWIG_fail
;
29083 if (arg2
== NULL
) {
29084 SWIG_null_ref("wxTreeItemId");
29086 if (SWIG_arg_fail(2)) SWIG_fail
;
29090 arg3
= (bool)(SWIG_As_bool(obj2
));
29091 if (SWIG_arg_fail(3)) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 Py_INCREF(Py_None
); resultobj
= Py_None
;
29108 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29111 wxTreeItemId
*arg2
= 0 ;
29112 bool arg3
= (bool) true ;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 PyObject
* obj2
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self",(char *) "item",(char *) "bold", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29122 if (SWIG_arg_fail(1)) SWIG_fail
;
29124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29125 if (SWIG_arg_fail(2)) SWIG_fail
;
29126 if (arg2
== NULL
) {
29127 SWIG_null_ref("wxTreeItemId");
29129 if (SWIG_arg_fail(2)) SWIG_fail
;
29133 arg3
= (bool)(SWIG_As_bool(obj2
));
29134 if (SWIG_arg_fail(3)) SWIG_fail
;
29138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29139 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29144 Py_INCREF(Py_None
); resultobj
= Py_None
;
29151 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29152 PyObject
*resultobj
;
29153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29154 wxTreeItemId
*arg2
= 0 ;
29155 bool arg3
= (bool) true ;
29156 PyObject
* obj0
= 0 ;
29157 PyObject
* obj1
= 0 ;
29158 PyObject
* obj2
= 0 ;
29159 char *kwnames
[] = {
29160 (char *) "self",(char *) "item",(char *) "highlight", NULL
29163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29165 if (SWIG_arg_fail(1)) SWIG_fail
;
29167 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29168 if (SWIG_arg_fail(2)) SWIG_fail
;
29169 if (arg2
== NULL
) {
29170 SWIG_null_ref("wxTreeItemId");
29172 if (SWIG_arg_fail(2)) SWIG_fail
;
29176 arg3
= (bool)(SWIG_As_bool(obj2
));
29177 if (SWIG_arg_fail(3)) SWIG_fail
;
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 Py_INCREF(Py_None
); resultobj
= Py_None
;
29194 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
;
29196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29197 wxTreeItemId
*arg2
= 0 ;
29198 wxColour
*arg3
= 0 ;
29200 PyObject
* obj0
= 0 ;
29201 PyObject
* obj1
= 0 ;
29202 PyObject
* obj2
= 0 ;
29203 char *kwnames
[] = {
29204 (char *) "self",(char *) "item",(char *) "col", NULL
29207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29209 if (SWIG_arg_fail(1)) SWIG_fail
;
29211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29212 if (SWIG_arg_fail(2)) SWIG_fail
;
29213 if (arg2
== NULL
) {
29214 SWIG_null_ref("wxTreeItemId");
29216 if (SWIG_arg_fail(2)) SWIG_fail
;
29220 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 Py_INCREF(Py_None
); resultobj
= Py_None
;
29236 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
;
29238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29239 wxTreeItemId
*arg2
= 0 ;
29240 wxColour
*arg3
= 0 ;
29242 PyObject
* obj0
= 0 ;
29243 PyObject
* obj1
= 0 ;
29244 PyObject
* obj2
= 0 ;
29245 char *kwnames
[] = {
29246 (char *) "self",(char *) "item",(char *) "col", NULL
29249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29251 if (SWIG_arg_fail(1)) SWIG_fail
;
29253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29254 if (SWIG_arg_fail(2)) SWIG_fail
;
29255 if (arg2
== NULL
) {
29256 SWIG_null_ref("wxTreeItemId");
29258 if (SWIG_arg_fail(2)) SWIG_fail
;
29262 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29266 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 Py_INCREF(Py_None
); resultobj
= Py_None
;
29278 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
;
29280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29281 wxTreeItemId
*arg2
= 0 ;
29283 PyObject
* obj0
= 0 ;
29284 PyObject
* obj1
= 0 ;
29285 PyObject
* obj2
= 0 ;
29286 char *kwnames
[] = {
29287 (char *) "self",(char *) "item",(char *) "font", NULL
29290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29292 if (SWIG_arg_fail(1)) SWIG_fail
;
29294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29295 if (SWIG_arg_fail(2)) SWIG_fail
;
29296 if (arg2
== NULL
) {
29297 SWIG_null_ref("wxTreeItemId");
29299 if (SWIG_arg_fail(2)) SWIG_fail
;
29302 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29303 if (SWIG_arg_fail(3)) SWIG_fail
;
29304 if (arg3
== NULL
) {
29305 SWIG_null_ref("wxFont");
29307 if (SWIG_arg_fail(3)) SWIG_fail
;
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29316 Py_INCREF(Py_None
); resultobj
= Py_None
;
29323 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
;
29325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29326 wxTreeItemId
*arg2
= 0 ;
29328 PyObject
* obj0
= 0 ;
29329 PyObject
* obj1
= 0 ;
29330 char *kwnames
[] = {
29331 (char *) "self",(char *) "item", NULL
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29336 if (SWIG_arg_fail(1)) SWIG_fail
;
29338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29339 if (SWIG_arg_fail(2)) SWIG_fail
;
29340 if (arg2
== NULL
) {
29341 SWIG_null_ref("wxTreeItemId");
29343 if (SWIG_arg_fail(2)) SWIG_fail
;
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29361 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
;
29363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29364 wxTreeItemId
*arg2
= 0 ;
29366 PyObject
* obj0
= 0 ;
29367 PyObject
* obj1
= 0 ;
29368 char *kwnames
[] = {
29369 (char *) "self",(char *) "item", NULL
29372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29374 if (SWIG_arg_fail(1)) SWIG_fail
;
29376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29377 if (SWIG_arg_fail(2)) SWIG_fail
;
29378 if (arg2
== NULL
) {
29379 SWIG_null_ref("wxTreeItemId");
29381 if (SWIG_arg_fail(2)) SWIG_fail
;
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29399 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29400 PyObject
*resultobj
;
29401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29402 wxTreeItemId
*arg2
= 0 ;
29404 PyObject
* obj0
= 0 ;
29405 PyObject
* obj1
= 0 ;
29406 char *kwnames
[] = {
29407 (char *) "self",(char *) "item", NULL
29410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29412 if (SWIG_arg_fail(1)) SWIG_fail
;
29414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29415 if (SWIG_arg_fail(2)) SWIG_fail
;
29416 if (arg2
== NULL
) {
29417 SWIG_null_ref("wxTreeItemId");
29419 if (SWIG_arg_fail(2)) SWIG_fail
;
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29437 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29438 PyObject
*resultobj
;
29439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29440 wxTreeItemId
*arg2
= 0 ;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 char *kwnames
[] = {
29445 (char *) "self",(char *) "item", NULL
29448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29450 if (SWIG_arg_fail(1)) SWIG_fail
;
29452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29453 if (SWIG_arg_fail(2)) SWIG_fail
;
29454 if (arg2
== NULL
) {
29455 SWIG_null_ref("wxTreeItemId");
29457 if (SWIG_arg_fail(2)) SWIG_fail
;
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29475 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29476 PyObject
*resultobj
;
29477 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29478 wxTreeItemId
*arg2
= 0 ;
29480 PyObject
* obj0
= 0 ;
29481 PyObject
* obj1
= 0 ;
29482 char *kwnames
[] = {
29483 (char *) "self",(char *) "item", NULL
29486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29488 if (SWIG_arg_fail(1)) SWIG_fail
;
29490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29491 if (SWIG_arg_fail(2)) SWIG_fail
;
29492 if (arg2
== NULL
) {
29493 SWIG_null_ref("wxTreeItemId");
29495 if (SWIG_arg_fail(2)) SWIG_fail
;
29498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29499 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29513 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
;
29515 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29516 wxTreeItemId
*arg2
= 0 ;
29517 bool arg3
= (bool) true ;
29519 PyObject
* obj0
= 0 ;
29520 PyObject
* obj1
= 0 ;
29521 PyObject
* obj2
= 0 ;
29522 char *kwnames
[] = {
29523 (char *) "self",(char *) "item",(char *) "recursively", NULL
29526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29528 if (SWIG_arg_fail(1)) SWIG_fail
;
29530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29531 if (SWIG_arg_fail(2)) SWIG_fail
;
29532 if (arg2
== NULL
) {
29533 SWIG_null_ref("wxTreeItemId");
29535 if (SWIG_arg_fail(2)) SWIG_fail
;
29539 arg3
= (bool)(SWIG_As_bool(obj2
));
29540 if (SWIG_arg_fail(3)) SWIG_fail
;
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29547 wxPyEndAllowThreads(__tstate
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29559 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
;
29561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29562 wxTreeItemId result
;
29563 PyObject
* obj0
= 0 ;
29564 char *kwnames
[] = {
29565 (char *) "self", NULL
29568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29570 if (SWIG_arg_fail(1)) SWIG_fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 wxTreeItemId
* resultptr
;
29580 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29589 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29590 PyObject
*resultobj
;
29591 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29592 wxTreeItemId result
;
29593 PyObject
* obj0
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29600 if (SWIG_arg_fail(1)) SWIG_fail
;
29602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29605 wxPyEndAllowThreads(__tstate
);
29606 if (PyErr_Occurred()) SWIG_fail
;
29609 wxTreeItemId
* resultptr
;
29610 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29619 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
;
29621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29623 PyObject
* obj0
= 0 ;
29624 char *kwnames
[] = {
29625 (char *) "self", NULL
29628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29630 if (SWIG_arg_fail(1)) SWIG_fail
;
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29638 resultobj
= result
;
29645 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29646 PyObject
*resultobj
;
29647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29648 wxTreeItemId
*arg2
= 0 ;
29649 wxTreeItemId result
;
29650 PyObject
* obj0
= 0 ;
29651 PyObject
* obj1
= 0 ;
29652 char *kwnames
[] = {
29653 (char *) "self",(char *) "item", NULL
29656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29658 if (SWIG_arg_fail(1)) SWIG_fail
;
29660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29661 if (SWIG_arg_fail(2)) SWIG_fail
;
29662 if (arg2
== NULL
) {
29663 SWIG_null_ref("wxTreeItemId");
29665 if (SWIG_arg_fail(2)) SWIG_fail
;
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29675 wxTreeItemId
* resultptr
;
29676 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29685 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
;
29687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29688 wxTreeItemId
*arg2
= 0 ;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 char *kwnames
[] = {
29693 (char *) "self",(char *) "item", NULL
29696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29698 if (SWIG_arg_fail(1)) SWIG_fail
;
29700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29701 if (SWIG_arg_fail(2)) SWIG_fail
;
29702 if (arg2
== NULL
) {
29703 SWIG_null_ref("wxTreeItemId");
29705 if (SWIG_arg_fail(2)) SWIG_fail
;
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= result
;
29721 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
;
29723 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29724 wxTreeItemId
*arg2
= 0 ;
29725 void *arg3
= (void *) 0 ;
29727 PyObject
* obj0
= 0 ;
29728 PyObject
* obj1
= 0 ;
29729 PyObject
* obj2
= 0 ;
29730 char *kwnames
[] = {
29731 (char *) "self",(char *) "item",(char *) "cookie", NULL
29734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29736 if (SWIG_arg_fail(1)) SWIG_fail
;
29738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29739 if (SWIG_arg_fail(2)) SWIG_fail
;
29740 if (arg2
== NULL
) {
29741 SWIG_null_ref("wxTreeItemId");
29743 if (SWIG_arg_fail(2)) SWIG_fail
;
29746 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29747 SWIG_arg_fail(3);SWIG_fail
;
29751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29754 wxPyEndAllowThreads(__tstate
);
29755 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= result
;
29764 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
;
29766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29767 wxTreeItemId
*arg2
= 0 ;
29768 wxTreeItemId result
;
29769 PyObject
* obj0
= 0 ;
29770 PyObject
* obj1
= 0 ;
29771 char *kwnames
[] = {
29772 (char *) "self",(char *) "item", NULL
29775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29777 if (SWIG_arg_fail(1)) SWIG_fail
;
29779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29780 if (SWIG_arg_fail(2)) SWIG_fail
;
29781 if (arg2
== NULL
) {
29782 SWIG_null_ref("wxTreeItemId");
29784 if (SWIG_arg_fail(2)) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29794 wxTreeItemId
* resultptr
;
29795 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29804 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29807 wxTreeItemId
*arg2
= 0 ;
29808 wxTreeItemId result
;
29809 PyObject
* obj0
= 0 ;
29810 PyObject
* obj1
= 0 ;
29811 char *kwnames
[] = {
29812 (char *) "self",(char *) "item", NULL
29815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29817 if (SWIG_arg_fail(1)) SWIG_fail
;
29819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29820 if (SWIG_arg_fail(2)) SWIG_fail
;
29821 if (arg2
== NULL
) {
29822 SWIG_null_ref("wxTreeItemId");
29824 if (SWIG_arg_fail(2)) SWIG_fail
;
29827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29830 wxPyEndAllowThreads(__tstate
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29834 wxTreeItemId
* resultptr
;
29835 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29844 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
;
29846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29847 wxTreeItemId
*arg2
= 0 ;
29848 wxTreeItemId result
;
29849 PyObject
* obj0
= 0 ;
29850 PyObject
* obj1
= 0 ;
29851 char *kwnames
[] = {
29852 (char *) "self",(char *) "item", NULL
29855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29857 if (SWIG_arg_fail(1)) SWIG_fail
;
29859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29860 if (SWIG_arg_fail(2)) SWIG_fail
;
29861 if (arg2
== NULL
) {
29862 SWIG_null_ref("wxTreeItemId");
29864 if (SWIG_arg_fail(2)) SWIG_fail
;
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29868 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29874 wxTreeItemId
* resultptr
;
29875 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29884 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29885 PyObject
*resultobj
;
29886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29887 wxTreeItemId result
;
29888 PyObject
* obj0
= 0 ;
29889 char *kwnames
[] = {
29890 (char *) "self", NULL
29893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29895 if (SWIG_arg_fail(1)) SWIG_fail
;
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29904 wxTreeItemId
* resultptr
;
29905 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29914 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29915 PyObject
*resultobj
;
29916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29917 wxTreeItemId
*arg2
= 0 ;
29918 wxTreeItemId result
;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 char *kwnames
[] = {
29922 (char *) "self",(char *) "item", NULL
29925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29927 if (SWIG_arg_fail(1)) SWIG_fail
;
29929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29930 if (SWIG_arg_fail(2)) SWIG_fail
;
29931 if (arg2
== NULL
) {
29932 SWIG_null_ref("wxTreeItemId");
29934 if (SWIG_arg_fail(2)) SWIG_fail
;
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29944 wxTreeItemId
* resultptr
;
29945 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29954 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
;
29956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29957 wxTreeItemId
*arg2
= 0 ;
29958 wxTreeItemId result
;
29959 PyObject
* obj0
= 0 ;
29960 PyObject
* obj1
= 0 ;
29961 char *kwnames
[] = {
29962 (char *) "self",(char *) "item", NULL
29965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29967 if (SWIG_arg_fail(1)) SWIG_fail
;
29969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29970 if (SWIG_arg_fail(2)) SWIG_fail
;
29971 if (arg2
== NULL
) {
29972 SWIG_null_ref("wxTreeItemId");
29974 if (SWIG_arg_fail(2)) SWIG_fail
;
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29980 wxPyEndAllowThreads(__tstate
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29984 wxTreeItemId
* resultptr
;
29985 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29994 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
;
29996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29997 wxString
*arg2
= 0 ;
29998 int arg3
= (int) -1 ;
29999 int arg4
= (int) -1 ;
30000 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
30001 wxTreeItemId result
;
30002 bool temp2
= false ;
30003 PyObject
* obj0
= 0 ;
30004 PyObject
* obj1
= 0 ;
30005 PyObject
* obj2
= 0 ;
30006 PyObject
* obj3
= 0 ;
30007 PyObject
* obj4
= 0 ;
30008 char *kwnames
[] = {
30009 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30014 if (SWIG_arg_fail(1)) SWIG_fail
;
30016 arg2
= wxString_in_helper(obj1
);
30017 if (arg2
== NULL
) SWIG_fail
;
30022 arg3
= (int)(SWIG_As_int(obj2
));
30023 if (SWIG_arg_fail(3)) SWIG_fail
;
30028 arg4
= (int)(SWIG_As_int(obj3
));
30029 if (SWIG_arg_fail(4)) SWIG_fail
;
30033 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30034 if (SWIG_arg_fail(5)) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30044 wxTreeItemId
* resultptr
;
30045 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30062 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
;
30064 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30065 wxTreeItemId
*arg2
= 0 ;
30066 wxString
*arg3
= 0 ;
30067 int arg4
= (int) -1 ;
30068 int arg5
= (int) -1 ;
30069 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30070 wxTreeItemId result
;
30071 bool temp3
= false ;
30072 PyObject
* obj0
= 0 ;
30073 PyObject
* obj1
= 0 ;
30074 PyObject
* obj2
= 0 ;
30075 PyObject
* obj3
= 0 ;
30076 PyObject
* obj4
= 0 ;
30077 PyObject
* obj5
= 0 ;
30078 char *kwnames
[] = {
30079 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30084 if (SWIG_arg_fail(1)) SWIG_fail
;
30086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30087 if (SWIG_arg_fail(2)) SWIG_fail
;
30088 if (arg2
== NULL
) {
30089 SWIG_null_ref("wxTreeItemId");
30091 if (SWIG_arg_fail(2)) SWIG_fail
;
30094 arg3
= wxString_in_helper(obj2
);
30095 if (arg3
== NULL
) SWIG_fail
;
30100 arg4
= (int)(SWIG_As_int(obj3
));
30101 if (SWIG_arg_fail(4)) SWIG_fail
;
30106 arg5
= (int)(SWIG_As_int(obj4
));
30107 if (SWIG_arg_fail(5)) SWIG_fail
;
30111 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30112 if (SWIG_arg_fail(6)) SWIG_fail
;
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30122 wxTreeItemId
* resultptr
;
30123 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30140 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
;
30142 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30143 wxTreeItemId
*arg2
= 0 ;
30144 wxTreeItemId
*arg3
= 0 ;
30145 wxString
*arg4
= 0 ;
30146 int arg5
= (int) -1 ;
30147 int arg6
= (int) -1 ;
30148 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30149 wxTreeItemId result
;
30150 bool temp4
= false ;
30151 PyObject
* obj0
= 0 ;
30152 PyObject
* obj1
= 0 ;
30153 PyObject
* obj2
= 0 ;
30154 PyObject
* obj3
= 0 ;
30155 PyObject
* obj4
= 0 ;
30156 PyObject
* obj5
= 0 ;
30157 PyObject
* obj6
= 0 ;
30158 char *kwnames
[] = {
30159 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30164 if (SWIG_arg_fail(1)) SWIG_fail
;
30166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30167 if (SWIG_arg_fail(2)) SWIG_fail
;
30168 if (arg2
== NULL
) {
30169 SWIG_null_ref("wxTreeItemId");
30171 if (SWIG_arg_fail(2)) SWIG_fail
;
30174 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30175 if (SWIG_arg_fail(3)) SWIG_fail
;
30176 if (arg3
== NULL
) {
30177 SWIG_null_ref("wxTreeItemId");
30179 if (SWIG_arg_fail(3)) SWIG_fail
;
30182 arg4
= wxString_in_helper(obj3
);
30183 if (arg4
== NULL
) SWIG_fail
;
30188 arg5
= (int)(SWIG_As_int(obj4
));
30189 if (SWIG_arg_fail(5)) SWIG_fail
;
30194 arg6
= (int)(SWIG_As_int(obj5
));
30195 if (SWIG_arg_fail(6)) SWIG_fail
;
30199 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30200 if (SWIG_arg_fail(7)) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30210 wxTreeItemId
* resultptr
;
30211 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30228 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30229 PyObject
*resultobj
;
30230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30231 wxTreeItemId
*arg2
= 0 ;
30233 wxString
*arg4
= 0 ;
30234 int arg5
= (int) -1 ;
30235 int arg6
= (int) -1 ;
30236 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30237 wxTreeItemId result
;
30238 bool temp4
= false ;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 PyObject
* obj2
= 0 ;
30242 PyObject
* obj3
= 0 ;
30243 PyObject
* obj4
= 0 ;
30244 PyObject
* obj5
= 0 ;
30245 PyObject
* obj6
= 0 ;
30246 char *kwnames
[] = {
30247 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30252 if (SWIG_arg_fail(1)) SWIG_fail
;
30254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30255 if (SWIG_arg_fail(2)) SWIG_fail
;
30256 if (arg2
== NULL
) {
30257 SWIG_null_ref("wxTreeItemId");
30259 if (SWIG_arg_fail(2)) SWIG_fail
;
30262 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30263 if (SWIG_arg_fail(3)) SWIG_fail
;
30266 arg4
= wxString_in_helper(obj3
);
30267 if (arg4
== NULL
) SWIG_fail
;
30272 arg5
= (int)(SWIG_As_int(obj4
));
30273 if (SWIG_arg_fail(5)) SWIG_fail
;
30278 arg6
= (int)(SWIG_As_int(obj5
));
30279 if (SWIG_arg_fail(6)) SWIG_fail
;
30283 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30284 if (SWIG_arg_fail(7)) SWIG_fail
;
30287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30288 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30290 wxPyEndAllowThreads(__tstate
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30294 wxTreeItemId
* resultptr
;
30295 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30312 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
;
30314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30315 wxTreeItemId
*arg2
= 0 ;
30316 wxString
*arg3
= 0 ;
30317 int arg4
= (int) -1 ;
30318 int arg5
= (int) -1 ;
30319 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30320 wxTreeItemId result
;
30321 bool temp3
= false ;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 PyObject
* obj2
= 0 ;
30325 PyObject
* obj3
= 0 ;
30326 PyObject
* obj4
= 0 ;
30327 PyObject
* obj5
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30334 if (SWIG_arg_fail(1)) SWIG_fail
;
30336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30337 if (SWIG_arg_fail(2)) SWIG_fail
;
30338 if (arg2
== NULL
) {
30339 SWIG_null_ref("wxTreeItemId");
30341 if (SWIG_arg_fail(2)) SWIG_fail
;
30344 arg3
= wxString_in_helper(obj2
);
30345 if (arg3
== NULL
) SWIG_fail
;
30350 arg4
= (int)(SWIG_As_int(obj3
));
30351 if (SWIG_arg_fail(4)) SWIG_fail
;
30356 arg5
= (int)(SWIG_As_int(obj4
));
30357 if (SWIG_arg_fail(5)) SWIG_fail
;
30361 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30362 if (SWIG_arg_fail(6)) SWIG_fail
;
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30368 wxPyEndAllowThreads(__tstate
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30372 wxTreeItemId
* resultptr
;
30373 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30390 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
;
30392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30393 wxTreeItemId
*arg2
= 0 ;
30394 PyObject
* obj0
= 0 ;
30395 PyObject
* obj1
= 0 ;
30396 char *kwnames
[] = {
30397 (char *) "self",(char *) "item", NULL
30400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30402 if (SWIG_arg_fail(1)) SWIG_fail
;
30404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30405 if (SWIG_arg_fail(2)) SWIG_fail
;
30406 if (arg2
== NULL
) {
30407 SWIG_null_ref("wxTreeItemId");
30409 if (SWIG_arg_fail(2)) SWIG_fail
;
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30415 wxPyEndAllowThreads(__tstate
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30418 Py_INCREF(Py_None
); resultobj
= Py_None
;
30425 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30426 PyObject
*resultobj
;
30427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30428 wxTreeItemId
*arg2
= 0 ;
30429 PyObject
* obj0
= 0 ;
30430 PyObject
* obj1
= 0 ;
30431 char *kwnames
[] = {
30432 (char *) "self",(char *) "item", NULL
30435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30437 if (SWIG_arg_fail(1)) SWIG_fail
;
30439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30440 if (SWIG_arg_fail(2)) SWIG_fail
;
30441 if (arg2
== NULL
) {
30442 SWIG_null_ref("wxTreeItemId");
30444 if (SWIG_arg_fail(2)) SWIG_fail
;
30447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30448 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30450 wxPyEndAllowThreads(__tstate
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30453 Py_INCREF(Py_None
); resultobj
= Py_None
;
30460 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
;
30462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 char *kwnames
[] = {
30465 (char *) "self", NULL
30468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30470 if (SWIG_arg_fail(1)) SWIG_fail
;
30472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30473 (arg1
)->DeleteAllItems();
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30478 Py_INCREF(Py_None
); resultobj
= Py_None
;
30485 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30486 PyObject
*resultobj
;
30487 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30488 wxTreeItemId
*arg2
= 0 ;
30489 PyObject
* obj0
= 0 ;
30490 PyObject
* obj1
= 0 ;
30491 char *kwnames
[] = {
30492 (char *) "self",(char *) "item", NULL
30495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30497 if (SWIG_arg_fail(1)) SWIG_fail
;
30499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30500 if (SWIG_arg_fail(2)) SWIG_fail
;
30501 if (arg2
== NULL
) {
30502 SWIG_null_ref("wxTreeItemId");
30504 if (SWIG_arg_fail(2)) SWIG_fail
;
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 Py_INCREF(Py_None
); resultobj
= Py_None
;
30520 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
;
30522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30523 wxTreeItemId
*arg2
= 0 ;
30524 PyObject
* obj0
= 0 ;
30525 PyObject
* obj1
= 0 ;
30526 char *kwnames
[] = {
30527 (char *) "self",(char *) "item", NULL
30530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30532 if (SWIG_arg_fail(1)) SWIG_fail
;
30534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30535 if (SWIG_arg_fail(2)) SWIG_fail
;
30536 if (arg2
== NULL
) {
30537 SWIG_null_ref("wxTreeItemId");
30539 if (SWIG_arg_fail(2)) SWIG_fail
;
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 Py_INCREF(Py_None
); resultobj
= Py_None
;
30555 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30556 PyObject
*resultobj
;
30557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30558 wxTreeItemId
*arg2
= 0 ;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 char *kwnames
[] = {
30562 (char *) "self",(char *) "item", NULL
30565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30567 if (SWIG_arg_fail(1)) SWIG_fail
;
30569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30570 if (SWIG_arg_fail(2)) SWIG_fail
;
30571 if (arg2
== NULL
) {
30572 SWIG_null_ref("wxTreeItemId");
30574 if (SWIG_arg_fail(2)) SWIG_fail
;
30577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30578 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30580 wxPyEndAllowThreads(__tstate
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30583 Py_INCREF(Py_None
); resultobj
= Py_None
;
30590 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30591 PyObject
*resultobj
;
30592 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30593 wxTreeItemId
*arg2
= 0 ;
30594 PyObject
* obj0
= 0 ;
30595 PyObject
* obj1
= 0 ;
30596 char *kwnames
[] = {
30597 (char *) "self",(char *) "item", NULL
30600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30602 if (SWIG_arg_fail(1)) SWIG_fail
;
30604 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30605 if (SWIG_arg_fail(2)) SWIG_fail
;
30606 if (arg2
== NULL
) {
30607 SWIG_null_ref("wxTreeItemId");
30609 if (SWIG_arg_fail(2)) SWIG_fail
;
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30615 wxPyEndAllowThreads(__tstate
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30618 Py_INCREF(Py_None
); resultobj
= Py_None
;
30625 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30626 PyObject
*resultobj
;
30627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30628 PyObject
* obj0
= 0 ;
30629 char *kwnames
[] = {
30630 (char *) "self", NULL
30633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30635 if (SWIG_arg_fail(1)) SWIG_fail
;
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 (arg1
)->Unselect();
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30643 Py_INCREF(Py_None
); resultobj
= Py_None
;
30650 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30651 PyObject
*resultobj
;
30652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30653 wxTreeItemId
*arg2
= 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self",(char *) "item", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30662 if (SWIG_arg_fail(1)) SWIG_fail
;
30664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30665 if (SWIG_arg_fail(2)) SWIG_fail
;
30666 if (arg2
== NULL
) {
30667 SWIG_null_ref("wxTreeItemId");
30669 if (SWIG_arg_fail(2)) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 Py_INCREF(Py_None
); resultobj
= Py_None
;
30685 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
;
30687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30688 PyObject
* obj0
= 0 ;
30689 char *kwnames
[] = {
30690 (char *) "self", NULL
30693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30695 if (SWIG_arg_fail(1)) SWIG_fail
;
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 (arg1
)->UnselectAll();
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 Py_INCREF(Py_None
); resultobj
= Py_None
;
30710 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
;
30712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30713 wxTreeItemId
*arg2
= 0 ;
30714 bool arg3
= (bool) true ;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30717 PyObject
* obj2
= 0 ;
30718 char *kwnames
[] = {
30719 (char *) "self",(char *) "item",(char *) "select", NULL
30722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30724 if (SWIG_arg_fail(1)) SWIG_fail
;
30726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30727 if (SWIG_arg_fail(2)) SWIG_fail
;
30728 if (arg2
== NULL
) {
30729 SWIG_null_ref("wxTreeItemId");
30731 if (SWIG_arg_fail(2)) SWIG_fail
;
30735 arg3
= (bool)(SWIG_As_bool(obj2
));
30736 if (SWIG_arg_fail(3)) SWIG_fail
;
30740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30743 wxPyEndAllowThreads(__tstate
);
30744 if (PyErr_Occurred()) SWIG_fail
;
30746 Py_INCREF(Py_None
); resultobj
= Py_None
;
30753 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
;
30755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30756 wxTreeItemId
*arg2
= 0 ;
30757 PyObject
* obj0
= 0 ;
30758 PyObject
* obj1
= 0 ;
30759 char *kwnames
[] = {
30760 (char *) "self",(char *) "item", NULL
30763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30765 if (SWIG_arg_fail(1)) SWIG_fail
;
30767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30768 if (SWIG_arg_fail(2)) SWIG_fail
;
30769 if (arg2
== NULL
) {
30770 SWIG_null_ref("wxTreeItemId");
30772 if (SWIG_arg_fail(2)) SWIG_fail
;
30775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30776 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30778 wxPyEndAllowThreads(__tstate
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30781 Py_INCREF(Py_None
); resultobj
= Py_None
;
30788 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
;
30790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30791 wxTreeItemId
*arg2
= 0 ;
30792 PyObject
* obj0
= 0 ;
30793 PyObject
* obj1
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self",(char *) "item", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30800 if (SWIG_arg_fail(1)) SWIG_fail
;
30802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30803 if (SWIG_arg_fail(2)) SWIG_fail
;
30804 if (arg2
== NULL
) {
30805 SWIG_null_ref("wxTreeItemId");
30807 if (SWIG_arg_fail(2)) SWIG_fail
;
30810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30811 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30813 wxPyEndAllowThreads(__tstate
);
30814 if (PyErr_Occurred()) SWIG_fail
;
30816 Py_INCREF(Py_None
); resultobj
= Py_None
;
30823 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30824 PyObject
*resultobj
;
30825 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30826 wxTreeItemId
*arg2
= 0 ;
30827 PyObject
* obj0
= 0 ;
30828 PyObject
* obj1
= 0 ;
30829 char *kwnames
[] = {
30830 (char *) "self",(char *) "item", NULL
30833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30835 if (SWIG_arg_fail(1)) SWIG_fail
;
30837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30838 if (SWIG_arg_fail(2)) SWIG_fail
;
30839 if (arg2
== NULL
) {
30840 SWIG_null_ref("wxTreeItemId");
30842 if (SWIG_arg_fail(2)) SWIG_fail
;
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 Py_INCREF(Py_None
); resultobj
= Py_None
;
30858 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
;
30860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30861 wxTreeItemId
*arg2
= 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 char *kwnames
[] = {
30865 (char *) "self",(char *) "item", NULL
30868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30870 if (SWIG_arg_fail(1)) SWIG_fail
;
30872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30873 if (SWIG_arg_fail(2)) SWIG_fail
;
30874 if (arg2
== NULL
) {
30875 SWIG_null_ref("wxTreeItemId");
30877 if (SWIG_arg_fail(2)) SWIG_fail
;
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30886 Py_INCREF(Py_None
); resultobj
= Py_None
;
30893 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
;
30895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30896 wxTextCtrl
*result
;
30897 PyObject
* obj0
= 0 ;
30898 char *kwnames
[] = {
30899 (char *) "self", NULL
30902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30904 if (SWIG_arg_fail(1)) SWIG_fail
;
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30909 wxPyEndAllowThreads(__tstate
);
30910 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= wxPyMake_wxObject(result
, 0);
30921 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30922 PyObject
*resultobj
;
30923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30924 wxTreeItemId
*arg2
= 0 ;
30925 bool arg3
= (bool) false ;
30926 PyObject
* obj0
= 0 ;
30927 PyObject
* obj1
= 0 ;
30928 PyObject
* obj2
= 0 ;
30929 char *kwnames
[] = {
30930 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30935 if (SWIG_arg_fail(1)) SWIG_fail
;
30937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30938 if (SWIG_arg_fail(2)) SWIG_fail
;
30939 if (arg2
== NULL
) {
30940 SWIG_null_ref("wxTreeItemId");
30942 if (SWIG_arg_fail(2)) SWIG_fail
;
30946 arg3
= (bool)(SWIG_As_bool(obj2
));
30947 if (SWIG_arg_fail(3)) SWIG_fail
;
30951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30952 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30957 Py_INCREF(Py_None
); resultobj
= Py_None
;
30964 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30967 wxTreeItemId
*arg2
= 0 ;
30968 PyObject
* obj0
= 0 ;
30969 PyObject
* obj1
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "self",(char *) "item", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30976 if (SWIG_arg_fail(1)) SWIG_fail
;
30978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30979 if (SWIG_arg_fail(2)) SWIG_fail
;
30980 if (arg2
== NULL
) {
30981 SWIG_null_ref("wxTreeItemId");
30983 if (SWIG_arg_fail(2)) SWIG_fail
;
30986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30992 Py_INCREF(Py_None
); resultobj
= Py_None
;
30999 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
;
31001 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31002 wxPoint
*arg2
= 0 ;
31004 wxTreeItemId result
;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 char *kwnames
[] = {
31011 (char *) "self",(char *) "point", NULL
31014 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
31015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
31016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31017 if (SWIG_arg_fail(1)) SWIG_fail
;
31020 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31024 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31030 wxTreeItemId
* resultptr
;
31031 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31034 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31035 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31042 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
;
31044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31045 wxTreeItemId
*arg2
= 0 ;
31046 bool arg3
= (bool) false ;
31048 PyObject
* obj0
= 0 ;
31049 PyObject
* obj1
= 0 ;
31050 PyObject
* obj2
= 0 ;
31051 char *kwnames
[] = {
31052 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31057 if (SWIG_arg_fail(1)) SWIG_fail
;
31059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31060 if (SWIG_arg_fail(2)) SWIG_fail
;
31061 if (arg2
== NULL
) {
31062 SWIG_null_ref("wxTreeItemId");
31064 if (SWIG_arg_fail(2)) SWIG_fail
;
31068 arg3
= (bool)(SWIG_As_bool(obj2
));
31069 if (SWIG_arg_fail(3)) SWIG_fail
;
31073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31074 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 resultobj
= result
;
31086 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31089 wxTreeItemId
*arg2
= 0 ;
31091 PyObject
* obj0
= 0 ;
31092 PyObject
* obj1
= 0 ;
31093 PyObject
* obj2
= 0 ;
31094 char *kwnames
[] = {
31095 (char *) "self",(char *) "node",(char *) "state", NULL
31098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31100 if (SWIG_arg_fail(1)) SWIG_fail
;
31102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31103 if (SWIG_arg_fail(2)) SWIG_fail
;
31104 if (arg2
== NULL
) {
31105 SWIG_null_ref("wxTreeItemId");
31107 if (SWIG_arg_fail(2)) SWIG_fail
;
31110 arg3
= (int)(SWIG_As_int(obj2
));
31111 if (SWIG_arg_fail(3)) SWIG_fail
;
31114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31115 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
31117 wxPyEndAllowThreads(__tstate
);
31118 if (PyErr_Occurred()) SWIG_fail
;
31120 Py_INCREF(Py_None
); resultobj
= Py_None
;
31127 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31128 PyObject
*resultobj
;
31129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31130 wxTreeItemId
*arg2
= 0 ;
31132 PyObject
* obj0
= 0 ;
31133 PyObject
* obj1
= 0 ;
31134 char *kwnames
[] = {
31135 (char *) "self",(char *) "node", NULL
31138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
31139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31140 if (SWIG_arg_fail(1)) SWIG_fail
;
31142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31143 if (SWIG_arg_fail(2)) SWIG_fail
;
31144 if (arg2
== NULL
) {
31145 SWIG_null_ref("wxTreeItemId");
31147 if (SWIG_arg_fail(2)) SWIG_fail
;
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= SWIG_From_int((int)(result
));
31165 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31166 PyObject
*resultobj
;
31167 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31168 wxVisualAttributes result
;
31169 PyObject
* obj0
= 0 ;
31170 char *kwnames
[] = {
31171 (char *) "variant", NULL
31174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
31177 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
31178 if (SWIG_arg_fail(1)) SWIG_fail
;
31182 if (!wxPyCheckForApp()) SWIG_fail
;
31183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31184 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31190 wxVisualAttributes
* resultptr
;
31191 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
31192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
31200 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
31202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31203 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
31205 return Py_BuildValue((char *)"");
31207 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
31208 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31213 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31218 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31220 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31227 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31228 PyObject
*resultobj
;
31229 wxWindow
*arg1
= (wxWindow
*) 0 ;
31230 int arg2
= (int) (int)-1 ;
31231 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31232 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31233 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31234 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31235 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31236 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31237 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31238 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31239 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31240 int arg8
= (int) 0 ;
31241 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31242 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31243 wxGenericDirCtrl
*result
;
31244 bool temp3
= false ;
31247 bool temp7
= false ;
31248 bool temp9
= false ;
31249 PyObject
* obj0
= 0 ;
31250 PyObject
* obj1
= 0 ;
31251 PyObject
* obj2
= 0 ;
31252 PyObject
* obj3
= 0 ;
31253 PyObject
* obj4
= 0 ;
31254 PyObject
* obj5
= 0 ;
31255 PyObject
* obj6
= 0 ;
31256 PyObject
* obj7
= 0 ;
31257 PyObject
* obj8
= 0 ;
31258 char *kwnames
[] = {
31259 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31264 if (SWIG_arg_fail(1)) SWIG_fail
;
31267 arg2
= (int const)(SWIG_As_int(obj1
));
31268 if (SWIG_arg_fail(2)) SWIG_fail
;
31273 arg3
= wxString_in_helper(obj2
);
31274 if (arg3
== NULL
) SWIG_fail
;
31281 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31287 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31292 arg6
= (long)(SWIG_As_long(obj5
));
31293 if (SWIG_arg_fail(6)) SWIG_fail
;
31298 arg7
= wxString_in_helper(obj6
);
31299 if (arg7
== NULL
) SWIG_fail
;
31305 arg8
= (int)(SWIG_As_int(obj7
));
31306 if (SWIG_arg_fail(8)) SWIG_fail
;
31311 arg9
= wxString_in_helper(obj8
);
31312 if (arg9
== NULL
) SWIG_fail
;
31317 if (!wxPyCheckForApp()) SWIG_fail
;
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31355 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31356 PyObject
*resultobj
;
31357 wxGenericDirCtrl
*result
;
31358 char *kwnames
[] = {
31362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31364 if (!wxPyCheckForApp()) SWIG_fail
;
31365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31366 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31368 wxPyEndAllowThreads(__tstate
);
31369 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31378 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
;
31380 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31381 wxWindow
*arg2
= (wxWindow
*) 0 ;
31382 int arg3
= (int) (int)-1 ;
31383 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31384 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31385 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31386 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31387 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31388 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31389 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31390 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31391 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31392 int arg9
= (int) 0 ;
31393 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31394 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31396 bool temp4
= false ;
31399 bool temp8
= false ;
31400 bool temp10
= false ;
31401 PyObject
* obj0
= 0 ;
31402 PyObject
* obj1
= 0 ;
31403 PyObject
* obj2
= 0 ;
31404 PyObject
* obj3
= 0 ;
31405 PyObject
* obj4
= 0 ;
31406 PyObject
* obj5
= 0 ;
31407 PyObject
* obj6
= 0 ;
31408 PyObject
* obj7
= 0 ;
31409 PyObject
* obj8
= 0 ;
31410 PyObject
* obj9
= 0 ;
31411 char *kwnames
[] = {
31412 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31417 if (SWIG_arg_fail(1)) SWIG_fail
;
31418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31419 if (SWIG_arg_fail(2)) SWIG_fail
;
31422 arg3
= (int const)(SWIG_As_int(obj2
));
31423 if (SWIG_arg_fail(3)) SWIG_fail
;
31428 arg4
= wxString_in_helper(obj3
);
31429 if (arg4
== NULL
) SWIG_fail
;
31436 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31442 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31447 arg7
= (long)(SWIG_As_long(obj6
));
31448 if (SWIG_arg_fail(7)) SWIG_fail
;
31453 arg8
= wxString_in_helper(obj7
);
31454 if (arg8
== NULL
) SWIG_fail
;
31460 arg9
= (int)(SWIG_As_int(obj8
));
31461 if (SWIG_arg_fail(9)) SWIG_fail
;
31466 arg10
= wxString_in_helper(obj9
);
31467 if (arg10
== NULL
) SWIG_fail
;
31472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31473 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31475 wxPyEndAllowThreads(__tstate
);
31476 if (PyErr_Occurred()) SWIG_fail
;
31479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31511 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
;
31513 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31514 wxString
*arg2
= 0 ;
31516 bool temp2
= false ;
31517 PyObject
* obj0
= 0 ;
31518 PyObject
* obj1
= 0 ;
31519 char *kwnames
[] = {
31520 (char *) "self",(char *) "path", NULL
31523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31525 if (SWIG_arg_fail(1)) SWIG_fail
;
31527 arg2
= wxString_in_helper(obj1
);
31528 if (arg2
== NULL
) SWIG_fail
;
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31555 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
;
31557 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31559 PyObject
* obj0
= 0 ;
31560 char *kwnames
[] = {
31561 (char *) "self", NULL
31564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31566 if (SWIG_arg_fail(1)) SWIG_fail
;
31568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31569 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31571 wxPyEndAllowThreads(__tstate
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31587 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
;
31589 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31590 wxString
*arg2
= 0 ;
31591 bool temp2
= false ;
31592 PyObject
* obj0
= 0 ;
31593 PyObject
* obj1
= 0 ;
31594 char *kwnames
[] = {
31595 (char *) "self",(char *) "path", NULL
31598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31600 if (SWIG_arg_fail(1)) SWIG_fail
;
31602 arg2
= wxString_in_helper(obj1
);
31603 if (arg2
== NULL
) SWIG_fail
;
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31610 wxPyEndAllowThreads(__tstate
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31613 Py_INCREF(Py_None
); resultobj
= Py_None
;
31628 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31629 PyObject
*resultobj
;
31630 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31632 PyObject
* obj0
= 0 ;
31633 char *kwnames
[] = {
31634 (char *) "self", NULL
31637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31639 if (SWIG_arg_fail(1)) SWIG_fail
;
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31644 wxPyEndAllowThreads(__tstate
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31660 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31661 PyObject
*resultobj
;
31662 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31664 PyObject
* obj0
= 0 ;
31665 char *kwnames
[] = {
31666 (char *) "self", NULL
31669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31671 if (SWIG_arg_fail(1)) SWIG_fail
;
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31692 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31693 PyObject
*resultobj
;
31694 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31695 wxString
*arg2
= 0 ;
31696 bool temp2
= false ;
31697 PyObject
* obj0
= 0 ;
31698 PyObject
* obj1
= 0 ;
31699 char *kwnames
[] = {
31700 (char *) "self",(char *) "path", NULL
31703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31705 if (SWIG_arg_fail(1)) SWIG_fail
;
31707 arg2
= wxString_in_helper(obj1
);
31708 if (arg2
== NULL
) SWIG_fail
;
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 (arg1
)->SetPath((wxString
const &)*arg2
);
31715 wxPyEndAllowThreads(__tstate
);
31716 if (PyErr_Occurred()) SWIG_fail
;
31718 Py_INCREF(Py_None
); resultobj
= Py_None
;
31733 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
;
31735 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31737 PyObject
* obj0
= 0 ;
31738 PyObject
* obj1
= 0 ;
31739 char *kwnames
[] = {
31740 (char *) "self",(char *) "show", NULL
31743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31745 if (SWIG_arg_fail(1)) SWIG_fail
;
31747 arg2
= (bool)(SWIG_As_bool(obj1
));
31748 if (SWIG_arg_fail(2)) SWIG_fail
;
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 (arg1
)->ShowHidden(arg2
);
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 Py_INCREF(Py_None
); resultobj
= Py_None
;
31764 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31765 PyObject
*resultobj
;
31766 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31768 PyObject
* obj0
= 0 ;
31769 char *kwnames
[] = {
31770 (char *) "self", NULL
31773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31775 if (SWIG_arg_fail(1)) SWIG_fail
;
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 result
= (bool)(arg1
)->GetShowHidden();
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31792 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31793 PyObject
*resultobj
;
31794 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31796 PyObject
* obj0
= 0 ;
31797 char *kwnames
[] = {
31798 (char *) "self", NULL
31801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31803 if (SWIG_arg_fail(1)) SWIG_fail
;
31805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31806 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31808 wxPyEndAllowThreads(__tstate
);
31809 if (PyErr_Occurred()) SWIG_fail
;
31813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31824 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31825 PyObject
*resultobj
;
31826 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31827 wxString
*arg2
= 0 ;
31828 bool temp2
= false ;
31829 PyObject
* obj0
= 0 ;
31830 PyObject
* obj1
= 0 ;
31831 char *kwnames
[] = {
31832 (char *) "self",(char *) "filter", NULL
31835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31837 if (SWIG_arg_fail(1)) SWIG_fail
;
31839 arg2
= wxString_in_helper(obj1
);
31840 if (arg2
== NULL
) SWIG_fail
;
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 (arg1
)->SetFilter((wxString
const &)*arg2
);
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31850 Py_INCREF(Py_None
); resultobj
= Py_None
;
31865 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31866 PyObject
*resultobj
;
31867 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31869 PyObject
* obj0
= 0 ;
31870 char *kwnames
[] = {
31871 (char *) "self", NULL
31874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31876 if (SWIG_arg_fail(1)) SWIG_fail
;
31878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31879 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31885 resultobj
= SWIG_From_int((int)(result
));
31893 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31894 PyObject
*resultobj
;
31895 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31897 PyObject
* obj0
= 0 ;
31898 PyObject
* obj1
= 0 ;
31899 char *kwnames
[] = {
31900 (char *) "self",(char *) "n", NULL
31903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31905 if (SWIG_arg_fail(1)) SWIG_fail
;
31907 arg2
= (int)(SWIG_As_int(obj1
));
31908 if (SWIG_arg_fail(2)) SWIG_fail
;
31911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31912 (arg1
)->SetFilterIndex(arg2
);
31914 wxPyEndAllowThreads(__tstate
);
31915 if (PyErr_Occurred()) SWIG_fail
;
31917 Py_INCREF(Py_None
); resultobj
= Py_None
;
31924 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
;
31926 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31927 wxTreeItemId result
;
31928 PyObject
* obj0
= 0 ;
31929 char *kwnames
[] = {
31930 (char *) "self", NULL
31933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31935 if (SWIG_arg_fail(1)) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 result
= (arg1
)->GetRootId();
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31944 wxTreeItemId
* resultptr
;
31945 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31954 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31955 PyObject
*resultobj
;
31956 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31957 wxPyTreeCtrl
*result
;
31958 PyObject
* obj0
= 0 ;
31959 char *kwnames
[] = {
31960 (char *) "self", NULL
31963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31965 if (SWIG_arg_fail(1)) SWIG_fail
;
31967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31968 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31974 resultobj
= wxPyMake_wxObject(result
, 0);
31982 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31983 PyObject
*resultobj
;
31984 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31985 wxDirFilterListCtrl
*result
;
31986 PyObject
* obj0
= 0 ;
31987 char *kwnames
[] = {
31988 (char *) "self", NULL
31991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31993 if (SWIG_arg_fail(1)) SWIG_fail
;
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31998 wxPyEndAllowThreads(__tstate
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
32008 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32009 PyObject
*resultobj
;
32010 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32011 wxTreeItemId arg2
;
32012 wxString
*arg3
= 0 ;
32014 wxTreeItemId result
;
32015 bool temp3
= false ;
32018 PyObject
* obj0
= 0 ;
32019 PyObject
* obj1
= 0 ;
32020 PyObject
* obj2
= 0 ;
32021 char *kwnames
[] = {
32022 (char *) "self",(char *) "parentId",(char *) "path", NULL
32025 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
32026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32028 if (SWIG_arg_fail(1)) SWIG_fail
;
32030 wxTreeItemId
* argp
;
32031 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
32032 if (SWIG_arg_fail(2)) SWIG_fail
;
32033 if (argp
== NULL
) {
32034 SWIG_null_ref("wxTreeItemId");
32036 if (SWIG_arg_fail(2)) SWIG_fail
;
32040 arg3
= wxString_in_helper(obj2
);
32041 if (arg3
== NULL
) SWIG_fail
;
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
32048 wxPyEndAllowThreads(__tstate
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32052 wxTreeItemId
* resultptr
;
32053 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
32054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32056 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
32057 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
32072 static PyObject
*_wrap_GenericDirCtrl_DoResize(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_DoResize",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
)->DoResize();
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32090 Py_INCREF(Py_None
); resultobj
= Py_None
;
32097 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32098 PyObject
*resultobj
;
32099 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32100 PyObject
* obj0
= 0 ;
32101 char *kwnames
[] = {
32102 (char *) "self", NULL
32105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
32106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32107 if (SWIG_arg_fail(1)) SWIG_fail
;
32109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32110 (arg1
)->ReCreateTree();
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32115 Py_INCREF(Py_None
); resultobj
= Py_None
;
32122 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
32124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32125 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
32127 return Py_BuildValue((char *)"");
32129 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32130 PyObject
*resultobj
;
32131 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32132 int arg2
= (int) (int)-1 ;
32133 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32134 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32135 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32136 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32137 long arg5
= (long) 0 ;
32138 wxDirFilterListCtrl
*result
;
32141 PyObject
* obj0
= 0 ;
32142 PyObject
* obj1
= 0 ;
32143 PyObject
* obj2
= 0 ;
32144 PyObject
* obj3
= 0 ;
32145 PyObject
* obj4
= 0 ;
32146 char *kwnames
[] = {
32147 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32152 if (SWIG_arg_fail(1)) SWIG_fail
;
32155 arg2
= (int const)(SWIG_As_int(obj1
));
32156 if (SWIG_arg_fail(2)) SWIG_fail
;
32162 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32168 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32173 arg5
= (long)(SWIG_As_long(obj4
));
32174 if (SWIG_arg_fail(5)) SWIG_fail
;
32178 if (!wxPyCheckForApp()) SWIG_fail
;
32179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32180 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
32182 wxPyEndAllowThreads(__tstate
);
32183 if (PyErr_Occurred()) SWIG_fail
;
32185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32192 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32193 PyObject
*resultobj
;
32194 wxDirFilterListCtrl
*result
;
32195 char *kwnames
[] = {
32199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
32201 if (!wxPyCheckForApp()) SWIG_fail
;
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
32205 wxPyEndAllowThreads(__tstate
);
32206 if (PyErr_Occurred()) SWIG_fail
;
32208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32215 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32216 PyObject
*resultobj
;
32217 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32218 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32219 int arg3
= (int) (int)-1 ;
32220 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32221 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32222 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32223 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32224 long arg6
= (long) 0 ;
32228 PyObject
* obj0
= 0 ;
32229 PyObject
* obj1
= 0 ;
32230 PyObject
* obj2
= 0 ;
32231 PyObject
* obj3
= 0 ;
32232 PyObject
* obj4
= 0 ;
32233 PyObject
* obj5
= 0 ;
32234 char *kwnames
[] = {
32235 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32240 if (SWIG_arg_fail(1)) SWIG_fail
;
32241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32242 if (SWIG_arg_fail(2)) SWIG_fail
;
32245 arg3
= (int const)(SWIG_As_int(obj2
));
32246 if (SWIG_arg_fail(3)) SWIG_fail
;
32252 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32258 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32263 arg6
= (long)(SWIG_As_long(obj5
));
32264 if (SWIG_arg_fail(6)) SWIG_fail
;
32268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32271 wxPyEndAllowThreads(__tstate
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32283 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32284 PyObject
*resultobj
;
32285 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32286 wxString
*arg2
= 0 ;
32288 bool temp2
= false ;
32289 PyObject
* obj0
= 0 ;
32290 PyObject
* obj1
= 0 ;
32291 PyObject
* obj2
= 0 ;
32292 char *kwnames
[] = {
32293 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32298 if (SWIG_arg_fail(1)) SWIG_fail
;
32300 arg2
= wxString_in_helper(obj1
);
32301 if (arg2
== NULL
) SWIG_fail
;
32305 arg3
= (int)(SWIG_As_int(obj2
));
32306 if (SWIG_arg_fail(3)) SWIG_fail
;
32309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32310 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32312 wxPyEndAllowThreads(__tstate
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32315 Py_INCREF(Py_None
); resultobj
= Py_None
;
32330 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32333 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32335 return Py_BuildValue((char *)"");
32337 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32338 PyObject
*resultobj
;
32339 wxWindow
*arg1
= (wxWindow
*) 0 ;
32340 int arg2
= (int) (int)-1 ;
32341 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32342 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32343 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32344 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32345 long arg5
= (long) 0 ;
32346 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32347 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32348 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32349 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32350 wxPyControl
*result
;
32353 bool temp7
= false ;
32354 PyObject
* obj0
= 0 ;
32355 PyObject
* obj1
= 0 ;
32356 PyObject
* obj2
= 0 ;
32357 PyObject
* obj3
= 0 ;
32358 PyObject
* obj4
= 0 ;
32359 PyObject
* obj5
= 0 ;
32360 PyObject
* obj6
= 0 ;
32361 char *kwnames
[] = {
32362 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32367 if (SWIG_arg_fail(1)) SWIG_fail
;
32370 arg2
= (int const)(SWIG_As_int(obj1
));
32371 if (SWIG_arg_fail(2)) SWIG_fail
;
32377 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32383 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32388 arg5
= (long)(SWIG_As_long(obj4
));
32389 if (SWIG_arg_fail(5)) SWIG_fail
;
32394 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32395 if (SWIG_arg_fail(6)) SWIG_fail
;
32396 if (arg6
== NULL
) {
32397 SWIG_null_ref("wxValidator");
32399 if (SWIG_arg_fail(6)) SWIG_fail
;
32404 arg7
= wxString_in_helper(obj6
);
32405 if (arg7
== NULL
) SWIG_fail
;
32410 if (!wxPyCheckForApp()) SWIG_fail
;
32411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32412 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32432 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32433 PyObject
*resultobj
;
32434 wxPyControl
*result
;
32435 char *kwnames
[] = {
32439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32441 if (!wxPyCheckForApp()) SWIG_fail
;
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 result
= (wxPyControl
*)new wxPyControl();
32445 wxPyEndAllowThreads(__tstate
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32455 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32456 PyObject
*resultobj
;
32457 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32458 PyObject
*arg2
= (PyObject
*) 0 ;
32459 PyObject
*arg3
= (PyObject
*) 0 ;
32460 PyObject
* obj0
= 0 ;
32461 PyObject
* obj1
= 0 ;
32462 PyObject
* obj2
= 0 ;
32463 char *kwnames
[] = {
32464 (char *) "self",(char *) "self",(char *) "_class", NULL
32467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32469 if (SWIG_arg_fail(1)) SWIG_fail
;
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 Py_INCREF(Py_None
); resultobj
= Py_None
;
32486 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32487 PyObject
*resultobj
;
32488 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32491 PyObject
* obj0
= 0 ;
32492 PyObject
* obj1
= 0 ;
32493 char *kwnames
[] = {
32494 (char *) "self",(char *) "size", NULL
32497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32499 if (SWIG_arg_fail(1)) SWIG_fail
;
32502 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32506 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32508 wxPyEndAllowThreads(__tstate
);
32509 if (PyErr_Occurred()) SWIG_fail
;
32511 Py_INCREF(Py_None
); resultobj
= Py_None
;
32518 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32519 PyObject
*resultobj
;
32520 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32525 PyObject
* obj0
= 0 ;
32526 PyObject
* obj1
= 0 ;
32527 PyObject
* obj2
= 0 ;
32528 PyObject
* obj3
= 0 ;
32529 PyObject
* obj4
= 0 ;
32530 char *kwnames
[] = {
32531 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32536 if (SWIG_arg_fail(1)) SWIG_fail
;
32538 arg2
= (int)(SWIG_As_int(obj1
));
32539 if (SWIG_arg_fail(2)) SWIG_fail
;
32542 arg3
= (int)(SWIG_As_int(obj2
));
32543 if (SWIG_arg_fail(3)) SWIG_fail
;
32546 arg4
= (int)(SWIG_As_int(obj3
));
32547 if (SWIG_arg_fail(4)) SWIG_fail
;
32550 arg5
= (int)(SWIG_As_int(obj4
));
32551 if (SWIG_arg_fail(5)) SWIG_fail
;
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32560 Py_INCREF(Py_None
); resultobj
= Py_None
;
32567 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
;
32569 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32574 int arg6
= (int) wxSIZE_AUTO
;
32575 PyObject
* obj0
= 0 ;
32576 PyObject
* obj1
= 0 ;
32577 PyObject
* obj2
= 0 ;
32578 PyObject
* obj3
= 0 ;
32579 PyObject
* obj4
= 0 ;
32580 PyObject
* obj5
= 0 ;
32581 char *kwnames
[] = {
32582 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32587 if (SWIG_arg_fail(1)) SWIG_fail
;
32589 arg2
= (int)(SWIG_As_int(obj1
));
32590 if (SWIG_arg_fail(2)) SWIG_fail
;
32593 arg3
= (int)(SWIG_As_int(obj2
));
32594 if (SWIG_arg_fail(3)) SWIG_fail
;
32597 arg4
= (int)(SWIG_As_int(obj3
));
32598 if (SWIG_arg_fail(4)) SWIG_fail
;
32601 arg5
= (int)(SWIG_As_int(obj4
));
32602 if (SWIG_arg_fail(5)) SWIG_fail
;
32606 arg6
= (int)(SWIG_As_int(obj5
));
32607 if (SWIG_arg_fail(6)) SWIG_fail
;
32611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32612 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32617 Py_INCREF(Py_None
); resultobj
= Py_None
;
32624 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32625 PyObject
*resultobj
;
32626 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32629 PyObject
* obj0
= 0 ;
32630 PyObject
* obj1
= 0 ;
32631 PyObject
* obj2
= 0 ;
32632 char *kwnames
[] = {
32633 (char *) "self",(char *) "width",(char *) "height", NULL
32636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32638 if (SWIG_arg_fail(1)) SWIG_fail
;
32640 arg2
= (int)(SWIG_As_int(obj1
));
32641 if (SWIG_arg_fail(2)) SWIG_fail
;
32644 arg3
= (int)(SWIG_As_int(obj2
));
32645 if (SWIG_arg_fail(3)) SWIG_fail
;
32648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32649 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32651 wxPyEndAllowThreads(__tstate
);
32652 if (PyErr_Occurred()) SWIG_fail
;
32654 Py_INCREF(Py_None
); resultobj
= Py_None
;
32661 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32662 PyObject
*resultobj
;
32663 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32666 PyObject
* obj0
= 0 ;
32667 PyObject
* obj1
= 0 ;
32668 PyObject
* obj2
= 0 ;
32669 char *kwnames
[] = {
32670 (char *) "self",(char *) "x",(char *) "y", NULL
32673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32675 if (SWIG_arg_fail(1)) SWIG_fail
;
32677 arg2
= (int)(SWIG_As_int(obj1
));
32678 if (SWIG_arg_fail(2)) SWIG_fail
;
32681 arg3
= (int)(SWIG_As_int(obj2
));
32682 if (SWIG_arg_fail(3)) SWIG_fail
;
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32691 Py_INCREF(Py_None
); resultobj
= Py_None
;
32698 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32699 PyObject
*resultobj
;
32700 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32701 int *arg2
= (int *) 0 ;
32702 int *arg3
= (int *) 0 ;
32707 PyObject
* obj0
= 0 ;
32708 char *kwnames
[] = {
32709 (char *) "self", NULL
32712 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32713 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32716 if (SWIG_arg_fail(1)) SWIG_fail
;
32718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32724 Py_INCREF(Py_None
); resultobj
= Py_None
;
32725 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32726 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32727 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32728 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32735 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32736 PyObject
*resultobj
;
32737 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32738 int *arg2
= (int *) 0 ;
32739 int *arg3
= (int *) 0 ;
32744 PyObject
* obj0
= 0 ;
32745 char *kwnames
[] = {
32746 (char *) "self", NULL
32749 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32750 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32753 if (SWIG_arg_fail(1)) SWIG_fail
;
32755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32756 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32758 wxPyEndAllowThreads(__tstate
);
32759 if (PyErr_Occurred()) SWIG_fail
;
32761 Py_INCREF(Py_None
); resultobj
= Py_None
;
32762 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32763 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32764 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32765 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32772 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32773 PyObject
*resultobj
;
32774 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32775 int *arg2
= (int *) 0 ;
32776 int *arg3
= (int *) 0 ;
32781 PyObject
* obj0
= 0 ;
32782 char *kwnames
[] = {
32783 (char *) "self", NULL
32786 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32787 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32790 if (SWIG_arg_fail(1)) SWIG_fail
;
32792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32795 wxPyEndAllowThreads(__tstate
);
32796 if (PyErr_Occurred()) SWIG_fail
;
32798 Py_INCREF(Py_None
); resultobj
= Py_None
;
32799 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32800 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32801 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32802 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32809 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32810 PyObject
*resultobj
;
32811 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32813 PyObject
* obj0
= 0 ;
32814 char *kwnames
[] = {
32815 (char *) "self", NULL
32818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32820 if (SWIG_arg_fail(1)) SWIG_fail
;
32822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32823 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32825 wxPyEndAllowThreads(__tstate
);
32826 if (PyErr_Occurred()) SWIG_fail
;
32829 wxSize
* resultptr
;
32830 resultptr
= new wxSize((wxSize
&)(result
));
32831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32839 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
;
32841 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32843 PyObject
* obj0
= 0 ;
32844 char *kwnames
[] = {
32845 (char *) "self", NULL
32848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32850 if (SWIG_arg_fail(1)) SWIG_fail
;
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32855 wxPyEndAllowThreads(__tstate
);
32856 if (PyErr_Occurred()) SWIG_fail
;
32859 wxSize
* resultptr
;
32860 resultptr
= new wxSize((wxSize
&)(result
));
32861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32869 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32870 PyObject
*resultobj
;
32871 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32872 PyObject
* obj0
= 0 ;
32873 char *kwnames
[] = {
32874 (char *) "self", NULL
32877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32879 if (SWIG_arg_fail(1)) SWIG_fail
;
32881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32882 (arg1
)->base_InitDialog();
32884 wxPyEndAllowThreads(__tstate
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32887 Py_INCREF(Py_None
); resultobj
= Py_None
;
32894 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32895 PyObject
*resultobj
;
32896 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32898 PyObject
* obj0
= 0 ;
32899 char *kwnames
[] = {
32900 (char *) "self", NULL
32903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32905 if (SWIG_arg_fail(1)) SWIG_fail
;
32907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32908 result
= (bool)(arg1
)->base_TransferDataToWindow();
32910 wxPyEndAllowThreads(__tstate
);
32911 if (PyErr_Occurred()) SWIG_fail
;
32914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32922 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32923 PyObject
*resultobj
;
32924 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32926 PyObject
* obj0
= 0 ;
32927 char *kwnames
[] = {
32928 (char *) "self", NULL
32931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32933 if (SWIG_arg_fail(1)) SWIG_fail
;
32935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32936 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32938 wxPyEndAllowThreads(__tstate
);
32939 if (PyErr_Occurred()) SWIG_fail
;
32942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32950 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32951 PyObject
*resultobj
;
32952 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32954 PyObject
* obj0
= 0 ;
32955 char *kwnames
[] = {
32956 (char *) "self", NULL
32959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32961 if (SWIG_arg_fail(1)) SWIG_fail
;
32963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32964 result
= (bool)(arg1
)->base_Validate();
32966 wxPyEndAllowThreads(__tstate
);
32967 if (PyErr_Occurred()) SWIG_fail
;
32970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32978 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32979 PyObject
*resultobj
;
32980 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32982 PyObject
* obj0
= 0 ;
32983 char *kwnames
[] = {
32984 (char *) "self", NULL
32987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32989 if (SWIG_arg_fail(1)) SWIG_fail
;
32991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32994 wxPyEndAllowThreads(__tstate
);
32995 if (PyErr_Occurred()) SWIG_fail
;
32998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33006 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33007 PyObject
*resultobj
;
33008 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33010 PyObject
* obj0
= 0 ;
33011 char *kwnames
[] = {
33012 (char *) "self", NULL
33015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
33016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33017 if (SWIG_arg_fail(1)) SWIG_fail
;
33019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33020 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
33022 wxPyEndAllowThreads(__tstate
);
33023 if (PyErr_Occurred()) SWIG_fail
;
33026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33034 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33035 PyObject
*resultobj
;
33036 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33038 PyObject
* obj0
= 0 ;
33039 char *kwnames
[] = {
33040 (char *) "self", NULL
33043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
33044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33045 if (SWIG_arg_fail(1)) SWIG_fail
;
33047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33048 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
33050 wxPyEndAllowThreads(__tstate
);
33051 if (PyErr_Occurred()) SWIG_fail
;
33054 wxSize
* resultptr
;
33055 resultptr
= new wxSize((wxSize
&)(result
));
33056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33064 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33065 PyObject
*resultobj
;
33066 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33067 wxWindow
*arg2
= (wxWindow
*) 0 ;
33068 PyObject
* obj0
= 0 ;
33069 PyObject
* obj1
= 0 ;
33070 char *kwnames
[] = {
33071 (char *) "self",(char *) "child", NULL
33074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33076 if (SWIG_arg_fail(1)) SWIG_fail
;
33077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33078 if (SWIG_arg_fail(2)) SWIG_fail
;
33080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 (arg1
)->base_AddChild(arg2
);
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33086 Py_INCREF(Py_None
); resultobj
= Py_None
;
33093 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33094 PyObject
*resultobj
;
33095 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33096 wxWindow
*arg2
= (wxWindow
*) 0 ;
33097 PyObject
* obj0
= 0 ;
33098 PyObject
* obj1
= 0 ;
33099 char *kwnames
[] = {
33100 (char *) "self",(char *) "child", NULL
33103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33105 if (SWIG_arg_fail(1)) SWIG_fail
;
33106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33107 if (SWIG_arg_fail(2)) SWIG_fail
;
33109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33110 (arg1
)->base_RemoveChild(arg2
);
33112 wxPyEndAllowThreads(__tstate
);
33113 if (PyErr_Occurred()) SWIG_fail
;
33115 Py_INCREF(Py_None
); resultobj
= Py_None
;
33122 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33123 PyObject
*resultobj
;
33124 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33126 PyObject
* obj0
= 0 ;
33127 char *kwnames
[] = {
33128 (char *) "self", NULL
33131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
33132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33133 if (SWIG_arg_fail(1)) SWIG_fail
;
33135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
33138 wxPyEndAllowThreads(__tstate
);
33139 if (PyErr_Occurred()) SWIG_fail
;
33142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33150 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33151 PyObject
*resultobj
;
33152 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33153 wxVisualAttributes result
;
33154 PyObject
* obj0
= 0 ;
33155 char *kwnames
[] = {
33156 (char *) "self", NULL
33159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33161 if (SWIG_arg_fail(1)) SWIG_fail
;
33163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33164 result
= (arg1
)->base_GetDefaultAttributes();
33166 wxPyEndAllowThreads(__tstate
);
33167 if (PyErr_Occurred()) SWIG_fail
;
33170 wxVisualAttributes
* resultptr
;
33171 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
33172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33180 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33183 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33185 return Py_BuildValue((char *)"");
33187 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33188 PyObject
*resultobj
;
33189 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33190 int arg2
= (int) 0 ;
33191 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33192 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33193 wxHelpEvent
*result
;
33195 PyObject
* obj0
= 0 ;
33196 PyObject
* obj1
= 0 ;
33197 PyObject
* obj2
= 0 ;
33198 char *kwnames
[] = {
33199 (char *) "type",(char *) "winid",(char *) "pt", NULL
33202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33205 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33206 if (SWIG_arg_fail(1)) SWIG_fail
;
33211 arg2
= (int)(SWIG_As_int(obj1
));
33212 if (SWIG_arg_fail(2)) SWIG_fail
;
33218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33223 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33225 wxPyEndAllowThreads(__tstate
);
33226 if (PyErr_Occurred()) SWIG_fail
;
33228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33235 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33236 PyObject
*resultobj
;
33237 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33239 PyObject
* obj0
= 0 ;
33240 char *kwnames
[] = {
33241 (char *) "self", NULL
33244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33246 if (SWIG_arg_fail(1)) SWIG_fail
;
33248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33249 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33251 wxPyEndAllowThreads(__tstate
);
33252 if (PyErr_Occurred()) SWIG_fail
;
33255 wxPoint
* resultptr
;
33256 resultptr
= new wxPoint((wxPoint
const &)(result
));
33257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33265 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33266 PyObject
*resultobj
;
33267 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33268 wxPoint
*arg2
= 0 ;
33270 PyObject
* obj0
= 0 ;
33271 PyObject
* obj1
= 0 ;
33272 char *kwnames
[] = {
33273 (char *) "self",(char *) "pos", NULL
33276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33278 if (SWIG_arg_fail(1)) SWIG_fail
;
33281 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33285 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33287 wxPyEndAllowThreads(__tstate
);
33288 if (PyErr_Occurred()) SWIG_fail
;
33290 Py_INCREF(Py_None
); resultobj
= Py_None
;
33297 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33298 PyObject
*resultobj
;
33299 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33301 PyObject
* obj0
= 0 ;
33302 char *kwnames
[] = {
33303 (char *) "self", NULL
33306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33308 if (SWIG_arg_fail(1)) SWIG_fail
;
33310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33312 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33313 result
= (wxString
*) &_result_ref
;
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33323 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33332 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33333 PyObject
*resultobj
;
33334 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33335 wxString
*arg2
= 0 ;
33336 bool temp2
= false ;
33337 PyObject
* obj0
= 0 ;
33338 PyObject
* obj1
= 0 ;
33339 char *kwnames
[] = {
33340 (char *) "self",(char *) "link", NULL
33343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33345 if (SWIG_arg_fail(1)) SWIG_fail
;
33347 arg2
= wxString_in_helper(obj1
);
33348 if (arg2
== NULL
) SWIG_fail
;
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 (arg1
)->SetLink((wxString
const &)*arg2
);
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33358 Py_INCREF(Py_None
); resultobj
= Py_None
;
33373 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33374 PyObject
*resultobj
;
33375 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33377 PyObject
* obj0
= 0 ;
33378 char *kwnames
[] = {
33379 (char *) "self", NULL
33382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33384 if (SWIG_arg_fail(1)) SWIG_fail
;
33386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33389 result
= (wxString
*) &_result_ref
;
33392 wxPyEndAllowThreads(__tstate
);
33393 if (PyErr_Occurred()) SWIG_fail
;
33397 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33399 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33408 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33409 PyObject
*resultobj
;
33410 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33411 wxString
*arg2
= 0 ;
33412 bool temp2
= false ;
33413 PyObject
* obj0
= 0 ;
33414 PyObject
* obj1
= 0 ;
33415 char *kwnames
[] = {
33416 (char *) "self",(char *) "target", NULL
33419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33421 if (SWIG_arg_fail(1)) SWIG_fail
;
33423 arg2
= wxString_in_helper(obj1
);
33424 if (arg2
== NULL
) SWIG_fail
;
33428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 (arg1
)->SetTarget((wxString
const &)*arg2
);
33431 wxPyEndAllowThreads(__tstate
);
33432 if (PyErr_Occurred()) SWIG_fail
;
33434 Py_INCREF(Py_None
); resultobj
= Py_None
;
33449 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33452 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33454 return Py_BuildValue((char *)"");
33456 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33457 PyObject
*resultobj
;
33458 wxWindow
*arg1
= (wxWindow
*) NULL
;
33459 bool arg2
= (bool) true ;
33460 wxContextHelp
*result
;
33461 PyObject
* obj0
= 0 ;
33462 PyObject
* obj1
= 0 ;
33463 char *kwnames
[] = {
33464 (char *) "window",(char *) "doNow", NULL
33467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33470 if (SWIG_arg_fail(1)) SWIG_fail
;
33474 arg2
= (bool)(SWIG_As_bool(obj1
));
33475 if (SWIG_arg_fail(2)) SWIG_fail
;
33479 if (!wxPyCheckForApp()) SWIG_fail
;
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33493 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33494 PyObject
*resultobj
;
33495 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33496 PyObject
* obj0
= 0 ;
33497 char *kwnames
[] = {
33498 (char *) "self", NULL
33501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33503 if (SWIG_arg_fail(1)) SWIG_fail
;
33505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33508 wxPyEndAllowThreads(__tstate
);
33509 if (PyErr_Occurred()) SWIG_fail
;
33511 Py_INCREF(Py_None
); resultobj
= Py_None
;
33518 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33519 PyObject
*resultobj
;
33520 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33521 wxWindow
*arg2
= (wxWindow
*) NULL
;
33523 PyObject
* obj0
= 0 ;
33524 PyObject
* obj1
= 0 ;
33525 char *kwnames
[] = {
33526 (char *) "self",(char *) "window", NULL
33529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33531 if (SWIG_arg_fail(1)) SWIG_fail
;
33533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33534 if (SWIG_arg_fail(2)) SWIG_fail
;
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33540 wxPyEndAllowThreads(__tstate
);
33541 if (PyErr_Occurred()) SWIG_fail
;
33544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33552 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33553 PyObject
*resultobj
;
33554 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33556 PyObject
* obj0
= 0 ;
33557 char *kwnames
[] = {
33558 (char *) "self", NULL
33561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33563 if (SWIG_arg_fail(1)) SWIG_fail
;
33565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33566 result
= (bool)(arg1
)->EndContextHelp();
33568 wxPyEndAllowThreads(__tstate
);
33569 if (PyErr_Occurred()) SWIG_fail
;
33572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33580 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33583 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33585 return Py_BuildValue((char *)"");
33587 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
;
33589 wxWindow
*arg1
= (wxWindow
*) 0 ;
33590 int arg2
= (int) wxID_CONTEXT_HELP
;
33591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33595 long arg5
= (long) wxBU_AUTODRAW
;
33596 wxContextHelpButton
*result
;
33599 PyObject
* obj0
= 0 ;
33600 PyObject
* obj1
= 0 ;
33601 PyObject
* obj2
= 0 ;
33602 PyObject
* obj3
= 0 ;
33603 PyObject
* obj4
= 0 ;
33604 char *kwnames
[] = {
33605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33610 if (SWIG_arg_fail(1)) SWIG_fail
;
33613 arg2
= (int)(SWIG_As_int(obj1
));
33614 if (SWIG_arg_fail(2)) SWIG_fail
;
33620 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33626 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33631 arg5
= (long)(SWIG_As_long(obj4
));
33632 if (SWIG_arg_fail(5)) SWIG_fail
;
33636 if (!wxPyCheckForApp()) SWIG_fail
;
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33640 wxPyEndAllowThreads(__tstate
);
33641 if (PyErr_Occurred()) SWIG_fail
;
33643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33650 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33653 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33655 return Py_BuildValue((char *)"");
33657 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33658 PyObject
*resultobj
;
33659 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33660 wxHelpProvider
*result
;
33661 PyObject
* obj0
= 0 ;
33662 char *kwnames
[] = {
33663 (char *) "helpProvider", NULL
33666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33668 if (SWIG_arg_fail(1)) SWIG_fail
;
33670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33671 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33673 wxPyEndAllowThreads(__tstate
);
33674 if (PyErr_Occurred()) SWIG_fail
;
33676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33683 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33684 PyObject
*resultobj
;
33685 wxHelpProvider
*result
;
33686 char *kwnames
[] = {
33690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33693 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33695 wxPyEndAllowThreads(__tstate
);
33696 if (PyErr_Occurred()) SWIG_fail
;
33698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33705 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33706 PyObject
*resultobj
;
33707 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33708 wxWindow
*arg2
= (wxWindow
*) 0 ;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 char *kwnames
[] = {
33713 (char *) "self",(char *) "window", NULL
33716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33718 if (SWIG_arg_fail(1)) SWIG_fail
;
33719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33720 if (SWIG_arg_fail(2)) SWIG_fail
;
33722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33723 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33725 wxPyEndAllowThreads(__tstate
);
33726 if (PyErr_Occurred()) SWIG_fail
;
33730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33741 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33742 PyObject
*resultobj
;
33743 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33744 wxWindow
*arg2
= (wxWindow
*) 0 ;
33746 PyObject
* obj0
= 0 ;
33747 PyObject
* obj1
= 0 ;
33748 char *kwnames
[] = {
33749 (char *) "self",(char *) "window", NULL
33752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33754 if (SWIG_arg_fail(1)) SWIG_fail
;
33755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33756 if (SWIG_arg_fail(2)) SWIG_fail
;
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (bool)(arg1
)->ShowHelp(arg2
);
33761 wxPyEndAllowThreads(__tstate
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33773 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33774 PyObject
*resultobj
;
33775 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33776 wxWindow
*arg2
= (wxWindow
*) 0 ;
33777 wxString
*arg3
= 0 ;
33778 bool temp3
= false ;
33779 PyObject
* obj0
= 0 ;
33780 PyObject
* obj1
= 0 ;
33781 PyObject
* obj2
= 0 ;
33782 char *kwnames
[] = {
33783 (char *) "self",(char *) "window",(char *) "text", NULL
33786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33788 if (SWIG_arg_fail(1)) SWIG_fail
;
33789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33790 if (SWIG_arg_fail(2)) SWIG_fail
;
33792 arg3
= wxString_in_helper(obj2
);
33793 if (arg3
== NULL
) SWIG_fail
;
33797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33798 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33800 wxPyEndAllowThreads(__tstate
);
33801 if (PyErr_Occurred()) SWIG_fail
;
33803 Py_INCREF(Py_None
); resultobj
= Py_None
;
33818 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33819 PyObject
*resultobj
;
33820 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33822 wxString
*arg3
= 0 ;
33823 bool temp3
= false ;
33824 PyObject
* obj0
= 0 ;
33825 PyObject
* obj1
= 0 ;
33826 PyObject
* obj2
= 0 ;
33827 char *kwnames
[] = {
33828 (char *) "self",(char *) "id",(char *) "text", NULL
33831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33833 if (SWIG_arg_fail(1)) SWIG_fail
;
33835 arg2
= (int)(SWIG_As_int(obj1
));
33836 if (SWIG_arg_fail(2)) SWIG_fail
;
33839 arg3
= wxString_in_helper(obj2
);
33840 if (arg3
== NULL
) SWIG_fail
;
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33847 wxPyEndAllowThreads(__tstate
);
33848 if (PyErr_Occurred()) SWIG_fail
;
33850 Py_INCREF(Py_None
); resultobj
= Py_None
;
33865 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33866 PyObject
*resultobj
;
33867 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33868 wxWindow
*arg2
= (wxWindow
*) 0 ;
33869 PyObject
* obj0
= 0 ;
33870 PyObject
* obj1
= 0 ;
33871 char *kwnames
[] = {
33872 (char *) "self",(char *) "window", NULL
33875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33877 if (SWIG_arg_fail(1)) SWIG_fail
;
33878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33879 if (SWIG_arg_fail(2)) SWIG_fail
;
33881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33882 (arg1
)->RemoveHelp(arg2
);
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33887 Py_INCREF(Py_None
); resultobj
= Py_None
;
33894 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33895 PyObject
*resultobj
;
33896 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33897 PyObject
* obj0
= 0 ;
33898 char *kwnames
[] = {
33899 (char *) "self", NULL
33902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33904 if (SWIG_arg_fail(1)) SWIG_fail
;
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33907 wxHelpProvider_Destroy(arg1
);
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33912 Py_INCREF(Py_None
); resultobj
= Py_None
;
33919 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33922 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33924 return Py_BuildValue((char *)"");
33926 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33927 PyObject
*resultobj
;
33928 wxSimpleHelpProvider
*result
;
33929 char *kwnames
[] = {
33933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33948 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33951 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33953 return Py_BuildValue((char *)"");
33955 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33956 PyObject
*resultobj
;
33957 wxBitmap
*arg1
= 0 ;
33958 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33959 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33960 wxGenericDragImage
*result
;
33961 PyObject
* obj0
= 0 ;
33962 PyObject
* obj1
= 0 ;
33963 char *kwnames
[] = {
33964 (char *) "image",(char *) "cursor", NULL
33967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33970 if (SWIG_arg_fail(1)) SWIG_fail
;
33971 if (arg1
== NULL
) {
33972 SWIG_null_ref("wxBitmap");
33974 if (SWIG_arg_fail(1)) SWIG_fail
;
33978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33979 if (SWIG_arg_fail(2)) SWIG_fail
;
33980 if (arg2
== NULL
) {
33981 SWIG_null_ref("wxCursor");
33983 if (SWIG_arg_fail(2)) SWIG_fail
;
33987 if (!wxPyCheckForApp()) SWIG_fail
;
33988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33989 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34001 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34002 PyObject
*resultobj
;
34004 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34005 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34006 wxGenericDragImage
*result
;
34007 PyObject
* obj0
= 0 ;
34008 PyObject
* obj1
= 0 ;
34009 char *kwnames
[] = {
34010 (char *) "image",(char *) "cursor", NULL
34013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
34015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
34016 if (SWIG_arg_fail(1)) SWIG_fail
;
34017 if (arg1
== NULL
) {
34018 SWIG_null_ref("wxIcon");
34020 if (SWIG_arg_fail(1)) SWIG_fail
;
34024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34025 if (SWIG_arg_fail(2)) SWIG_fail
;
34026 if (arg2
== NULL
) {
34027 SWIG_null_ref("wxCursor");
34029 if (SWIG_arg_fail(2)) SWIG_fail
;
34033 if (!wxPyCheckForApp()) SWIG_fail
;
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
34037 wxPyEndAllowThreads(__tstate
);
34038 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34047 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34048 PyObject
*resultobj
;
34049 wxString
*arg1
= 0 ;
34050 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34051 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34052 wxGenericDragImage
*result
;
34053 bool temp1
= false ;
34054 PyObject
* obj0
= 0 ;
34055 PyObject
* obj1
= 0 ;
34056 char *kwnames
[] = {
34057 (char *) "str",(char *) "cursor", NULL
34060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
34062 arg1
= wxString_in_helper(obj0
);
34063 if (arg1
== NULL
) SWIG_fail
;
34068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34069 if (SWIG_arg_fail(2)) SWIG_fail
;
34070 if (arg2
== NULL
) {
34071 SWIG_null_ref("wxCursor");
34073 if (SWIG_arg_fail(2)) SWIG_fail
;
34077 if (!wxPyCheckForApp()) SWIG_fail
;
34078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34079 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34099 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34100 PyObject
*resultobj
;
34101 wxPyTreeCtrl
*arg1
= 0 ;
34102 wxTreeItemId
*arg2
= 0 ;
34103 wxGenericDragImage
*result
;
34104 PyObject
* obj0
= 0 ;
34105 PyObject
* obj1
= 0 ;
34106 char *kwnames
[] = {
34107 (char *) "treeCtrl",(char *) "id", NULL
34110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34113 if (SWIG_arg_fail(1)) SWIG_fail
;
34114 if (arg1
== NULL
) {
34115 SWIG_null_ref("wxPyTreeCtrl");
34117 if (SWIG_arg_fail(1)) SWIG_fail
;
34120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
34121 if (SWIG_arg_fail(2)) SWIG_fail
;
34122 if (arg2
== NULL
) {
34123 SWIG_null_ref("wxTreeItemId");
34125 if (SWIG_arg_fail(2)) SWIG_fail
;
34128 if (!wxPyCheckForApp()) SWIG_fail
;
34129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34142 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34143 PyObject
*resultobj
;
34144 wxPyListCtrl
*arg1
= 0 ;
34146 wxGenericDragImage
*result
;
34147 PyObject
* obj0
= 0 ;
34148 PyObject
* obj1
= 0 ;
34149 char *kwnames
[] = {
34150 (char *) "listCtrl",(char *) "id", NULL
34153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34156 if (SWIG_arg_fail(1)) SWIG_fail
;
34157 if (arg1
== NULL
) {
34158 SWIG_null_ref("wxPyListCtrl");
34160 if (SWIG_arg_fail(1)) SWIG_fail
;
34163 arg2
= (long)(SWIG_As_long(obj1
));
34164 if (SWIG_arg_fail(2)) SWIG_fail
;
34167 if (!wxPyCheckForApp()) SWIG_fail
;
34168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34169 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34171 wxPyEndAllowThreads(__tstate
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34181 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34182 PyObject
*resultobj
;
34183 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34184 PyObject
* obj0
= 0 ;
34185 char *kwnames
[] = {
34186 (char *) "self", NULL
34189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34191 if (SWIG_arg_fail(1)) SWIG_fail
;
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34199 Py_INCREF(Py_None
); resultobj
= Py_None
;
34206 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34207 PyObject
*resultobj
;
34208 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34209 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34210 PyObject
* obj0
= 0 ;
34211 PyObject
* obj1
= 0 ;
34212 char *kwnames
[] = {
34213 (char *) "self",(char *) "bitmap", NULL
34216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34218 if (SWIG_arg_fail(1)) SWIG_fail
;
34219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34220 if (SWIG_arg_fail(2)) SWIG_fail
;
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 (arg1
)->SetBackingBitmap(arg2
);
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34228 Py_INCREF(Py_None
); resultobj
= Py_None
;
34235 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34236 PyObject
*resultobj
;
34237 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34238 wxPoint
*arg2
= 0 ;
34239 wxWindow
*arg3
= (wxWindow
*) 0 ;
34240 bool arg4
= (bool) false ;
34241 wxRect
*arg5
= (wxRect
*) NULL
;
34244 PyObject
* obj0
= 0 ;
34245 PyObject
* obj1
= 0 ;
34246 PyObject
* obj2
= 0 ;
34247 PyObject
* obj3
= 0 ;
34248 PyObject
* obj4
= 0 ;
34249 char *kwnames
[] = {
34250 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34255 if (SWIG_arg_fail(1)) SWIG_fail
;
34258 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34260 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34261 if (SWIG_arg_fail(3)) SWIG_fail
;
34264 arg4
= (bool)(SWIG_As_bool(obj3
));
34265 if (SWIG_arg_fail(4)) SWIG_fail
;
34269 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34270 if (SWIG_arg_fail(5)) SWIG_fail
;
34273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34274 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34276 wxPyEndAllowThreads(__tstate
);
34277 if (PyErr_Occurred()) SWIG_fail
;
34280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34288 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34289 PyObject
*resultobj
;
34290 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34291 wxPoint
*arg2
= 0 ;
34292 wxWindow
*arg3
= (wxWindow
*) 0 ;
34293 wxWindow
*arg4
= (wxWindow
*) 0 ;
34296 PyObject
* obj0
= 0 ;
34297 PyObject
* obj1
= 0 ;
34298 PyObject
* obj2
= 0 ;
34299 PyObject
* obj3
= 0 ;
34300 char *kwnames
[] = {
34301 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34306 if (SWIG_arg_fail(1)) SWIG_fail
;
34309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34311 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34312 if (SWIG_arg_fail(3)) SWIG_fail
;
34313 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34314 if (SWIG_arg_fail(4)) SWIG_fail
;
34316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34317 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34331 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34332 PyObject
*resultobj
;
34333 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34335 PyObject
* obj0
= 0 ;
34336 char *kwnames
[] = {
34337 (char *) "self", NULL
34340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34342 if (SWIG_arg_fail(1)) SWIG_fail
;
34344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34345 result
= (bool)(arg1
)->EndDrag();
34347 wxPyEndAllowThreads(__tstate
);
34348 if (PyErr_Occurred()) SWIG_fail
;
34351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34359 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34360 PyObject
*resultobj
;
34361 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34362 wxPoint
*arg2
= 0 ;
34365 PyObject
* obj0
= 0 ;
34366 PyObject
* obj1
= 0 ;
34367 char *kwnames
[] = {
34368 (char *) "self",(char *) "pt", NULL
34371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34373 if (SWIG_arg_fail(1)) SWIG_fail
;
34376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34380 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34382 wxPyEndAllowThreads(__tstate
);
34383 if (PyErr_Occurred()) SWIG_fail
;
34386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34394 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
;
34396 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34398 PyObject
* obj0
= 0 ;
34399 char *kwnames
[] = {
34400 (char *) "self", NULL
34403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail
;
34407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34408 result
= (bool)(arg1
)->Show();
34410 wxPyEndAllowThreads(__tstate
);
34411 if (PyErr_Occurred()) SWIG_fail
;
34414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34422 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34423 PyObject
*resultobj
;
34424 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34426 PyObject
* obj0
= 0 ;
34427 char *kwnames
[] = {
34428 (char *) "self", NULL
34431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34433 if (SWIG_arg_fail(1)) SWIG_fail
;
34435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34436 result
= (bool)(arg1
)->Hide();
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34450 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
;
34452 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34453 wxPoint
*arg2
= 0 ;
34456 PyObject
* obj0
= 0 ;
34457 PyObject
* obj1
= 0 ;
34458 char *kwnames
[] = {
34459 (char *) "self",(char *) "pos", NULL
34462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34464 if (SWIG_arg_fail(1)) SWIG_fail
;
34467 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34471 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34473 wxPyEndAllowThreads(__tstate
);
34474 if (PyErr_Occurred()) SWIG_fail
;
34477 wxRect
* resultptr
;
34478 resultptr
= new wxRect((wxRect
&)(result
));
34479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34487 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34488 PyObject
*resultobj
;
34489 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34491 wxPoint
*arg3
= 0 ;
34494 PyObject
* obj0
= 0 ;
34495 PyObject
* obj1
= 0 ;
34496 PyObject
* obj2
= 0 ;
34497 char *kwnames
[] = {
34498 (char *) "self",(char *) "dc",(char *) "pos", NULL
34501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34503 if (SWIG_arg_fail(1)) SWIG_fail
;
34505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34506 if (SWIG_arg_fail(2)) SWIG_fail
;
34507 if (arg2
== NULL
) {
34508 SWIG_null_ref("wxDC");
34510 if (SWIG_arg_fail(2)) SWIG_fail
;
34514 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34532 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34533 PyObject
*resultobj
;
34534 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34536 wxMemoryDC
*arg3
= 0 ;
34542 PyObject
* obj0
= 0 ;
34543 PyObject
* obj1
= 0 ;
34544 PyObject
* obj2
= 0 ;
34545 PyObject
* obj3
= 0 ;
34546 PyObject
* obj4
= 0 ;
34547 char *kwnames
[] = {
34548 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34553 if (SWIG_arg_fail(1)) SWIG_fail
;
34555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34556 if (SWIG_arg_fail(2)) SWIG_fail
;
34557 if (arg2
== NULL
) {
34558 SWIG_null_ref("wxDC");
34560 if (SWIG_arg_fail(2)) SWIG_fail
;
34563 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34564 if (SWIG_arg_fail(3)) SWIG_fail
;
34565 if (arg3
== NULL
) {
34566 SWIG_null_ref("wxMemoryDC");
34568 if (SWIG_arg_fail(3)) SWIG_fail
;
34572 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34576 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34582 wxPyEndAllowThreads(__tstate
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34594 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34595 PyObject
*resultobj
;
34596 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34597 wxPoint
*arg2
= 0 ;
34598 wxPoint
*arg3
= 0 ;
34604 PyObject
* obj0
= 0 ;
34605 PyObject
* obj1
= 0 ;
34606 PyObject
* obj2
= 0 ;
34607 PyObject
* obj3
= 0 ;
34608 PyObject
* obj4
= 0 ;
34609 char *kwnames
[] = {
34610 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34615 if (SWIG_arg_fail(1)) SWIG_fail
;
34618 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34625 arg4
= (bool)(SWIG_As_bool(obj3
));
34626 if (SWIG_arg_fail(4)) SWIG_fail
;
34629 arg5
= (bool)(SWIG_As_bool(obj4
));
34630 if (SWIG_arg_fail(5)) SWIG_fail
;
34633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34634 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34648 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34651 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34653 return Py_BuildValue((char *)"");
34655 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34656 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34661 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34666 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34668 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34675 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34676 PyObject
*resultobj
;
34677 wxWindow
*arg1
= (wxWindow
*) 0 ;
34678 int arg2
= (int) -1 ;
34679 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34680 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34681 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34682 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34683 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34684 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34685 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34686 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34687 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34688 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34689 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34690 wxDatePickerCtrl
*result
;
34693 bool temp8
= false ;
34694 PyObject
* obj0
= 0 ;
34695 PyObject
* obj1
= 0 ;
34696 PyObject
* obj2
= 0 ;
34697 PyObject
* obj3
= 0 ;
34698 PyObject
* obj4
= 0 ;
34699 PyObject
* obj5
= 0 ;
34700 PyObject
* obj6
= 0 ;
34701 PyObject
* obj7
= 0 ;
34702 char *kwnames
[] = {
34703 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34708 if (SWIG_arg_fail(1)) SWIG_fail
;
34711 arg2
= (int)(SWIG_As_int(obj1
));
34712 if (SWIG_arg_fail(2)) SWIG_fail
;
34717 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34718 if (SWIG_arg_fail(3)) SWIG_fail
;
34719 if (arg3
== NULL
) {
34720 SWIG_null_ref("wxDateTime");
34722 if (SWIG_arg_fail(3)) SWIG_fail
;
34728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34739 arg6
= (long)(SWIG_As_long(obj5
));
34740 if (SWIG_arg_fail(6)) SWIG_fail
;
34745 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34746 if (SWIG_arg_fail(7)) SWIG_fail
;
34747 if (arg7
== NULL
) {
34748 SWIG_null_ref("wxValidator");
34750 if (SWIG_arg_fail(7)) SWIG_fail
;
34755 arg8
= wxString_in_helper(obj7
);
34756 if (arg8
== NULL
) SWIG_fail
;
34761 if (!wxPyCheckForApp()) SWIG_fail
;
34762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34763 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34765 wxPyEndAllowThreads(__tstate
);
34766 if (PyErr_Occurred()) SWIG_fail
;
34768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34783 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34784 PyObject
*resultobj
;
34785 wxDatePickerCtrl
*result
;
34786 char *kwnames
[] = {
34790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34792 if (!wxPyCheckForApp()) SWIG_fail
;
34793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34796 wxPyEndAllowThreads(__tstate
);
34797 if (PyErr_Occurred()) SWIG_fail
;
34799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34806 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34807 PyObject
*resultobj
;
34808 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34809 wxWindow
*arg2
= (wxWindow
*) 0 ;
34810 int arg3
= (int) -1 ;
34811 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34812 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34813 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34814 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34815 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34816 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34817 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34818 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34819 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34820 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34821 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34825 bool temp9
= false ;
34826 PyObject
* obj0
= 0 ;
34827 PyObject
* obj1
= 0 ;
34828 PyObject
* obj2
= 0 ;
34829 PyObject
* obj3
= 0 ;
34830 PyObject
* obj4
= 0 ;
34831 PyObject
* obj5
= 0 ;
34832 PyObject
* obj6
= 0 ;
34833 PyObject
* obj7
= 0 ;
34834 PyObject
* obj8
= 0 ;
34835 char *kwnames
[] = {
34836 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34841 if (SWIG_arg_fail(1)) SWIG_fail
;
34842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34843 if (SWIG_arg_fail(2)) SWIG_fail
;
34846 arg3
= (int)(SWIG_As_int(obj2
));
34847 if (SWIG_arg_fail(3)) SWIG_fail
;
34852 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34853 if (SWIG_arg_fail(4)) SWIG_fail
;
34854 if (arg4
== NULL
) {
34855 SWIG_null_ref("wxDateTime");
34857 if (SWIG_arg_fail(4)) SWIG_fail
;
34863 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34869 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34874 arg7
= (long)(SWIG_As_long(obj6
));
34875 if (SWIG_arg_fail(7)) SWIG_fail
;
34880 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34881 if (SWIG_arg_fail(8)) SWIG_fail
;
34882 if (arg8
== NULL
) {
34883 SWIG_null_ref("wxValidator");
34885 if (SWIG_arg_fail(8)) SWIG_fail
;
34890 arg9
= wxString_in_helper(obj8
);
34891 if (arg9
== NULL
) SWIG_fail
;
34896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34897 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34899 wxPyEndAllowThreads(__tstate
);
34900 if (PyErr_Occurred()) SWIG_fail
;
34903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34919 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34920 PyObject
*resultobj
;
34921 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34922 wxDateTime
*arg2
= 0 ;
34923 PyObject
* obj0
= 0 ;
34924 PyObject
* obj1
= 0 ;
34925 char *kwnames
[] = {
34926 (char *) "self",(char *) "dt", NULL
34929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34931 if (SWIG_arg_fail(1)) SWIG_fail
;
34933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34934 if (SWIG_arg_fail(2)) SWIG_fail
;
34935 if (arg2
== NULL
) {
34936 SWIG_null_ref("wxDateTime");
34938 if (SWIG_arg_fail(2)) SWIG_fail
;
34941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34942 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34944 wxPyEndAllowThreads(__tstate
);
34945 if (PyErr_Occurred()) SWIG_fail
;
34947 Py_INCREF(Py_None
); resultobj
= Py_None
;
34954 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34955 PyObject
*resultobj
;
34956 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34958 PyObject
* obj0
= 0 ;
34959 char *kwnames
[] = {
34960 (char *) "self", NULL
34963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34965 if (SWIG_arg_fail(1)) SWIG_fail
;
34967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34968 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34970 wxPyEndAllowThreads(__tstate
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34974 wxDateTime
* resultptr
;
34975 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34984 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34985 PyObject
*resultobj
;
34986 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34987 wxDateTime
*arg2
= 0 ;
34988 wxDateTime
*arg3
= 0 ;
34989 PyObject
* obj0
= 0 ;
34990 PyObject
* obj1
= 0 ;
34991 PyObject
* obj2
= 0 ;
34992 char *kwnames
[] = {
34993 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34998 if (SWIG_arg_fail(1)) SWIG_fail
;
35000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35001 if (SWIG_arg_fail(2)) SWIG_fail
;
35002 if (arg2
== NULL
) {
35003 SWIG_null_ref("wxDateTime");
35005 if (SWIG_arg_fail(2)) SWIG_fail
;
35008 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35009 if (SWIG_arg_fail(3)) SWIG_fail
;
35010 if (arg3
== NULL
) {
35011 SWIG_null_ref("wxDateTime");
35013 if (SWIG_arg_fail(3)) SWIG_fail
;
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
35019 wxPyEndAllowThreads(__tstate
);
35020 if (PyErr_Occurred()) SWIG_fail
;
35022 Py_INCREF(Py_None
); resultobj
= Py_None
;
35029 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35030 PyObject
*resultobj
;
35031 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35033 PyObject
* obj0
= 0 ;
35034 char *kwnames
[] = {
35035 (char *) "self", NULL
35038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
35039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35040 if (SWIG_arg_fail(1)) SWIG_fail
;
35042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35043 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
35045 wxPyEndAllowThreads(__tstate
);
35046 if (PyErr_Occurred()) SWIG_fail
;
35049 wxDateTime
* resultptr
;
35050 resultptr
= new wxDateTime((wxDateTime
&)(result
));
35051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35059 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35060 PyObject
*resultobj
;
35061 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35063 PyObject
* obj0
= 0 ;
35064 char *kwnames
[] = {
35065 (char *) "self", NULL
35068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
35069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35070 if (SWIG_arg_fail(1)) SWIG_fail
;
35072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35073 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
35075 wxPyEndAllowThreads(__tstate
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35079 wxDateTime
* resultptr
;
35080 resultptr
= new wxDateTime((wxDateTime
&)(result
));
35081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35089 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
35091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35092 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
35094 return Py_BuildValue((char *)"");
35096 static PyMethodDef SwigMethods
[] = {
35097 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
35104 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
35119 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
35131 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
35136 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
35167 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
35181 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
35186 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
35193 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
35198 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
35206 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35229 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35238 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35269 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35327 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35332 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35344 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35357 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35369 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35373 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35391 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35398 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35424 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35432 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35454 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35460 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35471 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35473 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35479 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35481 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35488 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35490 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35495 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35500 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35530 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35575 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35581 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35593 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35645 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35672 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35744 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35756 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35758 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35764 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35771 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35786 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35788 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35789 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35794 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35798 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35800 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35811 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35813 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35816 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35826 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35827 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35828 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35838 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35839 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35840 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35841 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35842 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35843 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35844 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35845 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35846 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35848 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35850 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35851 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35853 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35854 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35855 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35856 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35857 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35859 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35861 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35862 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35867 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35870 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35871 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35873 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35874 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35875 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35876 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35877 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35878 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35879 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35880 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35881 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35882 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35883 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35884 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35885 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35888 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35889 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35890 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35893 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35894 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35895 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35896 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35898 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35899 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35900 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35908 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35913 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35914 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35917 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35918 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35919 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35920 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35921 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35922 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35924 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35925 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35926 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35927 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35928 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35929 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35932 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35933 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35934 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35935 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35936 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35937 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35939 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35942 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35943 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35944 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35945 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35946 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35948 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35950 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35952 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35953 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35955 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35957 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35958 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35959 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35960 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35962 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35963 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35964 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35965 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35967 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35968 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35969 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35970 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35971 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35972 { NULL
, NULL
, 0, NULL
}
35976 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35978 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35979 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35981 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35982 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35984 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35985 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35987 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35988 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35990 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35991 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35993 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35994 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35996 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35997 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35999 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
36000 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
36002 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
36003 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
36005 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36006 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36008 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36009 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36011 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36012 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36014 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36015 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36017 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36018 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36020 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
36021 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36023 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
36024 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36026 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36027 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36029 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36030 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36032 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36035 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
36036 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36038 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36039 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36041 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36042 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36044 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
36045 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36047 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
36048 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36050 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
36051 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36053 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
36054 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36056 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
36057 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
36059 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36060 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36062 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36063 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36065 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36066 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36068 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36069 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36071 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36072 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36074 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36075 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36077 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36078 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36080 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36081 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36083 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36084 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36086 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36087 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36089 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36090 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36092 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36095 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36096 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36098 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36099 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36101 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36102 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36104 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36105 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36107 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36108 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36110 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36111 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36113 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36114 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36116 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36117 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36119 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36120 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36122 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36123 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36125 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36126 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36128 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36129 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36131 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36132 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36134 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36135 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36137 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
36138 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36140 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
36141 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36143 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
36144 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36146 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
36147 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36149 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36150 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36152 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
36153 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36155 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
36156 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36158 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
36159 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
36161 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
36162 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
36164 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
36165 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
36167 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
36168 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
36170 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
36171 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
36173 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
36174 return (void *)((wxControl
*) ((wxPyControl
*) x
));
36176 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
36177 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
36179 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
36180 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36182 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
36183 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
36185 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
36186 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36188 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
36189 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
36191 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
36192 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
36194 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36195 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36197 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
36198 return (void *)((wxControl
*) ((wxGauge
*) x
));
36200 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
36201 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
36203 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
36204 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36206 static void *_p_wxListbookTo_p_wxControl(void *x
) {
36207 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
36209 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
36210 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
36212 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
36213 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
36215 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36216 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36218 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36219 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36221 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36222 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36224 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36225 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36227 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36228 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36230 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36231 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36233 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36234 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36236 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36237 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36239 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36240 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36242 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36243 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36245 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36246 return (void *)((wxControl
*) ((wxSlider
*) x
));
36248 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36249 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36251 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36252 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36254 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36255 return (void *)((wxControl
*) ((wxButton
*) x
));
36257 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36258 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36260 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36261 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36263 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36264 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36266 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36267 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36269 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
36270 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
36272 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36273 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36275 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36276 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36278 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36279 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36281 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36282 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36284 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36285 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36287 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36288 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36290 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36291 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36293 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36294 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36296 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36297 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36299 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36300 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36302 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36303 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36305 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36306 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36308 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36311 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36312 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36314 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36315 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36317 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36320 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36321 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36323 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36326 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36329 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36330 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36332 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36333 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36335 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36338 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36341 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36344 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36347 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36350 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36351 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36353 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36356 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36359 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36362 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36365 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36368 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36371 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36374 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36377 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36380 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36383 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36386 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36389 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36392 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36395 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36398 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36401 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36404 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36407 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36410 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36413 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36416 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36419 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36422 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36425 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36428 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36431 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36432 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36434 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36435 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36437 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36438 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36440 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36441 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36443 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36444 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36446 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36449 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36452 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36455 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36458 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36461 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36464 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36467 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36470 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) ((wxSizer
*) x
));
36473 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36476 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36479 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36482 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36483 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36485 static void *_p_wxEventTo_p_wxObject(void *x
) {
36486 return (void *)((wxObject
*) ((wxEvent
*) x
));
36488 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36489 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36491 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36492 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36494 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36495 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36497 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36500 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36503 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36506 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36507 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36509 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36510 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36512 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36513 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36515 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36516 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36518 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36519 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36521 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36522 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36524 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36527 static void *_p_wxControlTo_p_wxObject(void *x
) {
36528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36530 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36533 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36536 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36539 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36542 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36545 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36546 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36548 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36551 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36552 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36554 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36555 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36557 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36560 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36563 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36566 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36567 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36569 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36570 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36572 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36575 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36578 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36579 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36581 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36584 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36587 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36588 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36590 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36591 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36593 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36594 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36596 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36599 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36600 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36602 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36603 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36605 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36606 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36608 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36609 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36611 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36612 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36614 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36615 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36617 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36620 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36621 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36623 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36626 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36627 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36629 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36630 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36632 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36633 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36635 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36636 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36638 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36639 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36641 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36642 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36644 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36645 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36647 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36648 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36650 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36651 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36653 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36654 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36656 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36657 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36659 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36660 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36662 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36663 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36665 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36668 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36671 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36674 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36677 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36680 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36683 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36686 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36687 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36689 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36690 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36692 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36695 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36698 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36701 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36702 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36704 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36705 return (void *)((wxObject
*) ((wxListItem
*) x
));
36707 static void *_p_wxImageTo_p_wxObject(void *x
) {
36708 return (void *)((wxObject
*) ((wxImage
*) x
));
36710 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36711 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36713 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36714 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36716 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36717 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36719 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36720 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36722 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36725 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36728 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36731 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36734 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36735 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36737 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36738 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36740 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36741 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36743 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36744 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36746 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36747 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36749 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36752 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36753 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36755 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36756 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36758 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36759 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36761 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36762 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36764 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36765 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36767 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36768 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36770 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36771 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36773 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36776 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36779 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36780 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36782 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36783 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36785 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36788 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36789 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36791 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36792 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36794 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36797 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36800 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36803 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36804 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36806 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36809 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36812 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36813 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36815 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36816 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36818 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36819 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36821 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36822 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36824 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36825 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36827 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36828 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36830 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36831 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36833 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36834 return (void *)((wxWindow
*) ((wxControl
*) x
));
36836 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36837 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36839 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36840 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36842 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36843 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36845 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36846 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36848 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36849 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36851 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36852 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36854 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36855 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36857 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36858 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36860 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36861 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36863 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36864 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36866 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36867 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36869 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36870 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36872 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36873 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36875 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36876 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36878 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36879 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36881 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36882 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36884 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36885 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36887 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36888 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36890 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36891 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36893 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36894 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36896 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36897 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36899 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36900 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36902 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36903 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36905 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36906 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36908 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36909 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36911 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36912 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36914 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36915 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36917 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36918 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36920 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36921 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36923 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36924 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36926 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36927 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36929 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36930 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36932 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36933 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36935 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36936 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36938 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36939 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36941 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36942 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36944 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36945 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36947 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36948 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36950 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36951 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36953 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36954 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36956 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36957 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36959 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36960 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36962 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36963 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36965 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36966 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36968 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36969 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36971 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36972 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36974 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36975 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36977 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36978 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36980 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36981 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36983 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36984 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36986 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36987 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36989 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36990 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36992 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
36993 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
36995 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36996 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36998 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36999 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
37001 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
37002 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
37004 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
37005 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
37007 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37008 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37010 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}};
37011 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}};
37012 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}};
37013 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}};
37014 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}};
37015 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}};
37016 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}};
37017 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}};
37018 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}};
37019 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}};
37020 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}};
37021 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}};
37022 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}};
37023 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}};
37024 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}};
37025 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}};
37026 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}};
37027 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}};
37028 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}};
37029 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}};
37030 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}};
37031 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}};
37032 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}};
37033 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}};
37034 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}};
37035 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}};
37036 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}};
37037 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}};
37038 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}};
37039 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}};
37040 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}};
37041 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}};
37042 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}};
37043 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}};
37044 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}};
37045 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}};
37046 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}};
37047 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}};
37048 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}};
37049 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}};
37050 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}};
37051 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}};
37052 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}};
37053 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}};
37054 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}};
37055 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}};
37056 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}};
37057 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}};
37058 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}};
37059 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}};
37060 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}};
37061 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}};
37062 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}};
37063 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}};
37064 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}};
37065 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}};
37066 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}};
37067 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}};
37068 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}};
37069 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}};
37070 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}};
37071 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}};
37072 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}};
37073 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}};
37074 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}};
37075 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}};
37076 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}};
37077 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}};
37078 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}};
37079 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}};
37080 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}};
37081 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}};
37082 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}};
37083 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}};
37084 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}};
37085 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}};
37086 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}};
37087 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}};
37088 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}};
37089 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}};
37090 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}};
37091 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}};
37092 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}};
37093 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}};
37094 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}};
37095 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}};
37096 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}};
37097 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}};
37098 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}};
37099 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}};
37100 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}};
37101 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}};
37102 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}};
37103 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}};
37104 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}};
37105 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}};
37106 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}};
37107 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}};
37109 static swig_type_info
*swig_types_initial
[] = {
37110 _swigt__p_wxTextUrlEvent
,
37112 _swigt__p_wxCheckBox
,
37113 _swigt__p_wxPyTreeCtrl
,
37115 _swigt__p_wxGenericDirCtrl
,
37117 _swigt__p_wxItemContainer
,
37118 _swigt__p_wxPyListCtrl
,
37119 _swigt__p_wxPyTreeItemData
,
37120 _swigt__p_wxDirFilterListCtrl
,
37121 _swigt__p_wxStaticLine
,
37122 _swigt__p_wxControl
,
37123 _swigt__p_wxPyControl
,
37125 _swigt__p_wxToolBarBase
,
37127 _swigt__p_wxToggleButton
,
37128 _swigt__p_wxRadioButton
,
37129 _swigt__p_wxChoice
,
37130 _swigt__p_wxMemoryDC
,
37132 _swigt__std__ptrdiff_t
,
37133 _swigt__p_wxListItemAttr
,
37138 _swigt__p_wxListView
,
37140 _swigt__p_wxVisualAttributes
,
37141 _swigt__p_wxTextCtrl
,
37142 _swigt__p_wxNotebook
,
37143 _swigt__p_wxChoicebook
,
37144 _swigt__p_wxNotifyEvent
,
37145 _swigt__p_wxArrayString
,
37146 _swigt__p_form_ops_t
,
37147 _swigt__p_wxListbook
,
37148 _swigt__p_wxStaticBitmap
,
37149 _swigt__p_wxSlider
,
37150 _swigt__p_wxStaticBox
,
37151 _swigt__p_wxArrayInt
,
37152 _swigt__p_wxContextHelp
,
37154 _swigt__p_wxDuplexMode
,
37155 _swigt__p_wxBookCtrlBase
,
37156 _swigt__p_wxEvtHandler
,
37157 _swigt__p_wxListEvent
,
37158 _swigt__p_wxCheckListBox
,
37159 _swigt__p_wxListBox
,
37160 _swigt__p_wxSpinButton
,
37161 _swigt__p_wxButton
,
37162 _swigt__p_wxBitmapButton
,
37164 _swigt__p_wxContextHelpButton
,
37165 _swigt__p_wxRadioBox
,
37166 _swigt__p_wxScrollBar
,
37168 _swigt__p_wxComboBox
,
37169 _swigt__p_wxTreeItemId
,
37170 _swigt__p_wxHelpEvent
,
37171 _swigt__p_wxListItem
,
37172 _swigt__p_wxNotebookSizer
,
37173 _swigt__p_wxSpinEvent
,
37174 _swigt__p_wxGenericDragImage
,
37175 _swigt__p_wxSpinCtrl
,
37176 _swigt__p_wxPaperSize
,
37177 _swigt__p_wxImageList
,
37178 _swigt__p_wxHelpProvider
,
37179 _swigt__p_wxTextAttr
,
37180 _swigt__p_wxSimpleHelpProvider
,
37181 _swigt__p_wxChoicebookEvent
,
37182 _swigt__p_wxListbookEvent
,
37183 _swigt__p_wxNotebookEvent
,
37185 _swigt__p_wxObject
,
37186 _swigt__p_wxCursor
,
37187 _swigt__p_wxDateTime
,
37188 _swigt__p_wxKeyEvent
,
37189 _swigt__p_unsigned_long
,
37190 _swigt__p_wxWindow
,
37191 _swigt__p_wxString
,
37192 _swigt__p_wxBitmap
,
37193 _swigt__unsigned_int
,
37194 _swigt__p_unsigned_int
,
37195 _swigt__p_unsigned_char
,
37196 _swigt__p_wxMouseEvent
,
37197 _swigt__p_wxBookCtrlBaseEvent
,
37198 _swigt__p_wxTreeEvent
,
37199 _swigt__p_wxCommandEvent
,
37200 _swigt__p_wxStaticText
,
37201 _swigt__p_wxDatePickerCtrl
,
37202 _swigt__p_wxControlWithItems
,
37203 _swigt__p_wxToolBarToolBase
,
37204 _swigt__p_wxColour
,
37205 _swigt__p_wxToolBar
,
37206 _swigt__p_wxBookCtrlSizer
,
37207 _swigt__p_wxValidator
,
37212 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37214 static swig_const_info swig_const_table
[] = {
37215 {0, 0, 0, 0.0, 0, 0}};
37226 /* Python-specific SWIG API */
37227 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37228 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37229 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37231 /* -----------------------------------------------------------------------------
37232 * global variable support code.
37233 * ----------------------------------------------------------------------------- */
37235 typedef struct swig_globalvar
{
37236 char *name
; /* Name of global variable */
37237 PyObject
*(*get_attr
)(); /* Return the current value */
37238 int (*set_attr
)(PyObject
*); /* Set the value */
37239 struct swig_globalvar
*next
;
37242 typedef struct swig_varlinkobject
{
37244 swig_globalvar
*vars
;
37245 } swig_varlinkobject
;
37248 swig_varlink_repr(swig_varlinkobject
*v
) {
37250 return PyString_FromString("<Swig global variables>");
37254 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37255 swig_globalvar
*var
;
37257 fprintf(fp
,"Swig global variables { ");
37258 for (var
= v
->vars
; var
; var
=var
->next
) {
37259 fprintf(fp
,"%s", var
->name
);
37260 if (var
->next
) fprintf(fp
,", ");
37262 fprintf(fp
," }\n");
37267 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37268 swig_globalvar
*var
= v
->vars
;
37270 if (strcmp(var
->name
,n
) == 0) {
37271 return (*var
->get_attr
)();
37275 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37280 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37281 swig_globalvar
*var
= v
->vars
;
37283 if (strcmp(var
->name
,n
) == 0) {
37284 return (*var
->set_attr
)(p
);
37288 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37292 static PyTypeObject varlinktype
= {
37293 PyObject_HEAD_INIT(0)
37294 0, /* Number of items in variable part (ob_size) */
37295 (char *)"swigvarlink", /* Type name (tp_name) */
37296 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37297 0, /* Itemsize (tp_itemsize) */
37298 0, /* Deallocator (tp_dealloc) */
37299 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37300 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37301 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37302 0, /* tp_compare */
37303 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37304 0, /* tp_as_number */
37305 0, /* tp_as_sequence */
37306 0, /* tp_as_mapping */
37310 0, /* tp_getattro */
37311 0, /* tp_setattro */
37312 0, /* tp_as_buffer */
37315 #if PY_VERSION_HEX >= 0x02000000
37316 0, /* tp_traverse */
37319 #if PY_VERSION_HEX >= 0x02010000
37320 0, /* tp_richcompare */
37321 0, /* tp_weaklistoffset */
37323 #if PY_VERSION_HEX >= 0x02020000
37324 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37326 #if PY_VERSION_HEX >= 0x02030000
37329 #ifdef COUNT_ALLOCS
37330 0,0,0,0 /* tp_alloc -> tp_next */
37334 /* Create a variable linking object for use later */
37336 SWIG_Python_newvarlink(void) {
37337 swig_varlinkobject
*result
= 0;
37338 result
= PyMem_NEW(swig_varlinkobject
,1);
37339 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37340 result
->ob_type
= &varlinktype
;
37342 result
->ob_refcnt
= 0;
37343 Py_XINCREF((PyObject
*) result
);
37344 return ((PyObject
*) result
);
37348 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37349 swig_varlinkobject
*v
;
37350 swig_globalvar
*gv
;
37351 v
= (swig_varlinkobject
*) p
;
37352 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37353 gv
->name
= (char *) malloc(strlen(name
)+1);
37354 strcpy(gv
->name
,name
);
37355 gv
->get_attr
= get_attr
;
37356 gv
->set_attr
= set_attr
;
37357 gv
->next
= v
->vars
;
37361 /* -----------------------------------------------------------------------------
37362 * constants/methods manipulation
37363 * ----------------------------------------------------------------------------- */
37365 /* Install Constants */
37367 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37370 for (i
= 0; constants
[i
].type
; i
++) {
37371 switch(constants
[i
].type
) {
37373 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37375 case SWIG_PY_FLOAT
:
37376 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37378 case SWIG_PY_STRING
:
37379 if (constants
[i
].pvalue
) {
37380 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37382 Py_INCREF(Py_None
);
37386 case SWIG_PY_POINTER
:
37387 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37389 case SWIG_PY_BINARY
:
37390 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37397 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37403 /* -----------------------------------------------------------------------------*/
37404 /* Fix SwigMethods to carry the callback ptrs when needed */
37405 /* -----------------------------------------------------------------------------*/
37408 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37409 swig_const_info
*const_table
,
37410 swig_type_info
**types
,
37411 swig_type_info
**types_initial
) {
37413 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37414 char *c
= methods
[i
].ml_doc
;
37415 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37417 swig_const_info
*ci
= 0;
37418 char *name
= c
+ 10;
37419 for (j
= 0; const_table
[j
].type
; j
++) {
37420 if (strncmp(const_table
[j
].name
, name
,
37421 strlen(const_table
[j
].name
)) == 0) {
37422 ci
= &(const_table
[j
]);
37427 size_t shift
= (ci
->ptype
) - types
;
37428 swig_type_info
*ty
= types_initial
[shift
];
37429 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37430 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37431 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37433 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37434 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37436 strncpy(buff
, "swig_ptr: ", 10);
37438 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37439 methods
[i
].ml_doc
= ndoc
;
37445 /* -----------------------------------------------------------------------------*
37446 * Initialize type list
37447 * -----------------------------------------------------------------------------*/
37449 #if PY_MAJOR_VERSION < 2
37450 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37451 is copied out of Python/modsupport.c in python version 2.3.4 */
37453 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37456 if (!PyModule_Check(m
)) {
37457 PyErr_SetString(PyExc_TypeError
,
37458 "PyModule_AddObject() needs module as first arg");
37462 PyErr_SetString(PyExc_TypeError
,
37463 "PyModule_AddObject() needs non-NULL value");
37467 dict
= PyModule_GetDict(m
);
37468 if (dict
== NULL
) {
37469 /* Internal error -- modules must have a dict! */
37470 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37471 PyModule_GetName(m
));
37474 if (PyDict_SetItemString(dict
, name
, o
))
37481 static swig_type_info
**
37482 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37483 static PyMethodDef swig_empty_runtime_method_table
[] = {
37485 NULL
, NULL
, 0, NULL
37489 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37490 swig_empty_runtime_method_table
);
37491 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37492 if (pointer
&& module) {
37493 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37495 return type_list_handle
;
37498 static swig_type_info
**
37499 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37500 swig_type_info
**type_pointer
;
37502 /* first check if module already created */
37503 type_pointer
= SWIG_Python_GetTypeListHandle();
37504 if (type_pointer
) {
37505 return type_pointer
;
37507 /* create a new module and variable */
37508 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37516 /* -----------------------------------------------------------------------------*
37517 * Partial Init method
37518 * -----------------------------------------------------------------------------*/
37520 #ifdef SWIG_LINK_RUNTIME
37524 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37530 SWIGEXPORT(void) SWIG_init(void) {
37531 static PyObject
*SWIG_globals
= 0;
37532 static int typeinit
= 0;
37535 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37537 /* Fix SwigMethods to carry the callback ptrs when needed */
37538 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37540 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37541 d
= PyModule_GetDict(m
);
37544 #ifdef SWIG_LINK_RUNTIME
37545 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37547 # ifndef SWIG_STATIC_RUNTIME
37548 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37551 for (i
= 0; swig_types_initial
[i
]; i
++) {
37552 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37556 SWIG_InstallConstants(d
,swig_const_table
);
37558 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37559 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37561 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37564 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37567 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37570 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37573 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37576 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37579 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37581 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37583 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37586 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37589 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37592 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37595 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37598 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37600 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37601 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37602 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37604 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37607 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37610 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37613 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37615 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37616 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37617 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37618 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37619 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37621 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37624 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37627 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37630 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37633 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37636 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37639 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37642 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37645 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37648 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37651 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37654 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37657 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37660 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37663 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37666 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37669 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37672 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37675 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37678 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37681 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37684 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37687 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37690 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37693 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37696 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37699 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37702 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37705 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37708 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37711 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37714 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37717 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37720 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37723 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37726 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37729 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37732 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37735 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37738 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37741 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37744 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37747 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37750 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37753 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37756 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37762 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37763 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37764 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37766 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37769 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37772 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37775 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37777 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37778 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37779 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37780 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37782 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37785 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37788 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37791 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37794 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37797 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37800 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37803 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37806 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37809 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37812 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37815 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37817 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37818 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37819 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37821 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37824 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37827 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37830 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37833 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37836 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37839 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37842 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37845 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37848 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37851 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37853 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37854 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37856 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37859 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37862 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37865 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37868 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37871 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37873 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37874 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37876 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37879 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37882 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37885 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37888 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37891 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37893 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37894 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37896 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37899 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37902 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37905 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37908 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37911 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37914 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37917 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37920 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37923 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37926 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37929 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37932 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37935 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37937 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37939 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37942 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37945 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37948 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37951 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37954 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37957 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37960 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37963 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37966 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37969 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37972 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37975 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37978 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37981 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37984 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37987 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37990 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37993 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37996 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37999 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
38002 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
38005 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
38008 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
38011 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
38014 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
38017 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
38020 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
38023 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
38026 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
38029 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
38032 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
38035 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
38038 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
38041 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
38044 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
38047 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
38050 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
38053 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
38056 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
38059 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
38062 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
38065 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
38068 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
38071 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
38074 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
38077 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
38080 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
38083 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
38086 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
38089 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
38092 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
38095 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
38098 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
38101 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
38104 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
38107 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
38110 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
38113 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
38116 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
38119 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
38122 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
38125 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
38128 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
38131 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
38134 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
38137 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
38140 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
38142 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
38143 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
38144 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
38145 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
38146 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
38147 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
38148 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
38149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
38150 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
38151 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
38152 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
38153 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
38154 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
38155 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
38156 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
38157 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
38158 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
38159 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
38160 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
38161 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
38162 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
38163 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
38165 // Map renamed classes back to their common name for OOR
38166 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38168 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
38170 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
38173 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
38176 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
38179 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
38182 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
38185 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
38188 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
38191 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
38194 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
38197 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
38200 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
38203 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
38206 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
38209 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
38212 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
38215 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
38218 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
38221 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
38224 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
38227 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
38230 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
38233 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
38236 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
38239 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
38242 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
38245 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
38248 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
38251 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
38254 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
38257 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
38260 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
38263 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38266 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38269 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38272 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38274 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38275 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38276 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38277 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38278 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38279 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38280 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38281 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38282 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38283 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38284 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38285 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38286 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38287 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38288 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38289 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38290 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38291 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38292 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38293 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38294 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38296 // Map renamed classes back to their common name for OOR
38297 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38298 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38300 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38302 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38305 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38308 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38311 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38314 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38317 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38320 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38322 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38323 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38325 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38327 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38329 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38332 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38335 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38338 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38341 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));