1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxDateTime swig_types[77]
1419 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1420 #define SWIGTYPE_p_unsigned_long swig_types[79]
1421 #define SWIGTYPE_p_wxWindow swig_types[80]
1422 #define SWIGTYPE_p_wxString swig_types[81]
1423 #define SWIGTYPE_p_wxBitmap swig_types[82]
1424 #define SWIGTYPE_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_int swig_types[84]
1426 #define SWIGTYPE_p_unsigned_char swig_types[85]
1427 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1429 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1430 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431 #define SWIGTYPE_p_wxStaticText swig_types[90]
1432 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1433 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1434 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1435 #define SWIGTYPE_p_wxColour swig_types[94]
1436 #define SWIGTYPE_p_wxToolBar swig_types[95]
1437 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1438 #define SWIGTYPE_p_wxValidator swig_types[97]
1439 static swig_type_info
*swig_types
[99];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _controls_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_controls_
1449 #define SWIG_name "_controls_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1454 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1458 const wxArrayString wxPyEmptyStringArray
;
1460 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1462 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1463 #define SWIG_From_int PyInt_FromLong
1471 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1474 if (value
< min_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is less than '%s' minimum %ld",
1478 value
, errmsg
, min_value
);
1481 } else if (value
> max_value
) {
1483 PyErr_Format(PyExc_OverflowError
,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value
, errmsg
, max_value
);
1494 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1496 if (PyNumber_Check(obj
)) {
1497 if (val
) *val
= PyInt_AsLong(obj
);
1501 SWIG_type_error("number", obj
);
1507 #if INT_MAX != LONG_MAX
1509 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1511 const char* errmsg
= val
? "int" : (char*)0;
1513 if (SWIG_AsVal_long(obj
, &v
)) {
1514 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1515 if (val
) *val
= (int)(v
);
1524 SWIG_type_error(errmsg
, obj
);
1530 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1532 return SWIG_AsVal_long(obj
,(long*)val
);
1538 SWIG_As_int(PyObject
* obj
)
1541 if (!SWIG_AsVal_int(obj
, &v
)) {
1543 this is needed to make valgrind/purify happier.
1545 memset((void*)&v
, 0, sizeof(int));
1551 SWIGINTERNSHORT
long
1552 SWIG_As_long(PyObject
* obj
)
1555 if (!SWIG_AsVal_long(obj
, &v
)) {
1557 this is needed to make valgrind/purify happier.
1559 memset((void*)&v
, 0, sizeof(long));
1566 SWIG_Check_int(PyObject
* obj
)
1568 return SWIG_AsVal_int(obj
, (int*)0);
1573 SWIG_Check_long(PyObject
* obj
)
1575 return SWIG_AsVal_long(obj
, (long*)0);
1578 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1581 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1583 if (obj
== Py_True
) {
1584 if (val
) *val
= true;
1587 if (obj
== Py_False
) {
1588 if (val
) *val
= false;
1592 if (SWIG_AsVal_int(obj
, &res
)) {
1593 if (val
) *val
= res
? true : false;
1599 SWIG_type_error("bool", obj
);
1605 SWIGINTERNSHORT
bool
1606 SWIG_As_bool(PyObject
* obj
)
1609 if (!SWIG_AsVal_bool(obj
, &v
)) {
1611 this is needed to make valgrind/purify happier.
1613 memset((void*)&v
, 0, sizeof(bool));
1620 SWIG_Check_bool(PyObject
* obj
)
1622 return SWIG_AsVal_bool(obj
, (bool*)0);
1625 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1626 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1628 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1629 #define SWIG_From_long PyInt_FromLong
1632 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1633 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1634 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1635 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1637 #include <wx/checklst.h>
1640 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1641 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1643 wxPyClientData
* data
= new wxPyClientData(clientData
);
1644 self
->Insert(item
, pos
, data
);
1646 self
->Insert(item
, pos
);
1648 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1650 self
->GetSelections(lst
);
1651 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1652 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1653 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1657 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1659 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1660 self
->GetItem(item
)->SetTextColour(c
);
1663 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1665 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1666 self
->GetItem(item
)->SetBackgroundColour(c
);
1669 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1671 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1672 self
->GetItem(item
)->SetFont(f
);
1675 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1677 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1683 } else if (target
== Py_None
) {
1687 if (!PyTuple_Check(target
)) {
1689 target
= PyTuple_New(1);
1690 PyTuple_SetItem(target
, 0, o2
);
1692 o3
= PyTuple_New(1);
1693 PyTuple_SetItem(o3
, 0, o
);
1696 target
= PySequence_Concat(o2
, o3
);
1706 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1709 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1710 SWIG_type_error("unsigned number", obj
);
1713 *val
= (unsigned long)v
;
1718 SWIGINTERNSHORT
unsigned long
1719 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1722 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1724 this is needed to make valgrind/purify happier.
1726 memset((void*)&v
, 0, sizeof(unsigned long));
1733 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1735 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1738 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1739 self
->AppendText(text
);
1741 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1742 return self
->GetValue().Mid(from
, to
- from
);
1744 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1745 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1746 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1747 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1748 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1750 #include <wx/slider.h>
1753 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1754 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1756 #if !wxUSE_TOGGLEBTN
1757 // implement dummy items for platforms that don't have this class
1759 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1761 class wxToggleButton
: public wxControl
1764 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1765 const wxPoint
&, const wxSize
&, long,
1766 const wxValidator
&, const wxString
&)
1767 { wxPyRaiseNotImplemented(); }
1770 { wxPyRaiseNotImplemented(); }
1774 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1776 SWIGINTERNSHORT PyObject
*
1777 SWIG_From_unsigned_SS_long(unsigned long value
)
1779 return (value
> LONG_MAX
) ?
1780 PyLong_FromUnsignedLong(value
)
1781 : PyInt_FromLong((long)(value
));
1784 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1785 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1786 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1788 Py_INCREF(udata
->m_obj
);
1789 return udata
->m_obj
;
1795 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1796 self
->SetClientData(new wxPyUserData(clientData
));
1798 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1799 wxPyUserData
* udata
= NULL
;
1800 if (clientData
&& clientData
!= Py_None
)
1801 udata
= new wxPyUserData(clientData
);
1802 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1803 shortHelp
, longHelp
, udata
);
1805 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1806 wxPyUserData
* udata
= NULL
;
1807 if (clientData
&& clientData
!= Py_None
)
1808 udata
= new wxPyUserData(clientData
);
1809 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1810 shortHelp
, longHelp
, udata
);
1812 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1813 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1815 Py_INCREF(udata
->m_obj
);
1816 return udata
->m_obj
;
1822 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1823 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1826 #include <wx/listctrl.h>
1828 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1829 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1830 // Python aware sorting function for wxPyListCtrl
1831 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1833 PyObject
* func
= (PyObject
*)funcPtr
;
1834 bool blocked
= wxPyBeginBlockThreads();
1836 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1837 PyObject
* result
= PyEval_CallObject(func
, args
);
1840 retval
= PyInt_AsLong(result
);
1844 wxPyEndBlockThreads(blocked
);
1848 // C++ Version of a Python aware class
1849 class wxPyListCtrl
: public wxListCtrl
{
1850 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1852 wxPyListCtrl() : wxListCtrl() {}
1853 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1857 const wxValidator
& validator
,
1858 const wxString
& name
) :
1859 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1861 bool Create(wxWindow
* parent
, wxWindowID id
,
1865 const wxValidator
& validator
,
1866 const wxString
& name
) {
1867 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1870 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1871 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1873 // use the virtual version to avoid a confusing assert in the base class
1874 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1879 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1881 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1882 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1883 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1886 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1888 item
.SetMask( wxLIST_MASK_STATE
|
1896 if (self
->GetColumn(col
, item
))
1897 return new wxListItem(item
);
1901 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1902 wxListItem
* info
= new wxListItem
;
1903 info
->m_itemId
= itemId
;
1905 info
->m_mask
= 0xFFFF;
1906 self
->GetItem(*info
);
1909 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1911 self
->GetItemPosition(item
, pos
);
1914 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1916 self
->GetItemRect(item
, rect
, code
);
1920 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1921 if (!PyCallable_Check(func
))
1923 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1925 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1929 return (wxWindow
*)self
->m_mainWin
;
1933 #include <wx/treectrl.h>
1934 #include "wx/wxPython/pytree.h"
1936 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1937 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1938 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1939 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1940 // C++ version of Python aware wxTreeCtrl
1941 class wxPyTreeCtrl
: public wxTreeCtrl
{
1942 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1944 wxPyTreeCtrl() : wxTreeCtrl() {}
1945 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1949 const wxValidator
& validator
,
1950 const wxString
& name
) :
1951 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1953 bool Create(wxWindow
*parent
, wxWindowID id
,
1957 const wxValidator
& validator
,
1958 const wxString
& name
) {
1959 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1963 int OnCompareItems(const wxTreeItemId
& item1
,
1964 const wxTreeItemId
& item2
) {
1967 bool blocked
= wxPyBeginBlockThreads();
1968 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1969 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1970 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1971 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1975 wxPyEndBlockThreads(blocked
);
1977 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1983 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1987 #if UINT_MAX < LONG_MAX
1988 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1989 #define SWIG_From_unsigned_SS_int SWIG_From_long
1992 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1993 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1999 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2000 unsigned long max_value
,
2003 if (value
> max_value
) {
2005 PyErr_Format(PyExc_OverflowError
,
2006 "value %lu is greater than '%s' minimum %lu",
2007 value
, errmsg
, max_value
);
2015 #if UINT_MAX != ULONG_MAX
2017 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2019 const char* errmsg
= val
? "unsigned int" : (char*)0;
2021 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2022 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2023 if (val
) *val
= (unsigned int)(v
);
2030 SWIG_type_error(errmsg
, obj
);
2035 SWIGINTERNSHORT
unsigned int
2036 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2038 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2043 SWIGINTERNSHORT
unsigned int
2044 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2047 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2049 this is needed to make valgrind/purify happier.
2051 memset((void*)&v
, 0, sizeof(unsigned int));
2058 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2060 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2063 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2064 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2066 data
= new wxPyTreeItemData();
2067 data
->SetId(item
); // set the id
2068 self
->SetItemData(item
, data
);
2072 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2073 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2075 data
= new wxPyTreeItemData();
2076 data
->SetId(item
); // set the id
2077 self
->SetItemData(item
, data
);
2079 return data
->GetData();
2081 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2082 data
->SetId(item
); // set the id
2083 self
->SetItemData(item
, data
);
2085 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2086 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2088 data
= new wxPyTreeItemData(obj
);
2089 data
->SetId(item
); // set the id
2090 self
->SetItemData(item
, data
);
2094 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2095 bool blocked
= wxPyBeginBlockThreads();
2096 PyObject
* rval
= PyList_New(0);
2097 wxArrayTreeItemIds array
;
2099 num
= self
->GetSelections(array
);
2100 for (x
=0; x
< num
; x
++) {
2101 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2102 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2103 PyList_Append(rval
, item
);
2106 wxPyEndBlockThreads(blocked
);
2109 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2111 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2112 bool blocked
= wxPyBeginBlockThreads();
2113 PyObject
* tup
= PyTuple_New(2);
2114 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2115 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2116 wxPyEndBlockThreads(blocked
);
2119 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2120 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2121 bool blocked
= wxPyBeginBlockThreads();
2122 PyObject
* tup
= PyTuple_New(2);
2123 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2124 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2125 wxPyEndBlockThreads(blocked
);
2128 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2130 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2131 bool blocked
= wxPyBeginBlockThreads();
2132 wxRect
* r
= new wxRect(rect
);
2133 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2134 wxPyEndBlockThreads(blocked
);
2140 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2142 SWIGINTERNSHORT PyObject
*
2143 SWIG_From_bool(bool value
)
2145 PyObject
*obj
= value
? Py_True
: Py_False
;
2151 // C++ version of Python aware wxControl
2152 class wxPyControl
: public wxControl
2154 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2156 wxPyControl() : wxControl() {}
2157 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2158 const wxPoint
& pos
= wxDefaultPosition
,
2159 const wxSize
& size
= wxDefaultSize
,
2161 const wxValidator
& validator
=wxDefaultValidator
,
2162 const wxString
& name
= wxPyControlNameStr
)
2163 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2165 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2167 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2168 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2169 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2172 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2176 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2177 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2179 DEC_PYCALLBACK__(InitDialog
);
2180 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2181 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2182 DEC_PYCALLBACK_BOOL_(Validate
);
2184 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2186 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2188 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2189 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2191 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2192 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2193 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2195 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2200 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2202 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2203 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2204 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2205 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2208 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2209 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2211 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2212 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2214 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2215 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2216 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2217 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2219 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2220 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2223 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2224 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2226 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2227 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
2228 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2230 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2234 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2236 #include <wx/generic/dragimgg.h>
2238 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2239 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2241 self
->GetRange(&rv
, NULL
);
2244 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2246 self
->GetRange(NULL
, &rv
);
2252 static int _wrap_ButtonNameStr_set(PyObject
*) {
2253 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2258 static PyObject
*_wrap_ButtonNameStr_get(void) {
2263 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2265 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2272 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2274 wxWindow
*arg1
= (wxWindow
*) 0 ;
2275 int arg2
= (int) -1 ;
2276 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2277 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2282 long arg6
= (long) 0 ;
2283 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2284 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2285 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2286 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2288 bool temp3
= false ;
2291 bool temp8
= false ;
2292 PyObject
* obj0
= 0 ;
2293 PyObject
* obj1
= 0 ;
2294 PyObject
* obj2
= 0 ;
2295 PyObject
* obj3
= 0 ;
2296 PyObject
* obj4
= 0 ;
2297 PyObject
* obj5
= 0 ;
2298 PyObject
* obj6
= 0 ;
2299 PyObject
* obj7
= 0 ;
2301 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2306 if (SWIG_arg_fail(1)) SWIG_fail
;
2309 arg2
= (int)(SWIG_As_int(obj1
));
2310 if (SWIG_arg_fail(2)) SWIG_fail
;
2315 arg3
= wxString_in_helper(obj2
);
2316 if (arg3
== NULL
) SWIG_fail
;
2323 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2329 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2334 arg6
= (long)(SWIG_As_long(obj5
));
2335 if (SWIG_arg_fail(6)) SWIG_fail
;
2340 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2341 if (SWIG_arg_fail(7)) SWIG_fail
;
2343 SWIG_null_ref("wxValidator");
2345 if (SWIG_arg_fail(7)) SWIG_fail
;
2350 arg8
= wxString_in_helper(obj7
);
2351 if (arg8
== NULL
) SWIG_fail
;
2356 if (!wxPyCheckForApp()) SWIG_fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2386 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2395 if (!wxPyCheckForApp()) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 result
= (wxButton
*)new wxButton();
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2409 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
*resultobj
;
2411 wxButton
*arg1
= (wxButton
*) 0 ;
2412 wxWindow
*arg2
= (wxWindow
*) 0 ;
2413 int arg3
= (int) -1 ;
2414 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2415 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2416 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2417 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2418 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2419 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2420 long arg7
= (long) 0 ;
2421 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2422 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2423 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2424 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2426 bool temp4
= false ;
2429 bool temp9
= false ;
2430 PyObject
* obj0
= 0 ;
2431 PyObject
* obj1
= 0 ;
2432 PyObject
* obj2
= 0 ;
2433 PyObject
* obj3
= 0 ;
2434 PyObject
* obj4
= 0 ;
2435 PyObject
* obj5
= 0 ;
2436 PyObject
* obj6
= 0 ;
2437 PyObject
* obj7
= 0 ;
2438 PyObject
* obj8
= 0 ;
2440 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2445 if (SWIG_arg_fail(1)) SWIG_fail
;
2446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2447 if (SWIG_arg_fail(2)) SWIG_fail
;
2450 arg3
= (int)(SWIG_As_int(obj2
));
2451 if (SWIG_arg_fail(3)) SWIG_fail
;
2456 arg4
= wxString_in_helper(obj3
);
2457 if (arg4
== NULL
) SWIG_fail
;
2464 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2470 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2475 arg7
= (long)(SWIG_As_long(obj6
));
2476 if (SWIG_arg_fail(7)) SWIG_fail
;
2481 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2482 if (SWIG_arg_fail(8)) SWIG_fail
;
2484 SWIG_null_ref("wxValidator");
2486 if (SWIG_arg_fail(8)) SWIG_fail
;
2491 arg9
= wxString_in_helper(obj8
);
2492 if (arg9
== NULL
) SWIG_fail
;
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2528 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2530 wxButton
*arg1
= (wxButton
*) 0 ;
2531 PyObject
* obj0
= 0 ;
2533 (char *) "self", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2538 if (SWIG_arg_fail(1)) SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 (arg1
)->SetDefault();
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2546 Py_INCREF(Py_None
); resultobj
= Py_None
;
2553 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
*resultobj
;
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 result
= wxButton::GetDefaultSize();
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2570 resultptr
= new wxSize((wxSize
&)(result
));
2571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2579 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2582 wxVisualAttributes result
;
2583 PyObject
* obj0
= 0 ;
2585 (char *) "variant", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2591 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2592 if (SWIG_arg_fail(1)) SWIG_fail
;
2596 if (!wxPyCheckForApp()) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2604 wxVisualAttributes
* resultptr
;
2605 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2614 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2617 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2619 return Py_BuildValue((char *)"");
2621 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxWindow
*arg1
= (wxWindow
*) 0 ;
2624 int arg2
= (int) -1 ;
2625 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2626 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2631 long arg6
= (long) wxBU_AUTODRAW
;
2632 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2633 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2634 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2635 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2636 wxBitmapButton
*result
;
2639 bool temp8
= false ;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj1
= 0 ;
2642 PyObject
* obj2
= 0 ;
2643 PyObject
* obj3
= 0 ;
2644 PyObject
* obj4
= 0 ;
2645 PyObject
* obj5
= 0 ;
2646 PyObject
* obj6
= 0 ;
2647 PyObject
* obj7
= 0 ;
2649 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2654 if (SWIG_arg_fail(1)) SWIG_fail
;
2657 arg2
= (int)(SWIG_As_int(obj1
));
2658 if (SWIG_arg_fail(2)) SWIG_fail
;
2663 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2664 if (SWIG_arg_fail(3)) SWIG_fail
;
2666 SWIG_null_ref("wxBitmap");
2668 if (SWIG_arg_fail(3)) SWIG_fail
;
2674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2680 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2685 arg6
= (long)(SWIG_As_long(obj5
));
2686 if (SWIG_arg_fail(6)) SWIG_fail
;
2691 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2692 if (SWIG_arg_fail(7)) SWIG_fail
;
2694 SWIG_null_ref("wxValidator");
2696 if (SWIG_arg_fail(7)) SWIG_fail
;
2701 arg8
= wxString_in_helper(obj7
);
2702 if (arg8
== NULL
) SWIG_fail
;
2707 if (!wxPyCheckForApp()) SWIG_fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2729 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxBitmapButton
*result
;
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2738 if (!wxPyCheckForApp()) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= (wxBitmapButton
*)new wxBitmapButton();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2752 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2755 wxWindow
*arg2
= (wxWindow
*) 0 ;
2756 int arg3
= (int) -1 ;
2757 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2758 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2759 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2760 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2761 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2762 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2763 long arg7
= (long) wxBU_AUTODRAW
;
2764 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2765 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2766 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2767 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2771 bool temp9
= false ;
2772 PyObject
* obj0
= 0 ;
2773 PyObject
* obj1
= 0 ;
2774 PyObject
* obj2
= 0 ;
2775 PyObject
* obj3
= 0 ;
2776 PyObject
* obj4
= 0 ;
2777 PyObject
* obj5
= 0 ;
2778 PyObject
* obj6
= 0 ;
2779 PyObject
* obj7
= 0 ;
2780 PyObject
* obj8
= 0 ;
2782 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2787 if (SWIG_arg_fail(1)) SWIG_fail
;
2788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2789 if (SWIG_arg_fail(2)) SWIG_fail
;
2792 arg3
= (int)(SWIG_As_int(obj2
));
2793 if (SWIG_arg_fail(3)) SWIG_fail
;
2798 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2799 if (SWIG_arg_fail(4)) SWIG_fail
;
2801 SWIG_null_ref("wxBitmap");
2803 if (SWIG_arg_fail(4)) SWIG_fail
;
2809 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2815 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2820 arg7
= (long)(SWIG_As_long(obj6
));
2821 if (SWIG_arg_fail(7)) SWIG_fail
;
2826 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2827 if (SWIG_arg_fail(8)) SWIG_fail
;
2829 SWIG_null_ref("wxValidator");
2831 if (SWIG_arg_fail(8)) SWIG_fail
;
2836 arg9
= wxString_in_helper(obj8
);
2837 if (arg9
== NULL
) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2865 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
;
2867 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2869 PyObject
* obj0
= 0 ;
2871 (char *) "self", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2876 if (SWIG_arg_fail(1)) SWIG_fail
;
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 result
= (arg1
)->GetBitmapLabel();
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2885 wxBitmap
* resultptr
;
2886 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2895 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2897 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2901 (char *) "self", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2906 if (SWIG_arg_fail(1)) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 result
= (arg1
)->GetBitmapDisabled();
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2915 wxBitmap
* resultptr
;
2916 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2925 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2929 PyObject
* obj0
= 0 ;
2931 (char *) "self", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2936 if (SWIG_arg_fail(1)) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (arg1
)->GetBitmapFocus();
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2945 wxBitmap
* resultptr
;
2946 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2955 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
*resultobj
;
2957 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2959 PyObject
* obj0
= 0 ;
2961 (char *) "self", NULL
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2966 if (SWIG_arg_fail(1)) SWIG_fail
;
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 result
= (arg1
)->GetBitmapSelected();
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2975 wxBitmap
* resultptr
;
2976 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2985 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
;
2987 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2988 wxBitmap
*arg2
= 0 ;
2989 PyObject
* obj0
= 0 ;
2990 PyObject
* obj1
= 0 ;
2992 (char *) "self",(char *) "bitmap", NULL
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2997 if (SWIG_arg_fail(1)) SWIG_fail
;
2999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3000 if (SWIG_arg_fail(2)) SWIG_fail
;
3002 SWIG_null_ref("wxBitmap");
3004 if (SWIG_arg_fail(2)) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3013 Py_INCREF(Py_None
); resultobj
= Py_None
;
3020 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
*resultobj
;
3022 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3023 wxBitmap
*arg2
= 0 ;
3024 PyObject
* obj0
= 0 ;
3025 PyObject
* obj1
= 0 ;
3027 (char *) "self",(char *) "bitmap", NULL
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3032 if (SWIG_arg_fail(1)) SWIG_fail
;
3034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3035 if (SWIG_arg_fail(2)) SWIG_fail
;
3037 SWIG_null_ref("wxBitmap");
3039 if (SWIG_arg_fail(2)) SWIG_fail
;
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3048 Py_INCREF(Py_None
); resultobj
= Py_None
;
3055 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3058 wxBitmap
*arg2
= 0 ;
3059 PyObject
* obj0
= 0 ;
3060 PyObject
* obj1
= 0 ;
3062 (char *) "self",(char *) "bitmap", NULL
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3067 if (SWIG_arg_fail(1)) SWIG_fail
;
3069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3070 if (SWIG_arg_fail(2)) SWIG_fail
;
3072 SWIG_null_ref("wxBitmap");
3074 if (SWIG_arg_fail(2)) SWIG_fail
;
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3083 Py_INCREF(Py_None
); resultobj
= Py_None
;
3090 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3093 wxBitmap
*arg2
= 0 ;
3094 PyObject
* obj0
= 0 ;
3095 PyObject
* obj1
= 0 ;
3097 (char *) "self",(char *) "bitmap", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3102 if (SWIG_arg_fail(1)) SWIG_fail
;
3104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3105 if (SWIG_arg_fail(2)) SWIG_fail
;
3107 SWIG_null_ref("wxBitmap");
3109 if (SWIG_arg_fail(2)) SWIG_fail
;
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 Py_INCREF(Py_None
); resultobj
= Py_None
;
3125 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3130 PyObject
* obj0
= 0 ;
3131 PyObject
* obj1
= 0 ;
3132 PyObject
* obj2
= 0 ;
3134 (char *) "self",(char *) "x",(char *) "y", NULL
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3139 if (SWIG_arg_fail(1)) SWIG_fail
;
3141 arg2
= (int)(SWIG_As_int(obj1
));
3142 if (SWIG_arg_fail(2)) SWIG_fail
;
3145 arg3
= (int)(SWIG_As_int(obj2
));
3146 if (SWIG_arg_fail(3)) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 (arg1
)->SetMargins(arg2
,arg3
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3155 Py_INCREF(Py_None
); resultobj
= Py_None
;
3162 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3182 resultobj
= SWIG_From_int((int)(result
));
3190 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3210 resultobj
= SWIG_From_int((int)(result
));
3218 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3221 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3223 return Py_BuildValue((char *)"");
3225 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3226 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3231 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3236 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3238 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3245 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxWindow
*arg1
= (wxWindow
*) 0 ;
3248 int arg2
= (int) -1 ;
3249 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3250 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3255 long arg6
= (long) 0 ;
3256 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3257 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3258 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3259 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3261 bool temp3
= false ;
3264 bool temp8
= false ;
3265 PyObject
* obj0
= 0 ;
3266 PyObject
* obj1
= 0 ;
3267 PyObject
* obj2
= 0 ;
3268 PyObject
* obj3
= 0 ;
3269 PyObject
* obj4
= 0 ;
3270 PyObject
* obj5
= 0 ;
3271 PyObject
* obj6
= 0 ;
3272 PyObject
* obj7
= 0 ;
3274 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail
;
3282 arg2
= (int)(SWIG_As_int(obj1
));
3283 if (SWIG_arg_fail(2)) SWIG_fail
;
3288 arg3
= wxString_in_helper(obj2
);
3289 if (arg3
== NULL
) SWIG_fail
;
3296 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3302 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3307 arg6
= (long)(SWIG_As_long(obj5
));
3308 if (SWIG_arg_fail(6)) SWIG_fail
;
3313 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3314 if (SWIG_arg_fail(7)) SWIG_fail
;
3316 SWIG_null_ref("wxValidator");
3318 if (SWIG_arg_fail(7)) SWIG_fail
;
3323 arg8
= wxString_in_helper(obj7
);
3324 if (arg8
== NULL
) SWIG_fail
;
3329 if (!wxPyCheckForApp()) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3359 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
*resultobj
;
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3368 if (!wxPyCheckForApp()) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 result
= (wxCheckBox
*)new wxCheckBox();
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3382 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
*resultobj
;
3384 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3385 wxWindow
*arg2
= (wxWindow
*) 0 ;
3386 int arg3
= (int) -1 ;
3387 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3388 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3389 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3390 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3391 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3392 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3393 long arg7
= (long) 0 ;
3394 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3395 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3396 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3397 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3399 bool temp4
= false ;
3402 bool temp9
= false ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3405 PyObject
* obj2
= 0 ;
3406 PyObject
* obj3
= 0 ;
3407 PyObject
* obj4
= 0 ;
3408 PyObject
* obj5
= 0 ;
3409 PyObject
* obj6
= 0 ;
3410 PyObject
* obj7
= 0 ;
3411 PyObject
* obj8
= 0 ;
3413 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3418 if (SWIG_arg_fail(1)) SWIG_fail
;
3419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3420 if (SWIG_arg_fail(2)) SWIG_fail
;
3423 arg3
= (int)(SWIG_As_int(obj2
));
3424 if (SWIG_arg_fail(3)) SWIG_fail
;
3429 arg4
= wxString_in_helper(obj3
);
3430 if (arg4
== NULL
) SWIG_fail
;
3437 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3443 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3448 arg7
= (long)(SWIG_As_long(obj6
));
3449 if (SWIG_arg_fail(7)) SWIG_fail
;
3454 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3455 if (SWIG_arg_fail(8)) SWIG_fail
;
3457 SWIG_null_ref("wxValidator");
3459 if (SWIG_arg_fail(8)) SWIG_fail
;
3464 arg9
= wxString_in_helper(obj8
);
3465 if (arg9
== NULL
) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3501 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3512 if (SWIG_arg_fail(1)) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 result
= (bool)(arg1
)->GetValue();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3529 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3535 (char *) "self", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (bool)(arg1
)->IsChecked();
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3557 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3562 PyObject
* obj1
= 0 ;
3564 (char *) "self",(char *) "state", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3569 if (SWIG_arg_fail(1)) SWIG_fail
;
3571 arg2
= (bool const)(SWIG_As_bool(obj1
));
3572 if (SWIG_arg_fail(2)) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 (arg1
)->SetValue(arg2
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 Py_INCREF(Py_None
); resultobj
= Py_None
;
3588 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3590 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3591 wxCheckBoxState result
;
3592 PyObject
* obj0
= 0 ;
3594 (char *) "self", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3599 if (SWIG_arg_fail(1)) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 resultobj
= SWIG_From_int((result
));
3614 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3616 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3617 wxCheckBoxState arg2
;
3618 PyObject
* obj0
= 0 ;
3619 PyObject
* obj1
= 0 ;
3621 (char *) "self",(char *) "state", NULL
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3626 if (SWIG_arg_fail(1)) SWIG_fail
;
3628 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3629 if (SWIG_arg_fail(2)) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3638 Py_INCREF(Py_None
); resultobj
= Py_None
;
3645 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3651 (char *) "self", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3673 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3679 (char *) "self", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3684 if (SWIG_arg_fail(1)) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3701 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3704 wxVisualAttributes result
;
3705 PyObject
* obj0
= 0 ;
3707 (char *) "variant", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3713 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3714 if (SWIG_arg_fail(1)) SWIG_fail
;
3718 if (!wxPyCheckForApp()) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 wxVisualAttributes
* resultptr
;
3727 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3736 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3739 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3741 return Py_BuildValue((char *)"");
3743 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3744 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3749 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3754 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3756 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3763 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
*resultobj
;
3765 wxWindow
*arg1
= (wxWindow
*) 0 ;
3766 int arg2
= (int) -1 ;
3767 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3768 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3769 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3770 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3771 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3772 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3773 long arg6
= (long) 0 ;
3774 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3775 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3776 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3777 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3781 bool temp5
= false ;
3782 bool temp8
= false ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3785 PyObject
* obj2
= 0 ;
3786 PyObject
* obj3
= 0 ;
3787 PyObject
* obj4
= 0 ;
3788 PyObject
* obj5
= 0 ;
3789 PyObject
* obj6
= 0 ;
3790 PyObject
* obj7
= 0 ;
3792 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 arg2
= (int)(SWIG_As_int(obj1
));
3801 if (SWIG_arg_fail(2)) SWIG_fail
;
3807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3813 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3818 if (! PySequence_Check(obj4
)) {
3819 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3822 arg5
= new wxArrayString
;
3824 int i
, len
=PySequence_Length(obj4
);
3825 for (i
=0; i
<len
; i
++) {
3826 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3828 PyObject
* str
= PyObject_Unicode(item
);
3830 PyObject
* str
= PyObject_Str(item
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3833 arg5
->Add(Py2wxString(str
));
3841 arg6
= (long)(SWIG_As_long(obj5
));
3842 if (SWIG_arg_fail(6)) SWIG_fail
;
3847 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3848 if (SWIG_arg_fail(7)) SWIG_fail
;
3850 SWIG_null_ref("wxValidator");
3852 if (SWIG_arg_fail(7)) SWIG_fail
;
3857 arg8
= wxString_in_helper(obj7
);
3858 if (arg8
== NULL
) SWIG_fail
;
3863 if (!wxPyCheckForApp()) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3872 if (temp5
) delete arg5
;
3881 if (temp5
) delete arg5
;
3891 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3900 if (!wxPyCheckForApp()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (wxChoice
*)new wxChoice();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3914 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxChoice
*arg1
= (wxChoice
*) 0 ;
3917 wxWindow
*arg2
= (wxWindow
*) 0 ;
3918 int arg3
= (int) -1 ;
3919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3923 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3924 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3925 long arg7
= (long) 0 ;
3926 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3927 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3928 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3929 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3933 bool temp6
= false ;
3934 bool temp9
= false ;
3935 PyObject
* obj0
= 0 ;
3936 PyObject
* obj1
= 0 ;
3937 PyObject
* obj2
= 0 ;
3938 PyObject
* obj3
= 0 ;
3939 PyObject
* obj4
= 0 ;
3940 PyObject
* obj5
= 0 ;
3941 PyObject
* obj6
= 0 ;
3942 PyObject
* obj7
= 0 ;
3943 PyObject
* obj8
= 0 ;
3945 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3950 if (SWIG_arg_fail(1)) SWIG_fail
;
3951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3952 if (SWIG_arg_fail(2)) SWIG_fail
;
3955 arg3
= (int)(SWIG_As_int(obj2
));
3956 if (SWIG_arg_fail(3)) SWIG_fail
;
3962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3973 if (! PySequence_Check(obj5
)) {
3974 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3977 arg6
= new wxArrayString
;
3979 int i
, len
=PySequence_Length(obj5
);
3980 for (i
=0; i
<len
; i
++) {
3981 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3983 PyObject
* str
= PyObject_Unicode(item
);
3985 PyObject
* str
= PyObject_Str(item
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3988 arg6
->Add(Py2wxString(str
));
3996 arg7
= (long)(SWIG_As_long(obj6
));
3997 if (SWIG_arg_fail(7)) SWIG_fail
;
4002 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4003 if (SWIG_arg_fail(8)) SWIG_fail
;
4005 SWIG_null_ref("wxValidator");
4007 if (SWIG_arg_fail(8)) SWIG_fail
;
4012 arg9
= wxString_in_helper(obj8
);
4013 if (arg9
== NULL
) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4028 if (temp6
) delete arg6
;
4037 if (temp6
) delete arg6
;
4047 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4050 wxVisualAttributes result
;
4051 PyObject
* obj0
= 0 ;
4053 (char *) "variant", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4059 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4060 if (SWIG_arg_fail(1)) SWIG_fail
;
4064 if (!wxPyCheckForApp()) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4072 wxVisualAttributes
* resultptr
;
4073 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4082 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4085 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4087 return Py_BuildValue((char *)"");
4089 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4090 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4095 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4100 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4102 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4109 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxWindow
*arg1
= (wxWindow
*) 0 ;
4112 int arg2
= (int) -1 ;
4113 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4114 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4119 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4120 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4121 long arg7
= (long) 0 ;
4122 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4123 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4124 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4125 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4127 bool temp3
= false ;
4130 bool temp6
= false ;
4131 bool temp9
= false ;
4132 PyObject
* obj0
= 0 ;
4133 PyObject
* obj1
= 0 ;
4134 PyObject
* obj2
= 0 ;
4135 PyObject
* obj3
= 0 ;
4136 PyObject
* obj4
= 0 ;
4137 PyObject
* obj5
= 0 ;
4138 PyObject
* obj6
= 0 ;
4139 PyObject
* obj7
= 0 ;
4140 PyObject
* obj8
= 0 ;
4142 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4147 if (SWIG_arg_fail(1)) SWIG_fail
;
4150 arg2
= (int)(SWIG_As_int(obj1
));
4151 if (SWIG_arg_fail(2)) SWIG_fail
;
4156 arg3
= wxString_in_helper(obj2
);
4157 if (arg3
== NULL
) SWIG_fail
;
4164 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4170 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4175 if (! PySequence_Check(obj5
)) {
4176 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4179 arg6
= new wxArrayString
;
4181 int i
, len
=PySequence_Length(obj5
);
4182 for (i
=0; i
<len
; i
++) {
4183 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4185 PyObject
* str
= PyObject_Unicode(item
);
4187 PyObject
* str
= PyObject_Str(item
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4190 arg6
->Add(Py2wxString(str
));
4198 arg7
= (long)(SWIG_As_long(obj6
));
4199 if (SWIG_arg_fail(7)) SWIG_fail
;
4204 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4205 if (SWIG_arg_fail(8)) SWIG_fail
;
4207 SWIG_null_ref("wxValidator");
4209 if (SWIG_arg_fail(8)) SWIG_fail
;
4214 arg9
= wxString_in_helper(obj8
);
4215 if (arg9
== NULL
) SWIG_fail
;
4220 if (!wxPyCheckForApp()) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4233 if (temp6
) delete arg6
;
4246 if (temp6
) delete arg6
;
4256 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4265 if (!wxPyCheckForApp()) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 result
= (wxComboBox
*)new wxComboBox();
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4279 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
;
4281 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4282 wxWindow
*arg2
= (wxWindow
*) 0 ;
4283 int arg3
= (int) -1 ;
4284 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4286 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4287 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4288 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4289 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4290 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4291 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4292 long arg8
= (long) 0 ;
4293 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4294 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4295 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4296 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4298 bool temp4
= false ;
4301 bool temp7
= false ;
4302 bool temp10
= false ;
4303 PyObject
* obj0
= 0 ;
4304 PyObject
* obj1
= 0 ;
4305 PyObject
* obj2
= 0 ;
4306 PyObject
* obj3
= 0 ;
4307 PyObject
* obj4
= 0 ;
4308 PyObject
* obj5
= 0 ;
4309 PyObject
* obj6
= 0 ;
4310 PyObject
* obj7
= 0 ;
4311 PyObject
* obj8
= 0 ;
4312 PyObject
* obj9
= 0 ;
4314 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail
;
4320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4321 if (SWIG_arg_fail(2)) SWIG_fail
;
4324 arg3
= (int)(SWIG_As_int(obj2
));
4325 if (SWIG_arg_fail(3)) SWIG_fail
;
4330 arg4
= wxString_in_helper(obj3
);
4331 if (arg4
== NULL
) SWIG_fail
;
4338 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4344 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4349 if (! PySequence_Check(obj6
)) {
4350 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4353 arg7
= new wxArrayString
;
4355 int i
, len
=PySequence_Length(obj6
);
4356 for (i
=0; i
<len
; i
++) {
4357 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4359 PyObject
* str
= PyObject_Unicode(item
);
4361 PyObject
* str
= PyObject_Str(item
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4364 arg7
->Add(Py2wxString(str
));
4372 arg8
= (long)(SWIG_As_long(obj7
));
4373 if (SWIG_arg_fail(8)) SWIG_fail
;
4378 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4379 if (SWIG_arg_fail(9)) SWIG_fail
;
4381 SWIG_null_ref("wxValidator");
4383 if (SWIG_arg_fail(9)) SWIG_fail
;
4388 arg10
= wxString_in_helper(obj9
);
4389 if (arg10
== NULL
) SWIG_fail
;
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4408 if (temp7
) delete arg7
;
4421 if (temp7
) delete arg7
;
4431 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4435 PyObject
* obj0
= 0 ;
4437 (char *) "self", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= ((wxComboBox
const *)arg1
)->GetValue();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4463 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4466 wxString
*arg2
= 0 ;
4467 bool temp2
= false ;
4468 PyObject
* obj0
= 0 ;
4469 PyObject
* obj1
= 0 ;
4471 (char *) "self",(char *) "value", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4476 if (SWIG_arg_fail(1)) SWIG_fail
;
4478 arg2
= wxString_in_helper(obj1
);
4479 if (arg2
== NULL
) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 (arg1
)->SetValue((wxString
const &)*arg2
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 Py_INCREF(Py_None
); resultobj
= Py_None
;
4504 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4509 (char *) "self", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4514 if (SWIG_arg_fail(1)) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4534 (char *) "self", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 Py_INCREF(Py_None
); resultobj
= Py_None
;
4554 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4586 (char *) "self",(char *) "pos", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail
;
4593 arg2
= (long)(SWIG_As_long(obj1
));
4594 if (SWIG_arg_fail(2)) SWIG_fail
;
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 (arg1
)->SetInsertionPoint(arg2
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 Py_INCREF(Py_None
); resultobj
= Py_None
;
4610 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4612 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4614 PyObject
* obj0
= 0 ;
4616 (char *) "self", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_From_long((long)(result
));
4638 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4644 (char *) "self", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4649 if (SWIG_arg_fail(1)) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_From_long((long)(result
));
4666 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4671 wxString
*arg4
= 0 ;
4672 bool temp4
= false ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 PyObject
* obj2
= 0 ;
4676 PyObject
* obj3
= 0 ;
4678 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4683 if (SWIG_arg_fail(1)) SWIG_fail
;
4685 arg2
= (long)(SWIG_As_long(obj1
));
4686 if (SWIG_arg_fail(2)) SWIG_fail
;
4689 arg3
= (long)(SWIG_As_long(obj2
));
4690 if (SWIG_arg_fail(3)) SWIG_fail
;
4693 arg4
= wxString_in_helper(obj3
);
4694 if (arg4
== NULL
) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4726 (char *) "self",(char *) "n", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4731 if (SWIG_arg_fail(1)) SWIG_fail
;
4733 arg2
= (int)(SWIG_As_int(obj1
));
4734 if (SWIG_arg_fail(2)) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 (arg1
)->SetSelection(arg2
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 Py_INCREF(Py_None
); resultobj
= Py_None
;
4750 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 PyObject
* obj2
= 0 ;
4759 (char *) "self",(char *) "from",(char *) "to", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4764 if (SWIG_arg_fail(1)) SWIG_fail
;
4766 arg2
= (long)(SWIG_As_long(obj1
));
4767 if (SWIG_arg_fail(2)) SWIG_fail
;
4770 arg3
= (long)(SWIG_As_long(obj2
));
4771 if (SWIG_arg_fail(3)) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 (arg1
)->SetSelection(arg2
,arg3
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 Py_INCREF(Py_None
); resultobj
= Py_None
;
4787 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4790 wxString
*arg2
= 0 ;
4792 bool temp2
= false ;
4793 PyObject
* obj0
= 0 ;
4794 PyObject
* obj1
= 0 ;
4796 (char *) "self",(char *) "string", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4801 if (SWIG_arg_fail(1)) SWIG_fail
;
4803 arg2
= wxString_in_helper(obj1
);
4804 if (arg2
== NULL
) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4835 wxString
*arg3
= 0 ;
4836 bool temp3
= false ;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4839 PyObject
* obj2
= 0 ;
4841 (char *) "self",(char *) "n",(char *) "string", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4846 if (SWIG_arg_fail(1)) SWIG_fail
;
4848 arg2
= (int)(SWIG_As_int(obj1
));
4849 if (SWIG_arg_fail(2)) SWIG_fail
;
4852 arg3
= wxString_in_helper(obj2
);
4853 if (arg3
== NULL
) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 Py_INCREF(Py_None
); resultobj
= Py_None
;
4878 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4882 PyObject
* obj0
= 0 ;
4883 PyObject
* obj1
= 0 ;
4885 (char *) "self",(char *) "editable", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4890 if (SWIG_arg_fail(1)) SWIG_fail
;
4892 arg2
= (bool)(SWIG_As_bool(obj1
));
4893 if (SWIG_arg_fail(2)) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 (arg1
)->SetEditable(arg2
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 Py_INCREF(Py_None
); resultobj
= Py_None
;
4909 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4912 PyObject
* obj0
= 0 ;
4914 (char *) "self", NULL
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4919 if (SWIG_arg_fail(1)) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 (arg1
)->SetInsertionPointEnd();
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 Py_INCREF(Py_None
); resultobj
= Py_None
;
4934 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4941 PyObject
* obj2
= 0 ;
4943 (char *) "self",(char *) "from",(char *) "to", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4948 if (SWIG_arg_fail(1)) SWIG_fail
;
4950 arg2
= (long)(SWIG_As_long(obj1
));
4951 if (SWIG_arg_fail(2)) SWIG_fail
;
4954 arg3
= (long)(SWIG_As_long(obj2
));
4955 if (SWIG_arg_fail(3)) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 (arg1
)->Remove(arg2
,arg3
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4977 (char *) "self", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
4981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5004 (char *) "self", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5009 if (SWIG_arg_fail(1)) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 Py_INCREF(Py_None
); resultobj
= Py_None
;
5024 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5029 (char *) "self", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5034 if (SWIG_arg_fail(1)) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 Py_INCREF(Py_None
); resultobj
= Py_None
;
5049 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5054 (char *) "self", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5059 if (SWIG_arg_fail(1)) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 (arg1
)->SelectAll();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 Py_INCREF(Py_None
); resultobj
= Py_None
;
5074 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5080 (char *) "self", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5085 if (SWIG_arg_fail(1)) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5102 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5104 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5106 PyObject
* obj0
= 0 ;
5108 (char *) "self", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5113 if (SWIG_arg_fail(1)) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5130 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5134 PyObject
* obj0
= 0 ;
5136 (char *) "self", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5141 if (SWIG_arg_fail(1)) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5158 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5162 PyObject
* obj0
= 0 ;
5164 (char *) "self", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5169 if (SWIG_arg_fail(1)) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5186 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5190 PyObject
* obj0
= 0 ;
5192 (char *) "self", NULL
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5197 if (SWIG_arg_fail(1)) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5214 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
;
5216 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5217 wxVisualAttributes result
;
5218 PyObject
* obj0
= 0 ;
5220 (char *) "variant", NULL
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5226 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5227 if (SWIG_arg_fail(1)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5239 wxVisualAttributes
* resultptr
;
5240 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5249 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5252 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5254 return Py_BuildValue((char *)"");
5256 static int _wrap_GaugeNameStr_set(PyObject
*) {
5257 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5262 static PyObject
*_wrap_GaugeNameStr_get(void) {
5267 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5269 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5276 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxWindow
*arg1
= (wxWindow
*) 0 ;
5279 int arg2
= (int) -1 ;
5280 int arg3
= (int) 100 ;
5281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5285 long arg6
= (long) wxGA_HORIZONTAL
;
5286 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5287 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5288 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5289 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5293 bool temp8
= false ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5296 PyObject
* obj2
= 0 ;
5297 PyObject
* obj3
= 0 ;
5298 PyObject
* obj4
= 0 ;
5299 PyObject
* obj5
= 0 ;
5300 PyObject
* obj6
= 0 ;
5301 PyObject
* obj7
= 0 ;
5303 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5308 if (SWIG_arg_fail(1)) SWIG_fail
;
5311 arg2
= (int)(SWIG_As_int(obj1
));
5312 if (SWIG_arg_fail(2)) SWIG_fail
;
5317 arg3
= (int)(SWIG_As_int(obj2
));
5318 if (SWIG_arg_fail(3)) SWIG_fail
;
5324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5335 arg6
= (long)(SWIG_As_long(obj5
));
5336 if (SWIG_arg_fail(6)) SWIG_fail
;
5341 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5342 if (SWIG_arg_fail(7)) SWIG_fail
;
5344 SWIG_null_ref("wxValidator");
5346 if (SWIG_arg_fail(7)) SWIG_fail
;
5351 arg8
= wxString_in_helper(obj7
);
5352 if (arg8
== NULL
) SWIG_fail
;
5357 if (!wxPyCheckForApp()) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5379 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5388 if (!wxPyCheckForApp()) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (wxGauge
*)new wxGauge();
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5402 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxGauge
*arg1
= (wxGauge
*) 0 ;
5405 wxWindow
*arg2
= (wxWindow
*) 0 ;
5406 int arg3
= (int) -1 ;
5407 int arg4
= (int) 100 ;
5408 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5409 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5410 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5411 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5412 long arg7
= (long) wxGA_HORIZONTAL
;
5413 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5414 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5415 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5416 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5420 bool temp9
= false ;
5421 PyObject
* obj0
= 0 ;
5422 PyObject
* obj1
= 0 ;
5423 PyObject
* obj2
= 0 ;
5424 PyObject
* obj3
= 0 ;
5425 PyObject
* obj4
= 0 ;
5426 PyObject
* obj5
= 0 ;
5427 PyObject
* obj6
= 0 ;
5428 PyObject
* obj7
= 0 ;
5429 PyObject
* obj8
= 0 ;
5431 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5436 if (SWIG_arg_fail(1)) SWIG_fail
;
5437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5438 if (SWIG_arg_fail(2)) SWIG_fail
;
5441 arg3
= (int)(SWIG_As_int(obj2
));
5442 if (SWIG_arg_fail(3)) SWIG_fail
;
5447 arg4
= (int)(SWIG_As_int(obj3
));
5448 if (SWIG_arg_fail(4)) SWIG_fail
;
5454 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5460 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5465 arg7
= (long)(SWIG_As_long(obj6
));
5466 if (SWIG_arg_fail(7)) SWIG_fail
;
5471 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5472 if (SWIG_arg_fail(8)) SWIG_fail
;
5474 SWIG_null_ref("wxValidator");
5476 if (SWIG_arg_fail(8)) SWIG_fail
;
5481 arg9
= wxString_in_helper(obj8
);
5482 if (arg9
== NULL
) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5510 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxGauge
*arg1
= (wxGauge
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5517 (char *) "self",(char *) "range", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5522 if (SWIG_arg_fail(1)) SWIG_fail
;
5524 arg2
= (int)(SWIG_As_int(obj1
));
5525 if (SWIG_arg_fail(2)) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 (arg1
)->SetRange(arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 Py_INCREF(Py_None
); resultobj
= Py_None
;
5541 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxGauge
*arg1
= (wxGauge
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5547 (char *) "self", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5552 if (SWIG_arg_fail(1)) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_From_int((int)(result
));
5569 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxGauge
*arg1
= (wxGauge
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5576 (char *) "self",(char *) "pos", NULL
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5581 if (SWIG_arg_fail(1)) SWIG_fail
;
5583 arg2
= (int)(SWIG_As_int(obj1
));
5584 if (SWIG_arg_fail(2)) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 (arg1
)->SetValue(arg2
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 Py_INCREF(Py_None
); resultobj
= Py_None
;
5600 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxGauge
*arg1
= (wxGauge
*) 0 ;
5604 PyObject
* obj0
= 0 ;
5606 (char *) "self", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_From_int((int)(result
));
5628 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxGauge
*arg1
= (wxGauge
*) 0 ;
5632 PyObject
* obj0
= 0 ;
5634 (char *) "self", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5639 if (SWIG_arg_fail(1)) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5656 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxGauge
*arg1
= (wxGauge
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "w", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5668 if (SWIG_arg_fail(1)) SWIG_fail
;
5670 arg2
= (int)(SWIG_As_int(obj1
));
5671 if (SWIG_arg_fail(2)) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 (arg1
)->SetShadowWidth(arg2
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxGauge
*arg1
= (wxGauge
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5693 (char *) "self", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= SWIG_From_int((int)(result
));
5715 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxGauge
*arg1
= (wxGauge
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5722 (char *) "self",(char *) "w", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5727 if (SWIG_arg_fail(1)) SWIG_fail
;
5729 arg2
= (int)(SWIG_As_int(obj1
));
5730 if (SWIG_arg_fail(2)) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 (arg1
)->SetBezelFace(arg2
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 Py_INCREF(Py_None
); resultobj
= Py_None
;
5746 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxGauge
*arg1
= (wxGauge
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5752 (char *) "self", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5757 if (SWIG_arg_fail(1)) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_From_int((int)(result
));
5774 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5777 wxVisualAttributes result
;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "variant", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5786 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5787 if (SWIG_arg_fail(1)) SWIG_fail
;
5791 if (!wxPyCheckForApp()) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5799 wxVisualAttributes
* resultptr
;
5800 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5809 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5812 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5814 return Py_BuildValue((char *)"");
5816 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5817 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5822 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5827 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5829 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5836 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5837 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5842 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5847 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5849 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5856 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5857 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5862 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5867 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5869 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5876 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5878 wxWindow
*arg1
= (wxWindow
*) 0 ;
5879 int arg2
= (int) -1 ;
5880 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5881 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5882 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5883 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5884 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5885 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5886 long arg6
= (long) 0 ;
5887 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5888 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5889 wxStaticBox
*result
;
5890 bool temp3
= false ;
5893 bool temp7
= false ;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5896 PyObject
* obj2
= 0 ;
5897 PyObject
* obj3
= 0 ;
5898 PyObject
* obj4
= 0 ;
5899 PyObject
* obj5
= 0 ;
5900 PyObject
* obj6
= 0 ;
5902 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5907 if (SWIG_arg_fail(1)) SWIG_fail
;
5910 arg2
= (int)(SWIG_As_int(obj1
));
5911 if (SWIG_arg_fail(2)) SWIG_fail
;
5916 arg3
= wxString_in_helper(obj2
);
5917 if (arg3
== NULL
) SWIG_fail
;
5924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5935 arg6
= (long)(SWIG_As_long(obj5
));
5936 if (SWIG_arg_fail(6)) SWIG_fail
;
5941 arg7
= wxString_in_helper(obj6
);
5942 if (arg7
== NULL
) SWIG_fail
;
5947 if (!wxPyCheckForApp()) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5977 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxStaticBox
*result
;
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
5986 if (!wxPyCheckForApp()) SWIG_fail
;
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 result
= (wxStaticBox
*)new wxStaticBox();
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6000 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6003 wxWindow
*arg2
= (wxWindow
*) 0 ;
6004 int arg3
= (int) -1 ;
6005 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6006 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6007 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6008 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6009 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6010 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6011 long arg7
= (long) 0 ;
6012 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6013 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6015 bool temp4
= false ;
6018 bool temp8
= false ;
6019 PyObject
* obj0
= 0 ;
6020 PyObject
* obj1
= 0 ;
6021 PyObject
* obj2
= 0 ;
6022 PyObject
* obj3
= 0 ;
6023 PyObject
* obj4
= 0 ;
6024 PyObject
* obj5
= 0 ;
6025 PyObject
* obj6
= 0 ;
6026 PyObject
* obj7
= 0 ;
6028 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6033 if (SWIG_arg_fail(1)) SWIG_fail
;
6034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6035 if (SWIG_arg_fail(2)) SWIG_fail
;
6038 arg3
= (int)(SWIG_As_int(obj2
));
6039 if (SWIG_arg_fail(3)) SWIG_fail
;
6044 arg4
= wxString_in_helper(obj3
);
6045 if (arg4
== NULL
) SWIG_fail
;
6052 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6058 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6063 arg7
= (long)(SWIG_As_long(obj6
));
6064 if (SWIG_arg_fail(7)) SWIG_fail
;
6069 arg8
= wxString_in_helper(obj7
);
6070 if (arg8
== NULL
) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6106 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6108 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6109 wxVisualAttributes result
;
6110 PyObject
* obj0
= 0 ;
6112 (char *) "variant", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6118 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6119 if (SWIG_arg_fail(1)) SWIG_fail
;
6123 if (!wxPyCheckForApp()) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6131 wxVisualAttributes
* resultptr
;
6132 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6141 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6144 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6146 return Py_BuildValue((char *)"");
6148 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxWindow
*arg1
= (wxWindow
*) 0 ;
6151 int arg2
= (int) -1 ;
6152 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6153 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6154 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6155 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6156 long arg5
= (long) wxLI_HORIZONTAL
;
6157 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6158 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6159 wxStaticLine
*result
;
6162 bool temp6
= false ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6165 PyObject
* obj2
= 0 ;
6166 PyObject
* obj3
= 0 ;
6167 PyObject
* obj4
= 0 ;
6168 PyObject
* obj5
= 0 ;
6170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail
;
6178 arg2
= (int)(SWIG_As_int(obj1
));
6179 if (SWIG_arg_fail(2)) SWIG_fail
;
6185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6191 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6196 arg5
= (long)(SWIG_As_long(obj4
));
6197 if (SWIG_arg_fail(5)) SWIG_fail
;
6202 arg6
= wxString_in_helper(obj5
);
6203 if (arg6
== NULL
) SWIG_fail
;
6208 if (!wxPyCheckForApp()) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6230 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxStaticLine
*result
;
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6239 if (!wxPyCheckForApp()) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (wxStaticLine
*)new wxStaticLine();
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6253 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6256 wxWindow
*arg2
= (wxWindow
*) 0 ;
6257 int arg3
= (int) -1 ;
6258 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6259 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6260 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6261 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6262 long arg6
= (long) wxLI_HORIZONTAL
;
6263 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6264 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6268 bool temp7
= false ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6271 PyObject
* obj2
= 0 ;
6272 PyObject
* obj3
= 0 ;
6273 PyObject
* obj4
= 0 ;
6274 PyObject
* obj5
= 0 ;
6275 PyObject
* obj6
= 0 ;
6277 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6282 if (SWIG_arg_fail(1)) SWIG_fail
;
6283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6284 if (SWIG_arg_fail(2)) SWIG_fail
;
6287 arg3
= (int)(SWIG_As_int(obj2
));
6288 if (SWIG_arg_fail(3)) SWIG_fail
;
6294 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6300 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6305 arg6
= (long)(SWIG_As_long(obj5
));
6306 if (SWIG_arg_fail(6)) SWIG_fail
;
6311 arg7
= wxString_in_helper(obj6
);
6312 if (arg7
== NULL
) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6340 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
;
6342 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6346 (char *) "self", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6351 if (SWIG_arg_fail(1)) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6368 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
;
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (int)wxStaticLine::GetDefaultSize();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_From_int((int)(result
));
6392 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6395 wxVisualAttributes result
;
6396 PyObject
* obj0
= 0 ;
6398 (char *) "variant", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6404 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6405 if (SWIG_arg_fail(1)) SWIG_fail
;
6409 if (!wxPyCheckForApp()) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6417 wxVisualAttributes
* resultptr
;
6418 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6427 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6430 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6432 return Py_BuildValue((char *)"");
6434 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxWindow
*arg1
= (wxWindow
*) 0 ;
6437 int arg2
= (int) -1 ;
6438 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6439 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6440 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6441 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6442 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6443 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6444 long arg6
= (long) 0 ;
6445 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6446 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6447 wxStaticText
*result
;
6448 bool temp3
= false ;
6451 bool temp7
= false ;
6452 PyObject
* obj0
= 0 ;
6453 PyObject
* obj1
= 0 ;
6454 PyObject
* obj2
= 0 ;
6455 PyObject
* obj3
= 0 ;
6456 PyObject
* obj4
= 0 ;
6457 PyObject
* obj5
= 0 ;
6458 PyObject
* obj6
= 0 ;
6460 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6465 if (SWIG_arg_fail(1)) SWIG_fail
;
6468 arg2
= (int)(SWIG_As_int(obj1
));
6469 if (SWIG_arg_fail(2)) SWIG_fail
;
6474 arg3
= wxString_in_helper(obj2
);
6475 if (arg3
== NULL
) SWIG_fail
;
6482 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6488 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6493 arg6
= (long)(SWIG_As_long(obj5
));
6494 if (SWIG_arg_fail(6)) SWIG_fail
;
6499 arg7
= wxString_in_helper(obj6
);
6500 if (arg7
== NULL
) SWIG_fail
;
6505 if (!wxPyCheckForApp()) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6535 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxStaticText
*result
;
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6544 if (!wxPyCheckForApp()) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= (wxStaticText
*)new wxStaticText();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6558 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6561 wxWindow
*arg2
= (wxWindow
*) 0 ;
6562 int arg3
= (int) -1 ;
6563 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6564 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6565 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6566 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6567 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6568 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6569 long arg7
= (long) 0 ;
6570 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6571 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6573 bool temp4
= false ;
6576 bool temp8
= false ;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6579 PyObject
* obj2
= 0 ;
6580 PyObject
* obj3
= 0 ;
6581 PyObject
* obj4
= 0 ;
6582 PyObject
* obj5
= 0 ;
6583 PyObject
* obj6
= 0 ;
6584 PyObject
* obj7
= 0 ;
6586 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6591 if (SWIG_arg_fail(1)) SWIG_fail
;
6592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6593 if (SWIG_arg_fail(2)) SWIG_fail
;
6596 arg3
= (int)(SWIG_As_int(obj2
));
6597 if (SWIG_arg_fail(3)) SWIG_fail
;
6602 arg4
= wxString_in_helper(obj3
);
6603 if (arg4
== NULL
) SWIG_fail
;
6610 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6616 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6621 arg7
= (long)(SWIG_As_long(obj6
));
6622 if (SWIG_arg_fail(7)) SWIG_fail
;
6627 arg8
= wxString_in_helper(obj7
);
6628 if (arg8
== NULL
) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6664 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
;
6666 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6667 wxVisualAttributes result
;
6668 PyObject
* obj0
= 0 ;
6670 (char *) "variant", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6676 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6677 if (SWIG_arg_fail(1)) SWIG_fail
;
6681 if (!wxPyCheckForApp()) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 wxVisualAttributes
* resultptr
;
6690 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6699 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6702 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6704 return Py_BuildValue((char *)"");
6706 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxWindow
*arg1
= (wxWindow
*) 0 ;
6709 int arg2
= (int) -1 ;
6710 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6711 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6712 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6713 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6714 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6715 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6716 long arg6
= (long) 0 ;
6717 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6718 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6719 wxStaticBitmap
*result
;
6722 bool temp7
= false ;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6725 PyObject
* obj2
= 0 ;
6726 PyObject
* obj3
= 0 ;
6727 PyObject
* obj4
= 0 ;
6728 PyObject
* obj5
= 0 ;
6729 PyObject
* obj6
= 0 ;
6731 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6736 if (SWIG_arg_fail(1)) SWIG_fail
;
6739 arg2
= (int)(SWIG_As_int(obj1
));
6740 if (SWIG_arg_fail(2)) SWIG_fail
;
6745 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6746 if (SWIG_arg_fail(3)) SWIG_fail
;
6748 SWIG_null_ref("wxBitmap");
6750 if (SWIG_arg_fail(3)) SWIG_fail
;
6756 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6762 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6767 arg6
= (long)(SWIG_As_long(obj5
));
6768 if (SWIG_arg_fail(6)) SWIG_fail
;
6773 arg7
= wxString_in_helper(obj6
);
6774 if (arg7
== NULL
) SWIG_fail
;
6779 if (!wxPyCheckForApp()) SWIG_fail
;
6780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6783 wxPyEndAllowThreads(__tstate
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6801 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
;
6803 wxStaticBitmap
*result
;
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6810 if (!wxPyCheckForApp()) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6824 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6827 wxWindow
*arg2
= (wxWindow
*) 0 ;
6828 int arg3
= (int) -1 ;
6829 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6830 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6831 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6832 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6833 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6834 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6835 long arg7
= (long) 0 ;
6836 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6837 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6841 bool temp8
= false ;
6842 PyObject
* obj0
= 0 ;
6843 PyObject
* obj1
= 0 ;
6844 PyObject
* obj2
= 0 ;
6845 PyObject
* obj3
= 0 ;
6846 PyObject
* obj4
= 0 ;
6847 PyObject
* obj5
= 0 ;
6848 PyObject
* obj6
= 0 ;
6849 PyObject
* obj7
= 0 ;
6851 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6856 if (SWIG_arg_fail(1)) SWIG_fail
;
6857 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6858 if (SWIG_arg_fail(2)) SWIG_fail
;
6861 arg3
= (int)(SWIG_As_int(obj2
));
6862 if (SWIG_arg_fail(3)) SWIG_fail
;
6867 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6868 if (SWIG_arg_fail(4)) SWIG_fail
;
6870 SWIG_null_ref("wxBitmap");
6872 if (SWIG_arg_fail(4)) SWIG_fail
;
6878 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6884 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6889 arg7
= (long)(SWIG_As_long(obj6
));
6890 if (SWIG_arg_fail(7)) SWIG_fail
;
6895 arg8
= wxString_in_helper(obj7
);
6896 if (arg8
== NULL
) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6924 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6926 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6928 PyObject
* obj0
= 0 ;
6930 (char *) "self", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6935 if (SWIG_arg_fail(1)) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 result
= (arg1
)->GetBitmap();
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6944 wxBitmap
* resultptr
;
6945 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6954 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6957 wxBitmap
*arg2
= 0 ;
6958 PyObject
* obj0
= 0 ;
6959 PyObject
* obj1
= 0 ;
6961 (char *) "self",(char *) "bitmap", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6966 if (SWIG_arg_fail(1)) SWIG_fail
;
6968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6969 if (SWIG_arg_fail(2)) SWIG_fail
;
6971 SWIG_null_ref("wxBitmap");
6973 if (SWIG_arg_fail(2)) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6989 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6993 PyObject
* obj0
= 0 ;
6994 PyObject
* obj1
= 0 ;
6996 (char *) "self",(char *) "icon", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7001 if (SWIG_arg_fail(1)) SWIG_fail
;
7003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7004 if (SWIG_arg_fail(2)) SWIG_fail
;
7006 SWIG_null_ref("wxIcon");
7008 if (SWIG_arg_fail(2)) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 Py_INCREF(Py_None
); resultobj
= Py_None
;
7024 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7026 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7027 wxVisualAttributes result
;
7028 PyObject
* obj0
= 0 ;
7030 (char *) "variant", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7036 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7037 if (SWIG_arg_fail(1)) SWIG_fail
;
7041 if (!wxPyCheckForApp()) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 wxVisualAttributes
* resultptr
;
7050 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7059 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7062 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7064 return Py_BuildValue((char *)"");
7066 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7067 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7072 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7077 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7079 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7086 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxWindow
*arg1
= (wxWindow
*) 0 ;
7089 int arg2
= (int) -1 ;
7090 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7091 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7092 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7093 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7094 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7095 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7096 long arg6
= (long) 0 ;
7097 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7098 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7099 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7100 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7104 bool temp5
= false ;
7105 bool temp8
= false ;
7106 PyObject
* obj0
= 0 ;
7107 PyObject
* obj1
= 0 ;
7108 PyObject
* obj2
= 0 ;
7109 PyObject
* obj3
= 0 ;
7110 PyObject
* obj4
= 0 ;
7111 PyObject
* obj5
= 0 ;
7112 PyObject
* obj6
= 0 ;
7113 PyObject
* obj7
= 0 ;
7115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7120 if (SWIG_arg_fail(1)) SWIG_fail
;
7123 arg2
= (int)(SWIG_As_int(obj1
));
7124 if (SWIG_arg_fail(2)) SWIG_fail
;
7130 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7136 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7141 if (! PySequence_Check(obj4
)) {
7142 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7145 arg5
= new wxArrayString
;
7147 int i
, len
=PySequence_Length(obj4
);
7148 for (i
=0; i
<len
; i
++) {
7149 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7151 PyObject
* str
= PyObject_Unicode(item
);
7153 PyObject
* str
= PyObject_Str(item
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7156 arg5
->Add(Py2wxString(str
));
7164 arg6
= (long)(SWIG_As_long(obj5
));
7165 if (SWIG_arg_fail(6)) SWIG_fail
;
7170 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7171 if (SWIG_arg_fail(7)) SWIG_fail
;
7173 SWIG_null_ref("wxValidator");
7175 if (SWIG_arg_fail(7)) SWIG_fail
;
7180 arg8
= wxString_in_helper(obj7
);
7181 if (arg8
== NULL
) SWIG_fail
;
7186 if (!wxPyCheckForApp()) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7195 if (temp5
) delete arg5
;
7204 if (temp5
) delete arg5
;
7214 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
;
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7223 if (!wxPyCheckForApp()) SWIG_fail
;
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 result
= (wxListBox
*)new wxListBox();
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7237 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
;
7239 wxListBox
*arg1
= (wxListBox
*) 0 ;
7240 wxWindow
*arg2
= (wxWindow
*) 0 ;
7241 int arg3
= (int) -1 ;
7242 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7243 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7244 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7245 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7246 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7247 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7248 long arg7
= (long) 0 ;
7249 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7250 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7251 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7252 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7256 bool temp6
= false ;
7257 bool temp9
= false ;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7260 PyObject
* obj2
= 0 ;
7261 PyObject
* obj3
= 0 ;
7262 PyObject
* obj4
= 0 ;
7263 PyObject
* obj5
= 0 ;
7264 PyObject
* obj6
= 0 ;
7265 PyObject
* obj7
= 0 ;
7266 PyObject
* obj8
= 0 ;
7268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7273 if (SWIG_arg_fail(1)) SWIG_fail
;
7274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7275 if (SWIG_arg_fail(2)) SWIG_fail
;
7278 arg3
= (int)(SWIG_As_int(obj2
));
7279 if (SWIG_arg_fail(3)) SWIG_fail
;
7285 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7291 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7296 if (! PySequence_Check(obj5
)) {
7297 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7300 arg6
= new wxArrayString
;
7302 int i
, len
=PySequence_Length(obj5
);
7303 for (i
=0; i
<len
; i
++) {
7304 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7306 PyObject
* str
= PyObject_Unicode(item
);
7308 PyObject
* str
= PyObject_Str(item
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7311 arg6
->Add(Py2wxString(str
));
7319 arg7
= (long)(SWIG_As_long(obj6
));
7320 if (SWIG_arg_fail(7)) SWIG_fail
;
7325 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7326 if (SWIG_arg_fail(8)) SWIG_fail
;
7328 SWIG_null_ref("wxValidator");
7330 if (SWIG_arg_fail(8)) SWIG_fail
;
7335 arg9
= wxString_in_helper(obj8
);
7336 if (arg9
== NULL
) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7351 if (temp6
) delete arg6
;
7360 if (temp6
) delete arg6
;
7370 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxListBox
*arg1
= (wxListBox
*) 0 ;
7373 wxString
*arg2
= 0 ;
7375 PyObject
*arg4
= (PyObject
*) NULL
;
7376 bool temp2
= false ;
7377 PyObject
* obj0
= 0 ;
7378 PyObject
* obj1
= 0 ;
7379 PyObject
* obj2
= 0 ;
7380 PyObject
* obj3
= 0 ;
7382 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail
;
7389 arg2
= wxString_in_helper(obj1
);
7390 if (arg2
== NULL
) SWIG_fail
;
7394 arg3
= (int)(SWIG_As_int(obj2
));
7395 if (SWIG_arg_fail(3)) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 Py_INCREF(Py_None
); resultobj
= Py_None
;
7422 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxListBox
*arg1
= (wxListBox
*) 0 ;
7425 wxArrayString
*arg2
= 0 ;
7427 bool temp2
= false ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7430 PyObject
* obj2
= 0 ;
7432 (char *) "self",(char *) "items",(char *) "pos", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7437 if (SWIG_arg_fail(1)) SWIG_fail
;
7439 if (! PySequence_Check(obj1
)) {
7440 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7443 arg2
= new wxArrayString
;
7445 int i
, len
=PySequence_Length(obj1
);
7446 for (i
=0; i
<len
; i
++) {
7447 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7449 PyObject
* str
= PyObject_Unicode(item
);
7451 PyObject
* str
= PyObject_Str(item
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7454 arg2
->Add(Py2wxString(str
));
7460 arg3
= (int)(SWIG_As_int(obj2
));
7461 if (SWIG_arg_fail(3)) SWIG_fail
;
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 Py_INCREF(Py_None
); resultobj
= Py_None
;
7472 if (temp2
) delete arg2
;
7477 if (temp2
) delete arg2
;
7483 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxListBox
*arg1
= (wxListBox
*) 0 ;
7486 wxArrayString
*arg2
= 0 ;
7487 bool temp2
= false ;
7488 PyObject
* obj0
= 0 ;
7489 PyObject
* obj1
= 0 ;
7491 (char *) "self",(char *) "items", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7496 if (SWIG_arg_fail(1)) SWIG_fail
;
7498 if (! PySequence_Check(obj1
)) {
7499 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7502 arg2
= new wxArrayString
;
7504 int i
, len
=PySequence_Length(obj1
);
7505 for (i
=0; i
<len
; i
++) {
7506 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7508 PyObject
* str
= PyObject_Unicode(item
);
7510 PyObject
* str
= PyObject_Str(item
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7513 arg2
->Add(Py2wxString(str
));
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 (arg1
)->Set((wxArrayString
const &)*arg2
);
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 Py_INCREF(Py_None
); resultobj
= Py_None
;
7527 if (temp2
) delete arg2
;
7532 if (temp2
) delete arg2
;
7538 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxListBox
*arg1
= (wxListBox
*) 0 ;
7543 PyObject
* obj0
= 0 ;
7544 PyObject
* obj1
= 0 ;
7546 (char *) "self",(char *) "n", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7551 if (SWIG_arg_fail(1)) SWIG_fail
;
7553 arg2
= (int)(SWIG_As_int(obj1
));
7554 if (SWIG_arg_fail(2)) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7572 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxListBox
*arg1
= (wxListBox
*) 0 ;
7576 bool arg3
= (bool) true ;
7577 PyObject
* obj0
= 0 ;
7578 PyObject
* obj1
= 0 ;
7579 PyObject
* obj2
= 0 ;
7581 (char *) "self",(char *) "n",(char *) "select", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7586 if (SWIG_arg_fail(1)) SWIG_fail
;
7588 arg2
= (int)(SWIG_As_int(obj1
));
7589 if (SWIG_arg_fail(2)) SWIG_fail
;
7593 arg3
= (bool)(SWIG_As_bool(obj2
));
7594 if (SWIG_arg_fail(3)) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 (arg1
)->SetSelection(arg2
,arg3
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 Py_INCREF(Py_None
); resultobj
= Py_None
;
7611 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxListBox
*arg1
= (wxListBox
*) 0 ;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7618 (char *) "self",(char *) "n", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail
;
7625 arg2
= (int)(SWIG_As_int(obj1
));
7626 if (SWIG_arg_fail(2)) SWIG_fail
;
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 (arg1
)->Select(arg2
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 Py_INCREF(Py_None
); resultobj
= Py_None
;
7642 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7644 wxListBox
*arg1
= (wxListBox
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7647 PyObject
* obj1
= 0 ;
7649 (char *) "self",(char *) "n", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7654 if (SWIG_arg_fail(1)) SWIG_fail
;
7656 arg2
= (int)(SWIG_As_int(obj1
));
7657 if (SWIG_arg_fail(2)) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 (arg1
)->Deselect(arg2
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 Py_INCREF(Py_None
); resultobj
= Py_None
;
7673 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
*resultobj
;
7675 wxListBox
*arg1
= (wxListBox
*) 0 ;
7676 int arg2
= (int) -1 ;
7677 PyObject
* obj0
= 0 ;
7678 PyObject
* obj1
= 0 ;
7680 (char *) "self",(char *) "itemToLeaveSelected", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7685 if (SWIG_arg_fail(1)) SWIG_fail
;
7688 arg2
= (int)(SWIG_As_int(obj1
));
7689 if (SWIG_arg_fail(2)) SWIG_fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 (arg1
)->DeselectAll(arg2
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 Py_INCREF(Py_None
); resultobj
= Py_None
;
7706 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxListBox
*arg1
= (wxListBox
*) 0 ;
7709 wxString
*arg2
= 0 ;
7710 bool arg3
= (bool) true ;
7712 bool temp2
= false ;
7713 PyObject
* obj0
= 0 ;
7714 PyObject
* obj1
= 0 ;
7715 PyObject
* obj2
= 0 ;
7717 (char *) "self",(char *) "s",(char *) "select", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7722 if (SWIG_arg_fail(1)) SWIG_fail
;
7724 arg2
= wxString_in_helper(obj1
);
7725 if (arg2
== NULL
) SWIG_fail
;
7730 arg3
= (bool)(SWIG_As_bool(obj2
));
7731 if (SWIG_arg_fail(3)) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7758 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxListBox
*arg1
= (wxListBox
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7764 (char *) "self", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7769 if (SWIG_arg_fail(1)) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7784 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxListBox
*arg1
= (wxListBox
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7789 PyObject
* obj1
= 0 ;
7791 (char *) "self",(char *) "n", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7796 if (SWIG_arg_fail(1)) SWIG_fail
;
7798 arg2
= (int)(SWIG_As_int(obj1
));
7799 if (SWIG_arg_fail(2)) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->SetFirstItem(arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxListBox
*arg1
= (wxListBox
*) 0 ;
7818 wxString
*arg2
= 0 ;
7819 bool temp2
= false ;
7820 PyObject
* obj0
= 0 ;
7821 PyObject
* obj1
= 0 ;
7823 (char *) "self",(char *) "s", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7828 if (SWIG_arg_fail(1)) SWIG_fail
;
7830 arg2
= wxString_in_helper(obj1
);
7831 if (arg2
== NULL
) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 Py_INCREF(Py_None
); resultobj
= Py_None
;
7856 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxListBox
*arg1
= (wxListBox
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7863 (char *) "self",(char *) "n", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail
;
7870 arg2
= (int)(SWIG_As_int(obj1
));
7871 if (SWIG_arg_fail(2)) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 (arg1
)->EnsureVisible(arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 Py_INCREF(Py_None
); resultobj
= Py_None
;
7887 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxListBox
*arg1
= (wxListBox
*) 0 ;
7890 wxString
*arg2
= 0 ;
7891 bool temp2
= false ;
7892 PyObject
* obj0
= 0 ;
7893 PyObject
* obj1
= 0 ;
7895 (char *) "self",(char *) "s", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7900 if (SWIG_arg_fail(1)) SWIG_fail
;
7902 arg2
= wxString_in_helper(obj1
);
7903 if (arg2
== NULL
) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 Py_INCREF(Py_None
); resultobj
= Py_None
;
7928 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxListBox
*arg1
= (wxListBox
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7956 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxListBox
*arg1
= (wxListBox
*) 0 ;
7960 wxColour
*arg3
= 0 ;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7964 PyObject
* obj2
= 0 ;
7966 (char *) "self",(char *) "item",(char *) "c", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7971 if (SWIG_arg_fail(1)) SWIG_fail
;
7973 arg2
= (int)(SWIG_As_int(obj1
));
7974 if (SWIG_arg_fail(2)) SWIG_fail
;
7978 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 Py_INCREF(Py_None
); resultobj
= Py_None
;
7994 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxListBox
*arg1
= (wxListBox
*) 0 ;
7998 wxColour
*arg3
= 0 ;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8002 PyObject
* obj2
= 0 ;
8004 (char *) "self",(char *) "item",(char *) "c", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8009 if (SWIG_arg_fail(1)) SWIG_fail
;
8011 arg2
= (int)(SWIG_As_int(obj1
));
8012 if (SWIG_arg_fail(2)) SWIG_fail
;
8016 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 Py_INCREF(Py_None
); resultobj
= Py_None
;
8032 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxListBox
*arg1
= (wxListBox
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8038 PyObject
* obj1
= 0 ;
8039 PyObject
* obj2
= 0 ;
8041 (char *) "self",(char *) "item",(char *) "f", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8046 if (SWIG_arg_fail(1)) SWIG_fail
;
8048 arg2
= (int)(SWIG_As_int(obj1
));
8049 if (SWIG_arg_fail(2)) SWIG_fail
;
8052 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(3)) SWIG_fail
;
8055 SWIG_null_ref("wxFont");
8057 if (SWIG_arg_fail(3)) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8073 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8076 wxVisualAttributes result
;
8077 PyObject
* obj0
= 0 ;
8079 (char *) "variant", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8085 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8086 if (SWIG_arg_fail(1)) SWIG_fail
;
8090 if (!wxPyCheckForApp()) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8098 wxVisualAttributes
* resultptr
;
8099 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8108 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8111 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8113 return Py_BuildValue((char *)"");
8115 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
*resultobj
;
8117 wxWindow
*arg1
= (wxWindow
*) 0 ;
8118 int arg2
= (int) -1 ;
8119 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8120 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8121 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8122 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8123 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8124 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8125 long arg6
= (long) 0 ;
8126 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8127 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8128 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8129 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8130 wxCheckListBox
*result
;
8133 bool temp5
= false ;
8134 bool temp8
= false ;
8135 PyObject
* obj0
= 0 ;
8136 PyObject
* obj1
= 0 ;
8137 PyObject
* obj2
= 0 ;
8138 PyObject
* obj3
= 0 ;
8139 PyObject
* obj4
= 0 ;
8140 PyObject
* obj5
= 0 ;
8141 PyObject
* obj6
= 0 ;
8142 PyObject
* obj7
= 0 ;
8144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8149 if (SWIG_arg_fail(1)) SWIG_fail
;
8152 arg2
= (int)(SWIG_As_int(obj1
));
8153 if (SWIG_arg_fail(2)) SWIG_fail
;
8159 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8165 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8170 if (! PySequence_Check(obj4
)) {
8171 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8174 arg5
= new wxArrayString
;
8176 int i
, len
=PySequence_Length(obj4
);
8177 for (i
=0; i
<len
; i
++) {
8178 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8180 PyObject
* str
= PyObject_Unicode(item
);
8182 PyObject
* str
= PyObject_Str(item
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8185 arg5
->Add(Py2wxString(str
));
8193 arg6
= (long)(SWIG_As_long(obj5
));
8194 if (SWIG_arg_fail(6)) SWIG_fail
;
8199 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8200 if (SWIG_arg_fail(7)) SWIG_fail
;
8202 SWIG_null_ref("wxValidator");
8204 if (SWIG_arg_fail(7)) SWIG_fail
;
8209 arg8
= wxString_in_helper(obj7
);
8210 if (arg8
== NULL
) SWIG_fail
;
8215 if (!wxPyCheckForApp()) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8224 if (temp5
) delete arg5
;
8233 if (temp5
) delete arg5
;
8243 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxCheckListBox
*result
;
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8252 if (!wxPyCheckForApp()) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (wxCheckListBox
*)new wxCheckListBox();
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8266 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8269 wxWindow
*arg2
= (wxWindow
*) 0 ;
8270 int arg3
= (int) -1 ;
8271 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8272 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8273 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8274 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8275 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8276 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8277 long arg7
= (long) 0 ;
8278 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8279 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8280 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8281 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8285 bool temp6
= false ;
8286 bool temp9
= false ;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8289 PyObject
* obj2
= 0 ;
8290 PyObject
* obj3
= 0 ;
8291 PyObject
* obj4
= 0 ;
8292 PyObject
* obj5
= 0 ;
8293 PyObject
* obj6
= 0 ;
8294 PyObject
* obj7
= 0 ;
8295 PyObject
* obj8
= 0 ;
8297 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8302 if (SWIG_arg_fail(1)) SWIG_fail
;
8303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8304 if (SWIG_arg_fail(2)) SWIG_fail
;
8307 arg3
= (int)(SWIG_As_int(obj2
));
8308 if (SWIG_arg_fail(3)) SWIG_fail
;
8314 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8320 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8325 if (! PySequence_Check(obj5
)) {
8326 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8329 arg6
= new wxArrayString
;
8331 int i
, len
=PySequence_Length(obj5
);
8332 for (i
=0; i
<len
; i
++) {
8333 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8335 PyObject
* str
= PyObject_Unicode(item
);
8337 PyObject
* str
= PyObject_Str(item
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8340 arg6
->Add(Py2wxString(str
));
8348 arg7
= (long)(SWIG_As_long(obj6
));
8349 if (SWIG_arg_fail(7)) SWIG_fail
;
8354 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8355 if (SWIG_arg_fail(8)) SWIG_fail
;
8357 SWIG_null_ref("wxValidator");
8359 if (SWIG_arg_fail(8)) SWIG_fail
;
8364 arg9
= wxString_in_helper(obj8
);
8365 if (arg9
== NULL
) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8380 if (temp6
) delete arg6
;
8389 if (temp6
) delete arg6
;
8399 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "self",(char *) "index", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8412 if (SWIG_arg_fail(1)) SWIG_fail
;
8414 arg2
= (int)(SWIG_As_int(obj1
));
8415 if (SWIG_arg_fail(2)) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (bool)(arg1
)->IsChecked(arg2
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8433 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8437 int arg3
= (int) true ;
8438 PyObject
* obj0
= 0 ;
8439 PyObject
* obj1
= 0 ;
8440 PyObject
* obj2
= 0 ;
8442 (char *) "self",(char *) "index",(char *) "check", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8447 if (SWIG_arg_fail(1)) SWIG_fail
;
8449 arg2
= (int)(SWIG_As_int(obj1
));
8450 if (SWIG_arg_fail(2)) SWIG_fail
;
8454 arg3
= (int)(SWIG_As_int(obj2
));
8455 if (SWIG_arg_fail(3)) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 (arg1
)->Check(arg2
,arg3
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 Py_INCREF(Py_None
); resultobj
= Py_None
;
8472 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8481 (char *) "self",(char *) "pt", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8486 if (SWIG_arg_fail(1)) SWIG_fail
;
8489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= SWIG_From_int((int)(result
));
8507 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8515 PyObject
* obj2
= 0 ;
8517 (char *) "self",(char *) "x",(char *) "y", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail
;
8524 arg2
= (int)(SWIG_As_int(obj1
));
8525 if (SWIG_arg_fail(2)) SWIG_fail
;
8528 arg3
= (int)(SWIG_As_int(obj2
));
8529 if (SWIG_arg_fail(3)) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_From_int((int)(result
));
8547 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8550 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8552 return Py_BuildValue((char *)"");
8554 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8555 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8560 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8565 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8567 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8574 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
;
8576 wxColour
const &arg1_defvalue
= wxNullColour
;
8577 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8578 wxColour
const &arg2_defvalue
= wxNullColour
;
8579 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8580 wxFont
const &arg3_defvalue
= wxNullFont
;
8581 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8582 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8588 PyObject
* obj2
= 0 ;
8589 PyObject
* obj3
= 0 ;
8591 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8598 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8604 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8609 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8610 if (SWIG_arg_fail(3)) SWIG_fail
;
8612 SWIG_null_ref("wxFont");
8614 if (SWIG_arg_fail(3)) SWIG_fail
;
8619 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8620 if (SWIG_arg_fail(4)) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8637 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8640 PyObject
* obj0
= 0 ;
8642 (char *) "self", NULL
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8647 if (SWIG_arg_fail(1)) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 Py_INCREF(Py_None
); resultobj
= Py_None
;
8662 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8665 PyObject
* obj0
= 0 ;
8667 (char *) "self", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8672 if (SWIG_arg_fail(1)) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 Py_INCREF(Py_None
); resultobj
= Py_None
;
8687 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
;
8689 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8690 wxColour
*arg2
= 0 ;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8695 (char *) "self",(char *) "colText", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8700 if (SWIG_arg_fail(1)) SWIG_fail
;
8703 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 Py_INCREF(Py_None
); resultobj
= Py_None
;
8719 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8722 wxColour
*arg2
= 0 ;
8724 PyObject
* obj0
= 0 ;
8725 PyObject
* obj1
= 0 ;
8727 (char *) "self",(char *) "colBack", NULL
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8732 if (SWIG_arg_fail(1)) SWIG_fail
;
8735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8755 long arg3
= (long) wxTEXT_ATTR_FONT
;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8760 (char *) "self",(char *) "font",(char *) "flags", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8765 if (SWIG_arg_fail(1)) SWIG_fail
;
8767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8768 if (SWIG_arg_fail(2)) SWIG_fail
;
8770 SWIG_null_ref("wxFont");
8772 if (SWIG_arg_fail(2)) SWIG_fail
;
8776 arg3
= (long)(SWIG_As_long(obj2
));
8777 if (SWIG_arg_fail(3)) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8797 wxTextAttrAlignment arg2
;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj1
= 0 ;
8801 (char *) "self",(char *) "alignment", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8806 if (SWIG_arg_fail(1)) SWIG_fail
;
8808 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8809 if (SWIG_arg_fail(2)) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 Py_INCREF(Py_None
); resultobj
= Py_None
;
8825 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
;
8827 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8828 wxArrayInt
*arg2
= 0 ;
8829 bool temp2
= false ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8833 (char *) "self",(char *) "tabs", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8838 if (SWIG_arg_fail(1)) SWIG_fail
;
8840 if (! PySequence_Check(obj1
)) {
8841 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8844 arg2
= new wxArrayInt
;
8846 int i
, len
=PySequence_Length(obj1
);
8847 for (i
=0; i
<len
; i
++) {
8848 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8849 PyObject
* number
= PyNumber_Int(item
);
8850 arg2
->Add(PyInt_AS_LONG(number
));
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 Py_INCREF(Py_None
); resultobj
= Py_None
;
8864 if (temp2
) delete arg2
;
8869 if (temp2
) delete arg2
;
8875 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8879 int arg3
= (int) 0 ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8884 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8889 if (SWIG_arg_fail(1)) SWIG_fail
;
8891 arg2
= (int)(SWIG_As_int(obj1
));
8892 if (SWIG_arg_fail(2)) SWIG_fail
;
8896 arg3
= (int)(SWIG_As_int(obj2
));
8897 if (SWIG_arg_fail(3)) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 (arg1
)->SetLeftIndent(arg2
,arg3
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 Py_INCREF(Py_None
); resultobj
= Py_None
;
8914 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8921 (char *) "self",(char *) "indent", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail
;
8928 arg2
= (int)(SWIG_As_int(obj1
));
8929 if (SWIG_arg_fail(2)) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->SetRightIndent(arg2
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8950 PyObject
* obj1
= 0 ;
8952 (char *) "self",(char *) "flags", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail
;
8959 arg2
= (long)(SWIG_As_long(obj1
));
8960 if (SWIG_arg_fail(2)) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 (arg1
)->SetFlags(arg2
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8980 PyObject
* obj0
= 0 ;
8982 (char *) "self", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
8986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8987 if (SWIG_arg_fail(1)) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9004 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
;
9006 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9008 PyObject
* obj0
= 0 ;
9010 (char *) "self", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9015 if (SWIG_arg_fail(1)) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9032 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9036 PyObject
* obj0
= 0 ;
9038 (char *) "self", NULL
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9043 if (SWIG_arg_fail(1)) SWIG_fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9060 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9064 PyObject
* obj0
= 0 ;
9066 (char *) "self", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9071 if (SWIG_arg_fail(1)) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9088 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "self", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9116 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "self", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9127 if (SWIG_arg_fail(1)) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9144 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "self", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9155 if (SWIG_arg_fail(1)) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9172 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9177 PyObject
* obj0
= 0 ;
9178 PyObject
* obj1
= 0 ;
9180 (char *) "self",(char *) "flag", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9185 if (SWIG_arg_fail(1)) SWIG_fail
;
9187 arg2
= (long)(SWIG_As_long(obj1
));
9188 if (SWIG_arg_fail(2)) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9206 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9212 (char *) "self", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9222 result
= (wxColour
*) &_result_ref
;
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9235 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9239 PyObject
* obj0
= 0 ;
9241 (char *) "self", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9251 result
= (wxColour
*) &_result_ref
;
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9264 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9268 PyObject
* obj0
= 0 ;
9270 (char *) "self", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9275 if (SWIG_arg_fail(1)) SWIG_fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9280 result
= (wxFont
*) &_result_ref
;
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 wxFont
* resultptr
= new wxFont(*result
);
9288 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9296 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9299 wxTextAttrAlignment result
;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9307 if (SWIG_arg_fail(1)) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= SWIG_From_int((result
));
9322 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9328 (char *) "self", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9333 if (SWIG_arg_fail(1)) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9338 result
= (wxArrayInt
*) &_result_ref
;
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= PyList_New(0);
9347 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9348 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9349 PyList_Append(resultobj
, val
);
9359 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9370 if (SWIG_arg_fail(1)) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_From_long((long)(result
));
9387 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9393 (char *) "self", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9398 if (SWIG_arg_fail(1)) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= SWIG_From_long((long)(result
));
9415 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9417 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9421 (char *) "self", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9426 if (SWIG_arg_fail(1)) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_From_long((long)(result
));
9443 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9449 (char *) "self", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_From_long((long)(result
));
9471 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9477 (char *) "self", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9482 if (SWIG_arg_fail(1)) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9499 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxTextAttr
*arg1
= 0 ;
9502 wxTextAttr
*arg2
= 0 ;
9503 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 PyObject
* obj2
= 0 ;
9509 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9515 if (SWIG_arg_fail(1)) SWIG_fail
;
9517 SWIG_null_ref("wxTextAttr");
9519 if (SWIG_arg_fail(1)) SWIG_fail
;
9522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9523 if (SWIG_arg_fail(2)) SWIG_fail
;
9525 SWIG_null_ref("wxTextAttr");
9527 if (SWIG_arg_fail(2)) SWIG_fail
;
9529 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9530 if (SWIG_arg_fail(3)) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9539 wxTextAttr
* resultptr
;
9540 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9549 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9552 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9554 return Py_BuildValue((char *)"");
9556 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxWindow
*arg1
= (wxWindow
*) 0 ;
9559 int arg2
= (int) -1 ;
9560 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9561 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9562 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9563 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9564 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9565 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9566 long arg6
= (long) 0 ;
9567 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9568 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9569 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9570 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9572 bool temp3
= false ;
9575 bool temp8
= false ;
9576 PyObject
* obj0
= 0 ;
9577 PyObject
* obj1
= 0 ;
9578 PyObject
* obj2
= 0 ;
9579 PyObject
* obj3
= 0 ;
9580 PyObject
* obj4
= 0 ;
9581 PyObject
* obj5
= 0 ;
9582 PyObject
* obj6
= 0 ;
9583 PyObject
* obj7
= 0 ;
9585 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9590 if (SWIG_arg_fail(1)) SWIG_fail
;
9593 arg2
= (int)(SWIG_As_int(obj1
));
9594 if (SWIG_arg_fail(2)) SWIG_fail
;
9599 arg3
= wxString_in_helper(obj2
);
9600 if (arg3
== NULL
) SWIG_fail
;
9607 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9613 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9618 arg6
= (long)(SWIG_As_long(obj5
));
9619 if (SWIG_arg_fail(6)) SWIG_fail
;
9624 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9625 if (SWIG_arg_fail(7)) SWIG_fail
;
9627 SWIG_null_ref("wxValidator");
9629 if (SWIG_arg_fail(7)) SWIG_fail
;
9634 arg8
= wxString_in_helper(obj7
);
9635 if (arg8
== NULL
) SWIG_fail
;
9640 if (!wxPyCheckForApp()) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9670 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9679 if (!wxPyCheckForApp()) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 result
= (wxTextCtrl
*)new wxTextCtrl();
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9693 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9696 wxWindow
*arg2
= (wxWindow
*) 0 ;
9697 int arg3
= (int) -1 ;
9698 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9699 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9700 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9701 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9702 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9703 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9704 long arg7
= (long) 0 ;
9705 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9706 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9707 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9708 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9710 bool temp4
= false ;
9713 bool temp9
= false ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9716 PyObject
* obj2
= 0 ;
9717 PyObject
* obj3
= 0 ;
9718 PyObject
* obj4
= 0 ;
9719 PyObject
* obj5
= 0 ;
9720 PyObject
* obj6
= 0 ;
9721 PyObject
* obj7
= 0 ;
9722 PyObject
* obj8
= 0 ;
9724 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9729 if (SWIG_arg_fail(1)) SWIG_fail
;
9730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9731 if (SWIG_arg_fail(2)) SWIG_fail
;
9734 arg3
= (int)(SWIG_As_int(obj2
));
9735 if (SWIG_arg_fail(3)) SWIG_fail
;
9740 arg4
= wxString_in_helper(obj3
);
9741 if (arg4
== NULL
) SWIG_fail
;
9748 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9754 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9759 arg7
= (long)(SWIG_As_long(obj6
));
9760 if (SWIG_arg_fail(7)) SWIG_fail
;
9765 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9766 if (SWIG_arg_fail(8)) SWIG_fail
;
9768 SWIG_null_ref("wxValidator");
9770 if (SWIG_arg_fail(8)) SWIG_fail
;
9775 arg9
= wxString_in_helper(obj8
);
9776 if (arg9
== NULL
) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9812 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9816 PyObject
* obj0
= 0 ;
9818 (char *) "self", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9823 if (SWIG_arg_fail(1)) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9844 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9846 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9847 wxString
*arg2
= 0 ;
9848 bool temp2
= false ;
9849 PyObject
* obj0
= 0 ;
9850 PyObject
* obj1
= 0 ;
9852 (char *) "self",(char *) "value", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9857 if (SWIG_arg_fail(1)) SWIG_fail
;
9859 arg2
= wxString_in_helper(obj1
);
9860 if (arg2
== NULL
) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 (arg1
)->SetValue((wxString
const &)*arg2
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 Py_INCREF(Py_None
); resultobj
= Py_None
;
9885 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 PyObject
* obj2
= 0 ;
9895 (char *) "self",(char *) "from",(char *) "to", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail
;
9902 arg2
= (long)(SWIG_As_long(obj1
));
9903 if (SWIG_arg_fail(2)) SWIG_fail
;
9906 arg3
= (long)(SWIG_As_long(obj2
));
9907 if (SWIG_arg_fail(3)) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9929 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9935 PyObject
* obj1
= 0 ;
9937 (char *) "self",(char *) "lineNo", NULL
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9942 if (SWIG_arg_fail(1)) SWIG_fail
;
9944 arg2
= (long)(SWIG_As_long(obj1
));
9945 if (SWIG_arg_fail(2)) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= SWIG_From_int((int)(result
));
9963 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9968 PyObject
* obj0
= 0 ;
9969 PyObject
* obj1
= 0 ;
9971 (char *) "self",(char *) "lineNo", NULL
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
9975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9976 if (SWIG_arg_fail(1)) SWIG_fail
;
9978 arg2
= (long)(SWIG_As_long(obj1
));
9979 if (SWIG_arg_fail(2)) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10001 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10012 if (SWIG_arg_fail(1)) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_From_int((int)(result
));
10029 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10057 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10068 if (SWIG_arg_fail(1)) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10085 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10089 PyObject
* obj0
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self", NULL
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10096 if (SWIG_arg_fail(1)) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10113 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10115 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10117 PyObject
* obj0
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10124 if (SWIG_arg_fail(1)) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10141 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10144 long *arg2
= (long *) 0 ;
10145 long *arg3
= (long *) 0 ;
10150 PyObject
* obj0
= 0 ;
10151 char *kwnames
[] = {
10152 (char *) "self", NULL
10155 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10156 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10159 if (SWIG_arg_fail(1)) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 Py_INCREF(Py_None
); resultobj
= Py_None
;
10168 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10169 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10170 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10171 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10178 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10182 PyObject
* obj0
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10189 if (SWIG_arg_fail(1)) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10210 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10220 if (SWIG_arg_fail(1)) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 Py_INCREF(Py_None
); resultobj
= Py_None
;
10235 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10240 wxString
*arg4
= 0 ;
10241 bool temp4
= false ;
10242 PyObject
* obj0
= 0 ;
10243 PyObject
* obj1
= 0 ;
10244 PyObject
* obj2
= 0 ;
10245 PyObject
* obj3
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10252 if (SWIG_arg_fail(1)) SWIG_fail
;
10254 arg2
= (long)(SWIG_As_long(obj1
));
10255 if (SWIG_arg_fail(2)) SWIG_fail
;
10258 arg3
= (long)(SWIG_As_long(obj2
));
10259 if (SWIG_arg_fail(3)) SWIG_fail
;
10262 arg4
= wxString_in_helper(obj3
);
10263 if (arg4
== NULL
) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10288 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 PyObject
* obj2
= 0 ;
10296 char *kwnames
[] = {
10297 (char *) "self",(char *) "from",(char *) "to", NULL
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail
;
10304 arg2
= (long)(SWIG_As_long(obj1
));
10305 if (SWIG_arg_fail(2)) SWIG_fail
;
10308 arg3
= (long)(SWIG_As_long(obj2
));
10309 if (SWIG_arg_fail(3)) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->Remove(arg2
,arg3
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10328 wxString
*arg2
= 0 ;
10330 bool temp2
= false ;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self",(char *) "file", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10339 if (SWIG_arg_fail(1)) SWIG_fail
;
10341 arg2
= wxString_in_helper(obj1
);
10342 if (arg2
== NULL
) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10369 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
;
10371 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10372 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10373 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10375 bool temp2
= false ;
10376 PyObject
* obj0
= 0 ;
10377 PyObject
* obj1
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self",(char *) "file", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10384 if (SWIG_arg_fail(1)) SWIG_fail
;
10387 arg2
= wxString_in_helper(obj1
);
10388 if (arg2
== NULL
) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10416 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10419 PyObject
* obj0
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10426 if (SWIG_arg_fail(1)) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 (arg1
)->MarkDirty();
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10434 Py_INCREF(Py_None
); resultobj
= Py_None
;
10441 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10442 PyObject
*resultobj
;
10443 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10444 PyObject
* obj0
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 (arg1
)->DiscardEdits();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 Py_INCREF(Py_None
); resultobj
= Py_None
;
10466 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10469 unsigned long arg2
;
10470 PyObject
* obj0
= 0 ;
10471 PyObject
* obj1
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "self",(char *) "len", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10478 if (SWIG_arg_fail(1)) SWIG_fail
;
10480 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10481 if (SWIG_arg_fail(2)) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 (arg1
)->SetMaxLength(arg2
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10500 wxString
*arg2
= 0 ;
10501 bool temp2
= false ;
10502 PyObject
* obj0
= 0 ;
10503 PyObject
* obj1
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "self",(char *) "text", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10510 if (SWIG_arg_fail(1)) SWIG_fail
;
10512 arg2
= wxString_in_helper(obj1
);
10513 if (arg2
== NULL
) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 (arg1
)->WriteText((wxString
const &)*arg2
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 Py_INCREF(Py_None
); resultobj
= Py_None
;
10538 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10541 wxString
*arg2
= 0 ;
10542 bool temp2
= false ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "text", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10551 if (SWIG_arg_fail(1)) SWIG_fail
;
10553 arg2
= wxString_in_helper(obj1
);
10554 if (arg2
== NULL
) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 (arg1
)->AppendText((wxString
const &)*arg2
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 Py_INCREF(Py_None
); resultobj
= Py_None
;
10579 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10582 wxKeyEvent
*arg2
= 0 ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self",(char *) "event", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail
;
10594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10595 if (SWIG_arg_fail(2)) SWIG_fail
;
10596 if (arg2
== NULL
) {
10597 SWIG_null_ref("wxKeyEvent");
10599 if (SWIG_arg_fail(2)) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10617 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10622 wxTextAttr
*arg4
= 0 ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 PyObject
* obj2
= 0 ;
10627 PyObject
* obj3
= 0 ;
10628 char *kwnames
[] = {
10629 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10634 if (SWIG_arg_fail(1)) SWIG_fail
;
10636 arg2
= (long)(SWIG_As_long(obj1
));
10637 if (SWIG_arg_fail(2)) SWIG_fail
;
10640 arg3
= (long)(SWIG_As_long(obj2
));
10641 if (SWIG_arg_fail(3)) SWIG_fail
;
10644 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10645 if (SWIG_arg_fail(4)) SWIG_fail
;
10646 if (arg4
== NULL
) {
10647 SWIG_null_ref("wxTextAttr");
10649 if (SWIG_arg_fail(4)) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10667 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10671 wxTextAttr
*arg3
= 0 ;
10673 PyObject
* obj0
= 0 ;
10674 PyObject
* obj1
= 0 ;
10675 PyObject
* obj2
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "position",(char *) "style", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10682 if (SWIG_arg_fail(1)) SWIG_fail
;
10684 arg2
= (long)(SWIG_As_long(obj1
));
10685 if (SWIG_arg_fail(2)) SWIG_fail
;
10688 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10689 if (SWIG_arg_fail(3)) SWIG_fail
;
10690 if (arg3
== NULL
) {
10691 SWIG_null_ref("wxTextAttr");
10693 if (SWIG_arg_fail(3)) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10711 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10714 wxTextAttr
*arg2
= 0 ;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "style", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10724 if (SWIG_arg_fail(1)) SWIG_fail
;
10726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10727 if (SWIG_arg_fail(2)) SWIG_fail
;
10728 if (arg2
== NULL
) {
10729 SWIG_null_ref("wxTextAttr");
10731 if (SWIG_arg_fail(2)) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10749 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10752 wxTextAttr
*result
;
10753 PyObject
* obj0
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10760 if (SWIG_arg_fail(1)) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10765 result
= (wxTextAttr
*) &_result_ref
;
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10778 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 PyObject
* obj2
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self",(char *) "x",(char *) "y", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail
;
10795 arg2
= (long)(SWIG_As_long(obj1
));
10796 if (SWIG_arg_fail(2)) SWIG_fail
;
10799 arg3
= (long)(SWIG_As_long(obj2
));
10800 if (SWIG_arg_fail(3)) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_From_long((long)(result
));
10818 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10822 long *arg3
= (long *) 0 ;
10823 long *arg4
= (long *) 0 ;
10828 PyObject
* obj0
= 0 ;
10829 PyObject
* obj1
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self",(char *) "pos", NULL
10834 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10835 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10838 if (SWIG_arg_fail(1)) SWIG_fail
;
10840 arg2
= (long)(SWIG_As_long(obj1
));
10841 if (SWIG_arg_fail(2)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 Py_INCREF(Py_None
); resultobj
= Py_None
;
10851 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10852 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10853 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10854 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10861 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self",(char *) "pos", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10873 if (SWIG_arg_fail(1)) SWIG_fail
;
10875 arg2
= (long)(SWIG_As_long(obj1
));
10876 if (SWIG_arg_fail(2)) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 (arg1
)->ShowPosition(arg2
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10895 wxPoint
*arg2
= 0 ;
10896 long *arg3
= (long *) 0 ;
10897 long *arg4
= (long *) 0 ;
10898 wxTextCtrlHitTestResult result
;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "pt", NULL
10910 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10911 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10914 if (SWIG_arg_fail(1)) SWIG_fail
;
10917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_From_int((result
));
10927 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10928 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10929 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10930 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10937 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10940 wxPoint
*arg2
= 0 ;
10941 long *arg3
= (long *) 0 ;
10942 wxTextCtrlHitTestResult result
;
10946 PyObject
* obj0
= 0 ;
10947 PyObject
* obj1
= 0 ;
10948 char *kwnames
[] = {
10949 (char *) "self",(char *) "pt", NULL
10952 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10955 if (SWIG_arg_fail(1)) SWIG_fail
;
10958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= SWIG_From_int((result
));
10968 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10969 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10976 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10979 PyObject
* obj0
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
10985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10986 if (SWIG_arg_fail(1)) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 Py_INCREF(Py_None
); resultobj
= Py_None
;
11001 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11004 PyObject
* obj0
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11011 if (SWIG_arg_fail(1)) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 Py_INCREF(Py_None
); resultobj
= Py_None
;
11026 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11029 PyObject
* obj0
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11036 if (SWIG_arg_fail(1)) SWIG_fail
;
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11044 Py_INCREF(Py_None
); resultobj
= Py_None
;
11051 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
;
11053 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11055 PyObject
* obj0
= 0 ;
11056 char *kwnames
[] = {
11057 (char *) "self", NULL
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11062 if (SWIG_arg_fail(1)) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11079 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11083 PyObject
* obj0
= 0 ;
11084 char *kwnames
[] = {
11085 (char *) "self", NULL
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11090 if (SWIG_arg_fail(1)) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11107 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11118 if (SWIG_arg_fail(1)) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11145 if (SWIG_arg_fail(1)) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11170 if (SWIG_arg_fail(1)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 Py_INCREF(Py_None
); resultobj
= Py_None
;
11185 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11213 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11224 if (SWIG_arg_fail(1)) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "self",(char *) "pos", NULL
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11253 if (SWIG_arg_fail(1)) SWIG_fail
;
11255 arg2
= (long)(SWIG_As_long(obj1
));
11256 if (SWIG_arg_fail(2)) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->SetInsertionPoint(arg2
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 Py_INCREF(Py_None
); resultobj
= Py_None
;
11272 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11275 PyObject
* obj0
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11282 if (SWIG_arg_fail(1)) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 (arg1
)->SetInsertionPointEnd();
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11308 if (SWIG_arg_fail(1)) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= SWIG_From_long((long)(result
));
11325 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11336 if (SWIG_arg_fail(1)) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_From_long((long)(result
));
11353 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 PyObject
* obj2
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self",(char *) "from",(char *) "to", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11367 if (SWIG_arg_fail(1)) SWIG_fail
;
11369 arg2
= (long)(SWIG_As_long(obj1
));
11370 if (SWIG_arg_fail(2)) SWIG_fail
;
11373 arg3
= (long)(SWIG_As_long(obj2
));
11374 if (SWIG_arg_fail(3)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 (arg1
)->SetSelection(arg2
,arg3
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 Py_INCREF(Py_None
); resultobj
= Py_None
;
11390 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",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 (arg1
)->SelectAll();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 Py_INCREF(Py_None
); resultobj
= Py_None
;
11415 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 PyObject
* obj1
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self",(char *) "editable", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail
;
11429 arg2
= (bool)(SWIG_As_bool(obj1
));
11430 if (SWIG_arg_fail(2)) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 (arg1
)->SetEditable(arg2
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 Py_INCREF(Py_None
); resultobj
= Py_None
;
11446 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11449 wxString
*arg2
= 0 ;
11450 bool temp2
= false ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self",(char *) "text", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail
;
11461 arg2
= wxString_in_helper(obj1
);
11462 if (arg2
== NULL
) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 Py_INCREF(Py_None
); resultobj
= Py_None
;
11487 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 PyObject
* obj2
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "from",(char *) "to", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11502 if (SWIG_arg_fail(1)) SWIG_fail
;
11504 arg2
= (long)(SWIG_As_long(obj1
));
11505 if (SWIG_arg_fail(2)) SWIG_fail
;
11508 arg3
= (long)(SWIG_As_long(obj2
));
11509 if (SWIG_arg_fail(3)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11531 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
;
11533 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11534 wxVisualAttributes result
;
11535 PyObject
* obj0
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "variant", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11543 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11544 if (SWIG_arg_fail(1)) SWIG_fail
;
11548 if (!wxPyCheckForApp()) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11556 wxVisualAttributes
* resultptr
;
11557 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11566 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11569 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11571 return Py_BuildValue((char *)"");
11573 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11576 wxMouseEvent
*arg2
= 0 ;
11579 wxTextUrlEvent
*result
;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 PyObject
* obj2
= 0 ;
11583 PyObject
* obj3
= 0 ;
11584 char *kwnames
[] = {
11585 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11590 arg1
= (int)(SWIG_As_int(obj0
));
11591 if (SWIG_arg_fail(1)) SWIG_fail
;
11594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11595 if (SWIG_arg_fail(2)) SWIG_fail
;
11596 if (arg2
== NULL
) {
11597 SWIG_null_ref("wxMouseEvent");
11599 if (SWIG_arg_fail(2)) SWIG_fail
;
11602 arg3
= (long)(SWIG_As_long(obj2
));
11603 if (SWIG_arg_fail(3)) SWIG_fail
;
11606 arg4
= (long)(SWIG_As_long(obj3
));
11607 if (SWIG_arg_fail(4)) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11623 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11626 wxMouseEvent
*result
;
11627 PyObject
* obj0
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11634 if (SWIG_arg_fail(1)) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11639 result
= (wxMouseEvent
*) &_result_ref
;
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11652 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_From_long((long)(result
));
11680 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11684 PyObject
* obj0
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11691 if (SWIG_arg_fail(1)) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_From_long((long)(result
));
11708 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11711 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11713 return Py_BuildValue((char *)"");
11715 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11716 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11721 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11726 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11728 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11735 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxWindow
*arg1
= (wxWindow
*) 0 ;
11738 int arg2
= (int) -1 ;
11739 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11740 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11741 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11742 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11743 long arg5
= (long) wxSB_HORIZONTAL
;
11744 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11745 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11746 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11747 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11748 wxScrollBar
*result
;
11751 bool temp7
= false ;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 PyObject
* obj2
= 0 ;
11755 PyObject
* obj3
= 0 ;
11756 PyObject
* obj4
= 0 ;
11757 PyObject
* obj5
= 0 ;
11758 PyObject
* obj6
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11765 if (SWIG_arg_fail(1)) SWIG_fail
;
11768 arg2
= (int)(SWIG_As_int(obj1
));
11769 if (SWIG_arg_fail(2)) SWIG_fail
;
11775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11781 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11786 arg5
= (long)(SWIG_As_long(obj4
));
11787 if (SWIG_arg_fail(5)) SWIG_fail
;
11792 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11793 if (SWIG_arg_fail(6)) SWIG_fail
;
11794 if (arg6
== NULL
) {
11795 SWIG_null_ref("wxValidator");
11797 if (SWIG_arg_fail(6)) SWIG_fail
;
11802 arg7
= wxString_in_helper(obj6
);
11803 if (arg7
== NULL
) SWIG_fail
;
11808 if (!wxPyCheckForApp()) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11830 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxScrollBar
*result
;
11833 char *kwnames
[] = {
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11839 if (!wxPyCheckForApp()) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (wxScrollBar
*)new wxScrollBar();
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11853 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11856 wxWindow
*arg2
= (wxWindow
*) 0 ;
11857 int arg3
= (int) -1 ;
11858 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11859 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11860 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11861 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11862 long arg6
= (long) wxSB_HORIZONTAL
;
11863 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11864 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11865 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11866 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11870 bool temp8
= false ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 PyObject
* obj3
= 0 ;
11875 PyObject
* obj4
= 0 ;
11876 PyObject
* obj5
= 0 ;
11877 PyObject
* obj6
= 0 ;
11878 PyObject
* obj7
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11885 if (SWIG_arg_fail(1)) SWIG_fail
;
11886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11887 if (SWIG_arg_fail(2)) SWIG_fail
;
11890 arg3
= (int)(SWIG_As_int(obj2
));
11891 if (SWIG_arg_fail(3)) SWIG_fail
;
11897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11908 arg6
= (long)(SWIG_As_long(obj5
));
11909 if (SWIG_arg_fail(6)) SWIG_fail
;
11914 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11915 if (SWIG_arg_fail(7)) SWIG_fail
;
11916 if (arg7
== NULL
) {
11917 SWIG_null_ref("wxValidator");
11919 if (SWIG_arg_fail(7)) SWIG_fail
;
11924 arg8
= wxString_in_helper(obj7
);
11925 if (arg8
== NULL
) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11953 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11957 PyObject
* obj0
= 0 ;
11958 char *kwnames
[] = {
11959 (char *) "self", NULL
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
11963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11964 if (SWIG_arg_fail(1)) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= SWIG_From_int((int)(result
));
11981 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11985 PyObject
* obj0
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
11991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11992 if (SWIG_arg_fail(1)) SWIG_fail
;
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= SWIG_From_int((int)(result
));
12009 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12013 PyObject
* obj0
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= SWIG_From_int((int)(result
));
12037 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_From_int((int)(result
));
12065 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12076 if (SWIG_arg_fail(1)) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12093 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self",(char *) "viewStart", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12105 if (SWIG_arg_fail(1)) SWIG_fail
;
12107 arg2
= (int)(SWIG_As_int(obj1
));
12108 if (SWIG_arg_fail(2)) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 (arg1
)->SetThumbPosition(arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 Py_INCREF(Py_None
); resultobj
= Py_None
;
12124 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12131 bool arg6
= (bool) true ;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj1
= 0 ;
12134 PyObject
* obj2
= 0 ;
12135 PyObject
* obj3
= 0 ;
12136 PyObject
* obj4
= 0 ;
12137 PyObject
* obj5
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail
;
12146 arg2
= (int)(SWIG_As_int(obj1
));
12147 if (SWIG_arg_fail(2)) SWIG_fail
;
12150 arg3
= (int)(SWIG_As_int(obj2
));
12151 if (SWIG_arg_fail(3)) SWIG_fail
;
12154 arg4
= (int)(SWIG_As_int(obj3
));
12155 if (SWIG_arg_fail(4)) SWIG_fail
;
12158 arg5
= (int)(SWIG_As_int(obj4
));
12159 if (SWIG_arg_fail(5)) SWIG_fail
;
12163 arg6
= (bool)(SWIG_As_bool(obj5
));
12164 if (SWIG_arg_fail(6)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 Py_INCREF(Py_None
); resultobj
= Py_None
;
12181 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12184 wxVisualAttributes result
;
12185 PyObject
* obj0
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "variant", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12193 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12194 if (SWIG_arg_fail(1)) SWIG_fail
;
12198 if (!wxPyCheckForApp()) SWIG_fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12206 wxVisualAttributes
* resultptr
;
12207 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12216 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12219 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12221 return Py_BuildValue((char *)"");
12223 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12224 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12229 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12234 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12236 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12243 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12244 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12249 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12254 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12256 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12263 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxWindow
*arg1
= (wxWindow
*) 0 ;
12266 int arg2
= (int) -1 ;
12267 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12268 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12269 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12270 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12271 long arg5
= (long) wxSP_HORIZONTAL
;
12272 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12273 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12274 wxSpinButton
*result
;
12277 bool temp6
= false ;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 PyObject
* obj2
= 0 ;
12281 PyObject
* obj3
= 0 ;
12282 PyObject
* obj4
= 0 ;
12283 PyObject
* obj5
= 0 ;
12284 char *kwnames
[] = {
12285 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12290 if (SWIG_arg_fail(1)) SWIG_fail
;
12293 arg2
= (int)(SWIG_As_int(obj1
));
12294 if (SWIG_arg_fail(2)) SWIG_fail
;
12300 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12306 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12311 arg5
= (long)(SWIG_As_long(obj4
));
12312 if (SWIG_arg_fail(5)) SWIG_fail
;
12317 arg6
= wxString_in_helper(obj5
);
12318 if (arg6
== NULL
) SWIG_fail
;
12323 if (!wxPyCheckForApp()) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12345 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxSpinButton
*result
;
12348 char *kwnames
[] = {
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12354 if (!wxPyCheckForApp()) SWIG_fail
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 result
= (wxSpinButton
*)new wxSpinButton();
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12368 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
;
12370 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12371 wxWindow
*arg2
= (wxWindow
*) 0 ;
12372 int arg3
= (int) -1 ;
12373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12377 long arg6
= (long) wxSP_HORIZONTAL
;
12378 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12379 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12383 bool temp7
= false ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 PyObject
* obj2
= 0 ;
12387 PyObject
* obj3
= 0 ;
12388 PyObject
* obj4
= 0 ;
12389 PyObject
* obj5
= 0 ;
12390 PyObject
* obj6
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12397 if (SWIG_arg_fail(1)) SWIG_fail
;
12398 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12399 if (SWIG_arg_fail(2)) SWIG_fail
;
12402 arg3
= (int)(SWIG_As_int(obj2
));
12403 if (SWIG_arg_fail(3)) SWIG_fail
;
12409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12420 arg6
= (long)(SWIG_As_long(obj5
));
12421 if (SWIG_arg_fail(6)) SWIG_fail
;
12426 arg7
= wxString_in_helper(obj6
);
12427 if (arg7
== NULL
) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12455 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_From_int((int)(result
));
12483 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12494 if (SWIG_arg_fail(1)) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_From_int((int)(result
));
12511 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12522 if (SWIG_arg_fail(1)) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= SWIG_From_int((int)(result
));
12539 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self",(char *) "val", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12551 if (SWIG_arg_fail(1)) SWIG_fail
;
12553 arg2
= (int)(SWIG_As_int(obj1
));
12554 if (SWIG_arg_fail(2)) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 (arg1
)->SetValue(arg2
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 Py_INCREF(Py_None
); resultobj
= Py_None
;
12570 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self",(char *) "minVal", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail
;
12584 arg2
= (int)(SWIG_As_int(obj1
));
12585 if (SWIG_arg_fail(2)) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 (arg1
)->SetMin(arg2
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 Py_INCREF(Py_None
); resultobj
= Py_None
;
12601 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self",(char *) "maxVal", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12613 if (SWIG_arg_fail(1)) SWIG_fail
;
12615 arg2
= (int)(SWIG_As_int(obj1
));
12616 if (SWIG_arg_fail(2)) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->SetMax(arg2
);
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 Py_INCREF(Py_None
); resultobj
= Py_None
;
12632 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12637 PyObject
* obj0
= 0 ;
12638 PyObject
* obj1
= 0 ;
12639 PyObject
* obj2
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12646 if (SWIG_arg_fail(1)) SWIG_fail
;
12648 arg2
= (int)(SWIG_As_int(obj1
));
12649 if (SWIG_arg_fail(2)) SWIG_fail
;
12652 arg3
= (int)(SWIG_As_int(obj2
));
12653 if (SWIG_arg_fail(3)) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->SetRange(arg2
,arg3
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12697 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12700 wxVisualAttributes result
;
12701 PyObject
* obj0
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "variant", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12709 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12710 if (SWIG_arg_fail(1)) SWIG_fail
;
12714 if (!wxPyCheckForApp()) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12722 wxVisualAttributes
* resultptr
;
12723 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12732 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12735 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12737 return Py_BuildValue((char *)"");
12739 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxWindow
*arg1
= (wxWindow
*) 0 ;
12742 int arg2
= (int) -1 ;
12743 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12744 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12745 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12746 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12747 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12748 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12749 long arg6
= (long) wxSP_ARROW_KEYS
;
12750 int arg7
= (int) 0 ;
12751 int arg8
= (int) 100 ;
12752 int arg9
= (int) 0 ;
12753 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12754 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12755 wxSpinCtrl
*result
;
12756 bool temp3
= false ;
12759 bool temp10
= false ;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 PyObject
* obj2
= 0 ;
12763 PyObject
* obj3
= 0 ;
12764 PyObject
* obj4
= 0 ;
12765 PyObject
* obj5
= 0 ;
12766 PyObject
* obj6
= 0 ;
12767 PyObject
* obj7
= 0 ;
12768 PyObject
* obj8
= 0 ;
12769 PyObject
* obj9
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12776 if (SWIG_arg_fail(1)) SWIG_fail
;
12779 arg2
= (int)(SWIG_As_int(obj1
));
12780 if (SWIG_arg_fail(2)) SWIG_fail
;
12785 arg3
= wxString_in_helper(obj2
);
12786 if (arg3
== NULL
) SWIG_fail
;
12793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12804 arg6
= (long)(SWIG_As_long(obj5
));
12805 if (SWIG_arg_fail(6)) SWIG_fail
;
12810 arg7
= (int)(SWIG_As_int(obj6
));
12811 if (SWIG_arg_fail(7)) SWIG_fail
;
12816 arg8
= (int)(SWIG_As_int(obj7
));
12817 if (SWIG_arg_fail(8)) SWIG_fail
;
12822 arg9
= (int)(SWIG_As_int(obj8
));
12823 if (SWIG_arg_fail(9)) SWIG_fail
;
12828 arg10
= wxString_in_helper(obj9
);
12829 if (arg10
== NULL
) SWIG_fail
;
12834 if (!wxPyCheckForApp()) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12864 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxSpinCtrl
*result
;
12867 char *kwnames
[] = {
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12873 if (!wxPyCheckForApp()) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12887 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
;
12889 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12890 wxWindow
*arg2
= (wxWindow
*) 0 ;
12891 int arg3
= (int) -1 ;
12892 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12893 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12894 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12895 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12896 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12897 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12898 long arg7
= (long) wxSP_ARROW_KEYS
;
12899 int arg8
= (int) 0 ;
12900 int arg9
= (int) 100 ;
12901 int arg10
= (int) 0 ;
12902 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12903 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12905 bool temp4
= false ;
12908 bool temp11
= false ;
12909 PyObject
* obj0
= 0 ;
12910 PyObject
* obj1
= 0 ;
12911 PyObject
* obj2
= 0 ;
12912 PyObject
* obj3
= 0 ;
12913 PyObject
* obj4
= 0 ;
12914 PyObject
* obj5
= 0 ;
12915 PyObject
* obj6
= 0 ;
12916 PyObject
* obj7
= 0 ;
12917 PyObject
* obj8
= 0 ;
12918 PyObject
* obj9
= 0 ;
12919 PyObject
* obj10
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12926 if (SWIG_arg_fail(1)) SWIG_fail
;
12927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12928 if (SWIG_arg_fail(2)) SWIG_fail
;
12931 arg3
= (int)(SWIG_As_int(obj2
));
12932 if (SWIG_arg_fail(3)) SWIG_fail
;
12937 arg4
= wxString_in_helper(obj3
);
12938 if (arg4
== NULL
) SWIG_fail
;
12945 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12951 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12956 arg7
= (long)(SWIG_As_long(obj6
));
12957 if (SWIG_arg_fail(7)) SWIG_fail
;
12962 arg8
= (int)(SWIG_As_int(obj7
));
12963 if (SWIG_arg_fail(8)) SWIG_fail
;
12968 arg9
= (int)(SWIG_As_int(obj8
));
12969 if (SWIG_arg_fail(9)) SWIG_fail
;
12974 arg10
= (int)(SWIG_As_int(obj9
));
12975 if (SWIG_arg_fail(10)) SWIG_fail
;
12980 arg11
= wxString_in_helper(obj10
);
12981 if (arg11
== NULL
) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13017 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13028 if (SWIG_arg_fail(1)) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_From_int((int)(result
));
13045 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self",(char *) "value", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13057 if (SWIG_arg_fail(1)) SWIG_fail
;
13059 arg2
= (int)(SWIG_As_int(obj1
));
13060 if (SWIG_arg_fail(2)) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 (arg1
)->SetValue(arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 Py_INCREF(Py_None
); resultobj
= Py_None
;
13076 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13079 wxString
*arg2
= 0 ;
13080 bool temp2
= false ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "text", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13089 if (SWIG_arg_fail(1)) SWIG_fail
;
13091 arg2
= wxString_in_helper(obj1
);
13092 if (arg2
== NULL
) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 (arg1
)->SetValue((wxString
const &)*arg2
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 Py_INCREF(Py_None
); resultobj
= Py_None
;
13117 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13122 PyObject
* obj0
= 0 ;
13123 PyObject
* obj1
= 0 ;
13124 PyObject
* obj2
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13131 if (SWIG_arg_fail(1)) SWIG_fail
;
13133 arg2
= (int)(SWIG_As_int(obj1
));
13134 if (SWIG_arg_fail(2)) SWIG_fail
;
13137 arg3
= (int)(SWIG_As_int(obj2
));
13138 if (SWIG_arg_fail(3)) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 (arg1
)->SetRange(arg2
,arg3
);
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 Py_INCREF(Py_None
); resultobj
= Py_None
;
13154 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13158 PyObject
* obj0
= 0 ;
13159 char *kwnames
[] = {
13160 (char *) "self", NULL
13163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13165 if (SWIG_arg_fail(1)) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= SWIG_From_int((int)(result
));
13182 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13186 PyObject
* obj0
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13193 if (SWIG_arg_fail(1)) SWIG_fail
;
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13202 resultobj
= SWIG_From_int((int)(result
));
13210 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 PyObject
* obj1
= 0 ;
13217 PyObject
* obj2
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self",(char *) "from",(char *) "to", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail
;
13226 arg2
= (long)(SWIG_As_long(obj1
));
13227 if (SWIG_arg_fail(2)) SWIG_fail
;
13230 arg3
= (long)(SWIG_As_long(obj2
));
13231 if (SWIG_arg_fail(3)) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 (arg1
)->SetSelection(arg2
,arg3
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13250 wxVisualAttributes result
;
13251 PyObject
* obj0
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "variant", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13259 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13260 if (SWIG_arg_fail(1)) SWIG_fail
;
13264 if (!wxPyCheckForApp()) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13272 wxVisualAttributes
* resultptr
;
13273 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13282 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13285 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13287 return Py_BuildValue((char *)"");
13289 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13292 int arg2
= (int) 0 ;
13293 wxSpinEvent
*result
;
13294 PyObject
* obj0
= 0 ;
13295 PyObject
* obj1
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "commandType",(char *) "winid", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13303 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13304 if (SWIG_arg_fail(1)) SWIG_fail
;
13309 arg2
= (int)(SWIG_As_int(obj1
));
13310 if (SWIG_arg_fail(2)) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13327 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 char *kwnames
[] = {
13333 (char *) "self", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13338 if (SWIG_arg_fail(1)) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_From_int((int)(result
));
13355 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "pos", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13367 if (SWIG_arg_fail(1)) SWIG_fail
;
13369 arg2
= (int)(SWIG_As_int(obj1
));
13370 if (SWIG_arg_fail(2)) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 (arg1
)->SetPosition(arg2
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 Py_INCREF(Py_None
); resultobj
= Py_None
;
13386 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13389 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13391 return Py_BuildValue((char *)"");
13393 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13394 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13399 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13404 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13406 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13413 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13414 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13419 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13424 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13426 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13433 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxWindow
*arg1
= (wxWindow
*) 0 ;
13436 int arg2
= (int) -1 ;
13437 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13438 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13439 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13440 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13441 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13442 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13443 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13444 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13445 int arg7
= (int) 0 ;
13446 long arg8
= (long) wxRA_HORIZONTAL
;
13447 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13448 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13449 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13450 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13451 wxRadioBox
*result
;
13452 bool temp3
= false ;
13455 bool temp6
= false ;
13456 bool temp10
= false ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 PyObject
* obj2
= 0 ;
13460 PyObject
* obj3
= 0 ;
13461 PyObject
* obj4
= 0 ;
13462 PyObject
* obj5
= 0 ;
13463 PyObject
* obj6
= 0 ;
13464 PyObject
* obj7
= 0 ;
13465 PyObject
* obj8
= 0 ;
13466 PyObject
* obj9
= 0 ;
13467 char *kwnames
[] = {
13468 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13473 if (SWIG_arg_fail(1)) SWIG_fail
;
13476 arg2
= (int)(SWIG_As_int(obj1
));
13477 if (SWIG_arg_fail(2)) SWIG_fail
;
13482 arg3
= wxString_in_helper(obj2
);
13483 if (arg3
== NULL
) SWIG_fail
;
13490 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13496 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13501 if (! PySequence_Check(obj5
)) {
13502 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13505 arg6
= new wxArrayString
;
13507 int i
, len
=PySequence_Length(obj5
);
13508 for (i
=0; i
<len
; i
++) {
13509 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13511 PyObject
* str
= PyObject_Unicode(item
);
13513 PyObject
* str
= PyObject_Str(item
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13516 arg6
->Add(Py2wxString(str
));
13524 arg7
= (int)(SWIG_As_int(obj6
));
13525 if (SWIG_arg_fail(7)) SWIG_fail
;
13530 arg8
= (long)(SWIG_As_long(obj7
));
13531 if (SWIG_arg_fail(8)) SWIG_fail
;
13536 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13537 if (SWIG_arg_fail(9)) SWIG_fail
;
13538 if (arg9
== NULL
) {
13539 SWIG_null_ref("wxValidator");
13541 if (SWIG_arg_fail(9)) SWIG_fail
;
13546 arg10
= wxString_in_helper(obj9
);
13547 if (arg10
== NULL
) SWIG_fail
;
13552 if (!wxPyCheckForApp()) SWIG_fail
;
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 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
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13565 if (temp6
) delete arg6
;
13578 if (temp6
) delete arg6
;
13588 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxRadioBox
*result
;
13591 char *kwnames
[] = {
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13597 if (!wxPyCheckForApp()) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 result
= (wxRadioBox
*)new wxRadioBox();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13611 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13614 wxWindow
*arg2
= (wxWindow
*) 0 ;
13615 int arg3
= (int) -1 ;
13616 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13617 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13618 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13619 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13620 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13621 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13622 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13623 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13624 int arg8
= (int) 0 ;
13625 long arg9
= (long) wxRA_HORIZONTAL
;
13626 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13627 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13628 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13629 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13631 bool temp4
= false ;
13634 bool temp7
= false ;
13635 bool temp11
= false ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 PyObject
* obj2
= 0 ;
13639 PyObject
* obj3
= 0 ;
13640 PyObject
* obj4
= 0 ;
13641 PyObject
* obj5
= 0 ;
13642 PyObject
* obj6
= 0 ;
13643 PyObject
* obj7
= 0 ;
13644 PyObject
* obj8
= 0 ;
13645 PyObject
* obj9
= 0 ;
13646 PyObject
* obj10
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13653 if (SWIG_arg_fail(1)) SWIG_fail
;
13654 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13655 if (SWIG_arg_fail(2)) SWIG_fail
;
13658 arg3
= (int)(SWIG_As_int(obj2
));
13659 if (SWIG_arg_fail(3)) SWIG_fail
;
13664 arg4
= wxString_in_helper(obj3
);
13665 if (arg4
== NULL
) SWIG_fail
;
13672 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13678 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13683 if (! PySequence_Check(obj6
)) {
13684 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13687 arg7
= new wxArrayString
;
13689 int i
, len
=PySequence_Length(obj6
);
13690 for (i
=0; i
<len
; i
++) {
13691 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13693 PyObject
* str
= PyObject_Unicode(item
);
13695 PyObject
* str
= PyObject_Str(item
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13698 arg7
->Add(Py2wxString(str
));
13706 arg8
= (int)(SWIG_As_int(obj7
));
13707 if (SWIG_arg_fail(8)) SWIG_fail
;
13712 arg9
= (long)(SWIG_As_long(obj8
));
13713 if (SWIG_arg_fail(9)) SWIG_fail
;
13718 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13719 if (SWIG_arg_fail(10)) SWIG_fail
;
13720 if (arg10
== NULL
) {
13721 SWIG_null_ref("wxValidator");
13723 if (SWIG_arg_fail(10)) SWIG_fail
;
13728 arg11
= wxString_in_helper(obj10
);
13729 if (arg11
== NULL
) SWIG_fail
;
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 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
);
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13748 if (temp7
) delete arg7
;
13761 if (temp7
) delete arg7
;
13771 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 char *kwnames
[] = {
13778 (char *) "self",(char *) "n", NULL
13781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13783 if (SWIG_arg_fail(1)) SWIG_fail
;
13785 arg2
= (int)(SWIG_As_int(obj1
));
13786 if (SWIG_arg_fail(2)) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 (arg1
)->SetSelection(arg2
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 Py_INCREF(Py_None
); resultobj
= Py_None
;
13802 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13813 if (SWIG_arg_fail(1)) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_From_int((int)(result
));
13830 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13841 if (SWIG_arg_fail(1)) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13862 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13865 wxString
*arg2
= 0 ;
13867 bool temp2
= false ;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 char *kwnames
[] = {
13871 (char *) "self",(char *) "s", NULL
13874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13876 if (SWIG_arg_fail(1)) SWIG_fail
;
13878 arg2
= wxString_in_helper(obj1
);
13879 if (arg2
== NULL
) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13906 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
;
13908 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13917 if (SWIG_arg_fail(1)) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_From_int((int)(result
));
13934 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13937 wxString
*arg2
= 0 ;
13939 bool temp2
= false ;
13940 PyObject
* obj0
= 0 ;
13941 PyObject
* obj1
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self",(char *) "s", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13948 if (SWIG_arg_fail(1)) SWIG_fail
;
13950 arg2
= wxString_in_helper(obj1
);
13951 if (arg2
== NULL
) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_From_int((int)(result
));
13978 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13983 PyObject
* obj0
= 0 ;
13984 PyObject
* obj1
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self",(char *) "n", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13991 if (SWIG_arg_fail(1)) SWIG_fail
;
13993 arg2
= (int)(SWIG_As_int(obj1
));
13994 if (SWIG_arg_fail(2)) SWIG_fail
;
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14016 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14020 wxString
*arg3
= 0 ;
14021 bool temp3
= false ;
14022 PyObject
* obj0
= 0 ;
14023 PyObject
* obj1
= 0 ;
14024 PyObject
* obj2
= 0 ;
14025 char *kwnames
[] = {
14026 (char *) "self",(char *) "n",(char *) "label", NULL
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14031 if (SWIG_arg_fail(1)) SWIG_fail
;
14033 arg2
= (int)(SWIG_As_int(obj1
));
14034 if (SWIG_arg_fail(2)) SWIG_fail
;
14037 arg3
= wxString_in_helper(obj2
);
14038 if (arg3
== NULL
) SWIG_fail
;
14042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14043 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 Py_INCREF(Py_None
); resultobj
= Py_None
;
14063 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14067 bool arg3
= (bool) true ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 PyObject
* obj2
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self",(char *) "n",(char *) "enable", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14077 if (SWIG_arg_fail(1)) SWIG_fail
;
14079 arg2
= (int)(SWIG_As_int(obj1
));
14080 if (SWIG_arg_fail(2)) SWIG_fail
;
14084 arg3
= (bool)(SWIG_As_bool(obj2
));
14085 if (SWIG_arg_fail(3)) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 (arg1
)->Enable(arg2
,arg3
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 Py_INCREF(Py_None
); resultobj
= Py_None
;
14102 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14103 PyObject
*resultobj
;
14104 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14106 bool arg3
= (bool) true ;
14107 PyObject
* obj0
= 0 ;
14108 PyObject
* obj1
= 0 ;
14109 PyObject
* obj2
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self",(char *) "n",(char *) "show", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14116 if (SWIG_arg_fail(1)) SWIG_fail
;
14118 arg2
= (int)(SWIG_As_int(obj1
));
14119 if (SWIG_arg_fail(2)) SWIG_fail
;
14123 arg3
= (bool)(SWIG_As_bool(obj2
));
14124 if (SWIG_arg_fail(3)) SWIG_fail
;
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 (arg1
)->Show(arg2
,arg3
);
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14134 Py_INCREF(Py_None
); resultobj
= Py_None
;
14141 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
;
14143 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14145 PyObject
* obj0
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "self", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14152 if (SWIG_arg_fail(1)) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= SWIG_From_int((int)(result
));
14169 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14173 PyObject
* obj0
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14180 if (SWIG_arg_fail(1)) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= SWIG_From_int((int)(result
));
14197 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 PyObject
* obj1
= 0 ;
14206 PyObject
* obj2
= 0 ;
14207 PyObject
* obj3
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14214 if (SWIG_arg_fail(1)) SWIG_fail
;
14216 arg2
= (int)(SWIG_As_int(obj1
));
14217 if (SWIG_arg_fail(2)) SWIG_fail
;
14220 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14221 if (SWIG_arg_fail(3)) SWIG_fail
;
14224 arg4
= (long)(SWIG_As_long(obj3
));
14225 if (SWIG_arg_fail(4)) SWIG_fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= SWIG_From_int((int)(result
));
14243 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14246 wxVisualAttributes result
;
14247 PyObject
* obj0
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "variant", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14255 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14256 if (SWIG_arg_fail(1)) SWIG_fail
;
14260 if (!wxPyCheckForApp()) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14268 wxVisualAttributes
* resultptr
;
14269 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14278 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14281 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14283 return Py_BuildValue((char *)"");
14285 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxWindow
*arg1
= (wxWindow
*) 0 ;
14288 int arg2
= (int) -1 ;
14289 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14290 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14295 long arg6
= (long) 0 ;
14296 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14297 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14298 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14299 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14300 wxRadioButton
*result
;
14301 bool temp3
= false ;
14304 bool temp8
= false ;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 PyObject
* obj2
= 0 ;
14308 PyObject
* obj3
= 0 ;
14309 PyObject
* obj4
= 0 ;
14310 PyObject
* obj5
= 0 ;
14311 PyObject
* obj6
= 0 ;
14312 PyObject
* obj7
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14319 if (SWIG_arg_fail(1)) SWIG_fail
;
14322 arg2
= (int)(SWIG_As_int(obj1
));
14323 if (SWIG_arg_fail(2)) SWIG_fail
;
14328 arg3
= wxString_in_helper(obj2
);
14329 if (arg3
== NULL
) SWIG_fail
;
14336 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14342 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14347 arg6
= (long)(SWIG_As_long(obj5
));
14348 if (SWIG_arg_fail(6)) SWIG_fail
;
14353 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14354 if (SWIG_arg_fail(7)) SWIG_fail
;
14355 if (arg7
== NULL
) {
14356 SWIG_null_ref("wxValidator");
14358 if (SWIG_arg_fail(7)) SWIG_fail
;
14363 arg8
= wxString_in_helper(obj7
);
14364 if (arg8
== NULL
) SWIG_fail
;
14369 if (!wxPyCheckForApp()) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14399 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxRadioButton
*result
;
14402 char *kwnames
[] = {
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14408 if (!wxPyCheckForApp()) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (wxRadioButton
*)new wxRadioButton();
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14422 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14425 wxWindow
*arg2
= (wxWindow
*) 0 ;
14426 int arg3
= (int) -1 ;
14427 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14428 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14429 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14430 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14431 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14432 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14433 long arg7
= (long) 0 ;
14434 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14435 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14436 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14437 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14439 bool temp4
= false ;
14442 bool temp9
= false ;
14443 PyObject
* obj0
= 0 ;
14444 PyObject
* obj1
= 0 ;
14445 PyObject
* obj2
= 0 ;
14446 PyObject
* obj3
= 0 ;
14447 PyObject
* obj4
= 0 ;
14448 PyObject
* obj5
= 0 ;
14449 PyObject
* obj6
= 0 ;
14450 PyObject
* obj7
= 0 ;
14451 PyObject
* obj8
= 0 ;
14452 char *kwnames
[] = {
14453 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14458 if (SWIG_arg_fail(1)) SWIG_fail
;
14459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14460 if (SWIG_arg_fail(2)) SWIG_fail
;
14463 arg3
= (int)(SWIG_As_int(obj2
));
14464 if (SWIG_arg_fail(3)) SWIG_fail
;
14469 arg4
= wxString_in_helper(obj3
);
14470 if (arg4
== NULL
) SWIG_fail
;
14477 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14483 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14488 arg7
= (long)(SWIG_As_long(obj6
));
14489 if (SWIG_arg_fail(7)) SWIG_fail
;
14494 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14495 if (SWIG_arg_fail(8)) SWIG_fail
;
14496 if (arg8
== NULL
) {
14497 SWIG_null_ref("wxValidator");
14499 if (SWIG_arg_fail(8)) SWIG_fail
;
14504 arg9
= wxString_in_helper(obj8
);
14505 if (arg9
== NULL
) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14541 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14552 if (SWIG_arg_fail(1)) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (bool)(arg1
)->GetValue();
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14569 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14571 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14573 PyObject
* obj0
= 0 ;
14574 PyObject
* obj1
= 0 ;
14575 char *kwnames
[] = {
14576 (char *) "self",(char *) "value", NULL
14579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14581 if (SWIG_arg_fail(1)) SWIG_fail
;
14583 arg2
= (bool)(SWIG_As_bool(obj1
));
14584 if (SWIG_arg_fail(2)) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 (arg1
)->SetValue(arg2
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 Py_INCREF(Py_None
); resultobj
= Py_None
;
14600 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14603 wxVisualAttributes result
;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "variant", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14612 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14613 if (SWIG_arg_fail(1)) SWIG_fail
;
14617 if (!wxPyCheckForApp()) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14625 wxVisualAttributes
* resultptr
;
14626 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14635 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14638 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14640 return Py_BuildValue((char *)"");
14642 static int _wrap_SliderNameStr_set(PyObject
*) {
14643 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14648 static PyObject
*_wrap_SliderNameStr_get(void) {
14653 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14655 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14662 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxWindow
*arg1
= (wxWindow
*) 0 ;
14665 int arg2
= (int) -1 ;
14666 int arg3
= (int) 0 ;
14667 int arg4
= (int) 0 ;
14668 int arg5
= (int) 100 ;
14669 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14670 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14671 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14672 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14673 long arg8
= (long) wxSL_HORIZONTAL
;
14674 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14675 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14676 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14677 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14681 bool temp10
= false ;
14682 PyObject
* obj0
= 0 ;
14683 PyObject
* obj1
= 0 ;
14684 PyObject
* obj2
= 0 ;
14685 PyObject
* obj3
= 0 ;
14686 PyObject
* obj4
= 0 ;
14687 PyObject
* obj5
= 0 ;
14688 PyObject
* obj6
= 0 ;
14689 PyObject
* obj7
= 0 ;
14690 PyObject
* obj8
= 0 ;
14691 PyObject
* obj9
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14698 if (SWIG_arg_fail(1)) SWIG_fail
;
14701 arg2
= (int)(SWIG_As_int(obj1
));
14702 if (SWIG_arg_fail(2)) SWIG_fail
;
14707 arg3
= (int)(SWIG_As_int(obj2
));
14708 if (SWIG_arg_fail(3)) SWIG_fail
;
14713 arg4
= (int)(SWIG_As_int(obj3
));
14714 if (SWIG_arg_fail(4)) SWIG_fail
;
14719 arg5
= (int)(SWIG_As_int(obj4
));
14720 if (SWIG_arg_fail(5)) SWIG_fail
;
14726 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14732 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14737 arg8
= (long)(SWIG_As_long(obj7
));
14738 if (SWIG_arg_fail(8)) SWIG_fail
;
14743 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14744 if (SWIG_arg_fail(9)) SWIG_fail
;
14745 if (arg9
== NULL
) {
14746 SWIG_null_ref("wxValidator");
14748 if (SWIG_arg_fail(9)) SWIG_fail
;
14753 arg10
= wxString_in_helper(obj9
);
14754 if (arg10
== NULL
) SWIG_fail
;
14759 if (!wxPyCheckForApp()) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14781 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14784 char *kwnames
[] = {
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14790 if (!wxPyCheckForApp()) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (wxSlider
*)new wxSlider();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14804 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxSlider
*arg1
= (wxSlider
*) 0 ;
14807 wxWindow
*arg2
= (wxWindow
*) 0 ;
14808 int arg3
= (int) -1 ;
14809 int arg4
= (int) 0 ;
14810 int arg5
= (int) 0 ;
14811 int arg6
= (int) 100 ;
14812 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14813 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14814 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14815 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14816 long arg9
= (long) wxSL_HORIZONTAL
;
14817 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14818 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14819 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14820 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14824 bool temp11
= false ;
14825 PyObject
* obj0
= 0 ;
14826 PyObject
* obj1
= 0 ;
14827 PyObject
* obj2
= 0 ;
14828 PyObject
* obj3
= 0 ;
14829 PyObject
* obj4
= 0 ;
14830 PyObject
* obj5
= 0 ;
14831 PyObject
* obj6
= 0 ;
14832 PyObject
* obj7
= 0 ;
14833 PyObject
* obj8
= 0 ;
14834 PyObject
* obj9
= 0 ;
14835 PyObject
* obj10
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14842 if (SWIG_arg_fail(1)) SWIG_fail
;
14843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14844 if (SWIG_arg_fail(2)) SWIG_fail
;
14847 arg3
= (int)(SWIG_As_int(obj2
));
14848 if (SWIG_arg_fail(3)) SWIG_fail
;
14853 arg4
= (int)(SWIG_As_int(obj3
));
14854 if (SWIG_arg_fail(4)) SWIG_fail
;
14859 arg5
= (int)(SWIG_As_int(obj4
));
14860 if (SWIG_arg_fail(5)) SWIG_fail
;
14865 arg6
= (int)(SWIG_As_int(obj5
));
14866 if (SWIG_arg_fail(6)) SWIG_fail
;
14872 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14878 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14883 arg9
= (long)(SWIG_As_long(obj8
));
14884 if (SWIG_arg_fail(9)) SWIG_fail
;
14889 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14890 if (SWIG_arg_fail(10)) SWIG_fail
;
14891 if (arg10
== NULL
) {
14892 SWIG_null_ref("wxValidator");
14894 if (SWIG_arg_fail(10)) SWIG_fail
;
14899 arg11
= wxString_in_helper(obj10
);
14900 if (arg11
== NULL
) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14928 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxSlider
*arg1
= (wxSlider
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14939 if (SWIG_arg_fail(1)) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_From_int((int)(result
));
14956 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxSlider
*arg1
= (wxSlider
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "value", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14968 if (SWIG_arg_fail(1)) SWIG_fail
;
14970 arg2
= (int)(SWIG_As_int(obj1
));
14971 if (SWIG_arg_fail(2)) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 (arg1
)->SetValue(arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 Py_INCREF(Py_None
); resultobj
= Py_None
;
14987 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxSlider
*arg1
= (wxSlider
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 PyObject
* obj1
= 0 ;
14994 PyObject
* obj2
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15001 if (SWIG_arg_fail(1)) SWIG_fail
;
15003 arg2
= (int)(SWIG_As_int(obj1
));
15004 if (SWIG_arg_fail(2)) SWIG_fail
;
15007 arg3
= (int)(SWIG_As_int(obj2
));
15008 if (SWIG_arg_fail(3)) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 (arg1
)->SetRange(arg2
,arg3
);
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 Py_INCREF(Py_None
); resultobj
= Py_None
;
15024 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
;
15026 wxSlider
*arg1
= (wxSlider
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15035 if (SWIG_arg_fail(1)) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_From_int((int)(result
));
15052 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxSlider
*arg1
= (wxSlider
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15063 if (SWIG_arg_fail(1)) SWIG_fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= SWIG_From_int((int)(result
));
15080 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxSlider
*arg1
= (wxSlider
*) 0 ;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self",(char *) "minValue", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail
;
15094 arg2
= (int)(SWIG_As_int(obj1
));
15095 if (SWIG_arg_fail(2)) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 (arg1
)->SetMin(arg2
);
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 Py_INCREF(Py_None
); resultobj
= Py_None
;
15111 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxSlider
*arg1
= (wxSlider
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 PyObject
* obj1
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self",(char *) "maxValue", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail
;
15125 arg2
= (int)(SWIG_As_int(obj1
));
15126 if (SWIG_arg_fail(2)) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 (arg1
)->SetMax(arg2
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 Py_INCREF(Py_None
); resultobj
= Py_None
;
15142 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxSlider
*arg1
= (wxSlider
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self",(char *) "lineSize", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15154 if (SWIG_arg_fail(1)) SWIG_fail
;
15156 arg2
= (int)(SWIG_As_int(obj1
));
15157 if (SWIG_arg_fail(2)) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 (arg1
)->SetLineSize(arg2
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 Py_INCREF(Py_None
); resultobj
= Py_None
;
15173 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxSlider
*arg1
= (wxSlider
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 PyObject
* obj1
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self",(char *) "pageSize", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15185 if (SWIG_arg_fail(1)) SWIG_fail
;
15187 arg2
= (int)(SWIG_As_int(obj1
));
15188 if (SWIG_arg_fail(2)) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 (arg1
)->SetPageSize(arg2
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 Py_INCREF(Py_None
); resultobj
= Py_None
;
15204 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxSlider
*arg1
= (wxSlider
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15215 if (SWIG_arg_fail(1)) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= SWIG_From_int((int)(result
));
15232 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
;
15234 wxSlider
*arg1
= (wxSlider
*) 0 ;
15236 PyObject
* obj0
= 0 ;
15237 char *kwnames
[] = {
15238 (char *) "self", NULL
15241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15243 if (SWIG_arg_fail(1)) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_From_int((int)(result
));
15260 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxSlider
*arg1
= (wxSlider
*) 0 ;
15264 PyObject
* obj0
= 0 ;
15265 PyObject
* obj1
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self",(char *) "lenPixels", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15272 if (SWIG_arg_fail(1)) SWIG_fail
;
15274 arg2
= (int)(SWIG_As_int(obj1
));
15275 if (SWIG_arg_fail(2)) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 (arg1
)->SetThumbLength(arg2
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 Py_INCREF(Py_None
); resultobj
= Py_None
;
15291 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxSlider
*arg1
= (wxSlider
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15302 if (SWIG_arg_fail(1)) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_From_int((int)(result
));
15319 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxSlider
*arg1
= (wxSlider
*) 0 ;
15323 int arg3
= (int) 1 ;
15324 PyObject
* obj0
= 0 ;
15325 PyObject
* obj1
= 0 ;
15326 PyObject
* obj2
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self",(char *) "n",(char *) "pos", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail
;
15335 arg2
= (int)(SWIG_As_int(obj1
));
15336 if (SWIG_arg_fail(2)) SWIG_fail
;
15340 arg3
= (int)(SWIG_As_int(obj2
));
15341 if (SWIG_arg_fail(3)) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 (arg1
)->SetTickFreq(arg2
,arg3
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 Py_INCREF(Py_None
); resultobj
= Py_None
;
15358 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxSlider
*arg1
= (wxSlider
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15369 if (SWIG_arg_fail(1)) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_From_int((int)(result
));
15386 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxSlider
*arg1
= (wxSlider
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15396 if (SWIG_arg_fail(1)) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 (arg1
)->ClearTicks();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 Py_INCREF(Py_None
); resultobj
= Py_None
;
15411 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxSlider
*arg1
= (wxSlider
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self",(char *) "tickPos", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail
;
15425 arg2
= (int)(SWIG_As_int(obj1
));
15426 if (SWIG_arg_fail(2)) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 (arg1
)->SetTick(arg2
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 Py_INCREF(Py_None
); resultobj
= Py_None
;
15442 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxSlider
*arg1
= (wxSlider
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15452 if (SWIG_arg_fail(1)) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 (arg1
)->ClearSel();
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 Py_INCREF(Py_None
); resultobj
= Py_None
;
15467 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxSlider
*arg1
= (wxSlider
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15478 if (SWIG_arg_fail(1)) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= SWIG_From_int((int)(result
));
15495 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxSlider
*arg1
= (wxSlider
*) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15506 if (SWIG_arg_fail(1)) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= SWIG_From_int((int)(result
));
15523 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxSlider
*arg1
= (wxSlider
*) 0 ;
15528 PyObject
* obj0
= 0 ;
15529 PyObject
* obj1
= 0 ;
15530 PyObject
* obj2
= 0 ;
15531 char *kwnames
[] = {
15532 (char *) "self",(char *) "min",(char *) "max", NULL
15535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15537 if (SWIG_arg_fail(1)) SWIG_fail
;
15539 arg2
= (int)(SWIG_As_int(obj1
));
15540 if (SWIG_arg_fail(2)) SWIG_fail
;
15543 arg3
= (int)(SWIG_As_int(obj2
));
15544 if (SWIG_arg_fail(3)) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 (arg1
)->SetSelection(arg2
,arg3
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 Py_INCREF(Py_None
); resultobj
= Py_None
;
15560 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15563 wxVisualAttributes result
;
15564 PyObject
* obj0
= 0 ;
15565 char *kwnames
[] = {
15566 (char *) "variant", NULL
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15572 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15573 if (SWIG_arg_fail(1)) SWIG_fail
;
15577 if (!wxPyCheckForApp()) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15585 wxVisualAttributes
* resultptr
;
15586 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15595 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15598 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15600 return Py_BuildValue((char *)"");
15602 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15603 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15608 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15613 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15615 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15622 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxWindow
*arg1
= (wxWindow
*) 0 ;
15625 int arg2
= (int) -1 ;
15626 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15628 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15629 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15630 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15631 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15632 long arg6
= (long) 0 ;
15633 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15634 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15635 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15636 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15637 wxToggleButton
*result
;
15638 bool temp3
= false ;
15641 bool temp8
= false ;
15642 PyObject
* obj0
= 0 ;
15643 PyObject
* obj1
= 0 ;
15644 PyObject
* obj2
= 0 ;
15645 PyObject
* obj3
= 0 ;
15646 PyObject
* obj4
= 0 ;
15647 PyObject
* obj5
= 0 ;
15648 PyObject
* obj6
= 0 ;
15649 PyObject
* obj7
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail
;
15659 arg2
= (int)(SWIG_As_int(obj1
));
15660 if (SWIG_arg_fail(2)) SWIG_fail
;
15665 arg3
= wxString_in_helper(obj2
);
15666 if (arg3
== NULL
) SWIG_fail
;
15673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15684 arg6
= (long)(SWIG_As_long(obj5
));
15685 if (SWIG_arg_fail(6)) SWIG_fail
;
15690 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15691 if (SWIG_arg_fail(7)) SWIG_fail
;
15692 if (arg7
== NULL
) {
15693 SWIG_null_ref("wxValidator");
15695 if (SWIG_arg_fail(7)) SWIG_fail
;
15700 arg8
= wxString_in_helper(obj7
);
15701 if (arg8
== NULL
) SWIG_fail
;
15706 if (!wxPyCheckForApp()) SWIG_fail
;
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15736 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
;
15738 wxToggleButton
*result
;
15739 char *kwnames
[] = {
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15745 if (!wxPyCheckForApp()) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (wxToggleButton
*)new wxToggleButton();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15759 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15762 wxWindow
*arg2
= (wxWindow
*) 0 ;
15763 int arg3
= (int) -1 ;
15764 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15765 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15766 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15767 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15768 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15769 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15770 long arg7
= (long) 0 ;
15771 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15772 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15773 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15774 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15776 bool temp4
= false ;
15779 bool temp9
= false ;
15780 PyObject
* obj0
= 0 ;
15781 PyObject
* obj1
= 0 ;
15782 PyObject
* obj2
= 0 ;
15783 PyObject
* obj3
= 0 ;
15784 PyObject
* obj4
= 0 ;
15785 PyObject
* obj5
= 0 ;
15786 PyObject
* obj6
= 0 ;
15787 PyObject
* obj7
= 0 ;
15788 PyObject
* obj8
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15795 if (SWIG_arg_fail(1)) SWIG_fail
;
15796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15797 if (SWIG_arg_fail(2)) SWIG_fail
;
15800 arg3
= (int)(SWIG_As_int(obj2
));
15801 if (SWIG_arg_fail(3)) SWIG_fail
;
15806 arg4
= wxString_in_helper(obj3
);
15807 if (arg4
== NULL
) SWIG_fail
;
15814 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15820 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15825 arg7
= (long)(SWIG_As_long(obj6
));
15826 if (SWIG_arg_fail(7)) SWIG_fail
;
15831 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15832 if (SWIG_arg_fail(8)) SWIG_fail
;
15833 if (arg8
== NULL
) {
15834 SWIG_null_ref("wxValidator");
15836 if (SWIG_arg_fail(8)) SWIG_fail
;
15841 arg9
= wxString_in_helper(obj8
);
15842 if (arg9
== NULL
) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15878 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self",(char *) "value", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15890 if (SWIG_arg_fail(1)) SWIG_fail
;
15892 arg2
= (bool)(SWIG_As_bool(obj1
));
15893 if (SWIG_arg_fail(2)) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->SetValue(arg2
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15920 if (SWIG_arg_fail(1)) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15937 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15940 wxString
*arg2
= 0 ;
15941 bool temp2
= false ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self",(char *) "label", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15950 if (SWIG_arg_fail(1)) SWIG_fail
;
15952 arg2
= wxString_in_helper(obj1
);
15953 if (arg2
== NULL
) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 (arg1
)->SetLabel((wxString
const &)*arg2
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 Py_INCREF(Py_None
); resultobj
= Py_None
;
15978 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15981 wxVisualAttributes result
;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "variant", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15990 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15991 if (SWIG_arg_fail(1)) SWIG_fail
;
15995 if (!wxPyCheckForApp()) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16003 wxVisualAttributes
* resultptr
;
16004 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16013 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16016 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16018 return Py_BuildValue((char *)"");
16020 static int _wrap_NotebookNameStr_set(PyObject
*) {
16021 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16026 static PyObject
*_wrap_NotebookNameStr_get(void) {
16031 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16033 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16040 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16044 PyObject
* obj0
= 0 ;
16045 char *kwnames
[] = {
16046 (char *) "self", NULL
16049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16051 if (SWIG_arg_fail(1)) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16068 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self",(char *) "n", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16081 if (SWIG_arg_fail(1)) SWIG_fail
;
16083 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16084 if (SWIG_arg_fail(2)) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= wxPyMake_wxObject(result
, 0);
16102 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16106 PyObject
* obj0
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16113 if (SWIG_arg_fail(1)) SWIG_fail
;
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16118 wxPyEndAllowThreads(__tstate
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= wxPyMake_wxObject(result
, 0);
16130 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "self", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16141 if (SWIG_arg_fail(1)) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= SWIG_From_int((int)(result
));
16158 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16162 wxString
*arg3
= 0 ;
16164 bool temp3
= false ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 PyObject
* obj2
= 0 ;
16168 char *kwnames
[] = {
16169 (char *) "self",(char *) "n",(char *) "strText", NULL
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16174 if (SWIG_arg_fail(1)) SWIG_fail
;
16176 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16177 if (SWIG_arg_fail(2)) SWIG_fail
;
16180 arg3
= wxString_in_helper(obj2
);
16181 if (arg3
== NULL
) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16208 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self",(char *) "n", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16221 if (SWIG_arg_fail(1)) SWIG_fail
;
16223 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16224 if (SWIG_arg_fail(2)) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16246 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16249 wxImageList
*arg2
= (wxImageList
*) 0 ;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self",(char *) "imageList", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16258 if (SWIG_arg_fail(1)) SWIG_fail
;
16259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16260 if (SWIG_arg_fail(2)) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 (arg1
)->SetImageList(arg2
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 Py_INCREF(Py_None
); resultobj
= Py_None
;
16275 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16278 wxImageList
*arg2
= (wxImageList
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self",(char *) "imageList", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail
;
16288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16289 if (SWIG_arg_fail(2)) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 (arg1
)->AssignImageList(arg2
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16297 Py_INCREF(Py_None
); resultobj
= Py_None
;
16304 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16307 wxImageList
*result
;
16308 PyObject
* obj0
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16315 if (SWIG_arg_fail(1)) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= wxPyMake_wxObject(result
, 0);
16332 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self",(char *) "n", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16345 if (SWIG_arg_fail(1)) SWIG_fail
;
16347 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16348 if (SWIG_arg_fail(2)) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= SWIG_From_int((int)(result
));
16366 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
;
16368 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 PyObject
* obj2
= 0 ;
16375 char *kwnames
[] = {
16376 (char *) "self",(char *) "n",(char *) "imageId", NULL
16379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16381 if (SWIG_arg_fail(1)) SWIG_fail
;
16383 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16384 if (SWIG_arg_fail(2)) SWIG_fail
;
16387 arg3
= (int)(SWIG_As_int(obj2
));
16388 if (SWIG_arg_fail(3)) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16406 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self",(char *) "size", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16419 if (SWIG_arg_fail(1)) SWIG_fail
;
16422 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 Py_INCREF(Py_None
); resultobj
= Py_None
;
16438 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "sizePage", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16452 if (SWIG_arg_fail(1)) SWIG_fail
;
16455 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16465 wxSize
* resultptr
;
16466 resultptr
= new wxSize((wxSize
&)(result
));
16467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16475 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self",(char *) "n", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16488 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16491 if (SWIG_arg_fail(2)) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (bool)(arg1
)->DeletePage(arg2
);
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16509 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16514 PyObject
* obj0
= 0 ;
16515 PyObject
* obj1
= 0 ;
16516 char *kwnames
[] = {
16517 (char *) "self",(char *) "n", NULL
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16522 if (SWIG_arg_fail(1)) SWIG_fail
;
16524 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16525 if (SWIG_arg_fail(2)) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (bool)(arg1
)->RemovePage(arg2
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16543 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16554 if (SWIG_arg_fail(1)) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 result
= (bool)(arg1
)->DeleteAllPages();
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16571 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16574 wxWindow
*arg2
= (wxWindow
*) 0 ;
16575 wxString
*arg3
= 0 ;
16576 bool arg4
= (bool) false ;
16577 int arg5
= (int) -1 ;
16579 bool temp3
= false ;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 PyObject
* obj2
= 0 ;
16583 PyObject
* obj3
= 0 ;
16584 PyObject
* obj4
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16591 if (SWIG_arg_fail(1)) SWIG_fail
;
16592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16593 if (SWIG_arg_fail(2)) SWIG_fail
;
16595 arg3
= wxString_in_helper(obj2
);
16596 if (arg3
== NULL
) SWIG_fail
;
16601 arg4
= (bool)(SWIG_As_bool(obj3
));
16602 if (SWIG_arg_fail(4)) SWIG_fail
;
16607 arg5
= (int)(SWIG_As_int(obj4
));
16608 if (SWIG_arg_fail(5)) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16635 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16636 PyObject
*resultobj
;
16637 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16639 wxWindow
*arg3
= (wxWindow
*) 0 ;
16640 wxString
*arg4
= 0 ;
16641 bool arg5
= (bool) false ;
16642 int arg6
= (int) -1 ;
16644 bool temp4
= false ;
16645 PyObject
* obj0
= 0 ;
16646 PyObject
* obj1
= 0 ;
16647 PyObject
* obj2
= 0 ;
16648 PyObject
* obj3
= 0 ;
16649 PyObject
* obj4
= 0 ;
16650 PyObject
* obj5
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16657 if (SWIG_arg_fail(1)) SWIG_fail
;
16659 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16660 if (SWIG_arg_fail(2)) SWIG_fail
;
16662 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16663 if (SWIG_arg_fail(3)) SWIG_fail
;
16665 arg4
= wxString_in_helper(obj3
);
16666 if (arg4
== NULL
) SWIG_fail
;
16671 arg5
= (bool)(SWIG_As_bool(obj4
));
16672 if (SWIG_arg_fail(5)) SWIG_fail
;
16677 arg6
= (int)(SWIG_As_int(obj5
));
16678 if (SWIG_arg_fail(6)) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16705 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 PyObject
* obj1
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self",(char *) "n", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16718 if (SWIG_arg_fail(1)) SWIG_fail
;
16720 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16721 if (SWIG_arg_fail(2)) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (int)(arg1
)->SetSelection(arg2
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= SWIG_From_int((int)(result
));
16739 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
;
16741 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16742 bool arg2
= (bool) true ;
16743 PyObject
* obj0
= 0 ;
16744 PyObject
* obj1
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self",(char *) "forward", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16751 if (SWIG_arg_fail(1)) SWIG_fail
;
16754 arg2
= (bool)(SWIG_As_bool(obj1
));
16755 if (SWIG_arg_fail(2)) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 (arg1
)->AdvanceSelection(arg2
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 Py_INCREF(Py_None
); resultobj
= Py_None
;
16772 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16775 wxVisualAttributes result
;
16776 PyObject
* obj0
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "variant", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16784 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16785 if (SWIG_arg_fail(1)) SWIG_fail
;
16789 if (!wxPyCheckForApp()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 wxVisualAttributes
* resultptr
;
16798 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16807 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16810 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16812 return Py_BuildValue((char *)"");
16814 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16817 int arg2
= (int) 0 ;
16818 int arg3
= (int) -1 ;
16819 int arg4
= (int) -1 ;
16820 wxBookCtrlBaseEvent
*result
;
16821 PyObject
* obj0
= 0 ;
16822 PyObject
* obj1
= 0 ;
16823 PyObject
* obj2
= 0 ;
16824 PyObject
* obj3
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16832 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16833 if (SWIG_arg_fail(1)) SWIG_fail
;
16838 arg2
= (int)(SWIG_As_int(obj1
));
16839 if (SWIG_arg_fail(2)) SWIG_fail
;
16844 arg3
= (int)(SWIG_As_int(obj2
));
16845 if (SWIG_arg_fail(3)) SWIG_fail
;
16850 arg4
= (int)(SWIG_As_int(obj3
));
16851 if (SWIG_arg_fail(4)) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16868 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16870 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16872 PyObject
* obj0
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "self", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16879 if (SWIG_arg_fail(1)) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= SWIG_From_int((int)(result
));
16896 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
;
16898 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16900 PyObject
* obj0
= 0 ;
16901 PyObject
* obj1
= 0 ;
16902 char *kwnames
[] = {
16903 (char *) "self",(char *) "nSel", NULL
16906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16908 if (SWIG_arg_fail(1)) SWIG_fail
;
16910 arg2
= (int)(SWIG_As_int(obj1
));
16911 if (SWIG_arg_fail(2)) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 (arg1
)->SetSelection(arg2
);
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 Py_INCREF(Py_None
); resultobj
= Py_None
;
16927 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16938 if (SWIG_arg_fail(1)) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_From_int((int)(result
));
16955 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16957 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16959 PyObject
* obj0
= 0 ;
16960 PyObject
* obj1
= 0 ;
16961 char *kwnames
[] = {
16962 (char *) "self",(char *) "nOldSel", NULL
16965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16967 if (SWIG_arg_fail(1)) SWIG_fail
;
16969 arg2
= (int)(SWIG_As_int(obj1
));
16970 if (SWIG_arg_fail(2)) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 (arg1
)->SetOldSelection(arg2
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 Py_INCREF(Py_None
); resultobj
= Py_None
;
16986 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
16988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16989 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
16991 return Py_BuildValue((char *)"");
16993 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxWindow
*arg1
= (wxWindow
*) 0 ;
16996 int arg2
= (int) -1 ;
16997 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16998 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16999 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17000 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17001 long arg5
= (long) 0 ;
17002 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17003 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17004 wxNotebook
*result
;
17007 bool temp6
= false ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 PyObject
* obj2
= 0 ;
17011 PyObject
* obj3
= 0 ;
17012 PyObject
* obj4
= 0 ;
17013 PyObject
* obj5
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17020 if (SWIG_arg_fail(1)) SWIG_fail
;
17023 arg2
= (int)(SWIG_As_int(obj1
));
17024 if (SWIG_arg_fail(2)) SWIG_fail
;
17030 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17036 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17041 arg5
= (long)(SWIG_As_long(obj4
));
17042 if (SWIG_arg_fail(5)) SWIG_fail
;
17047 arg6
= wxString_in_helper(obj5
);
17048 if (arg6
== NULL
) SWIG_fail
;
17053 if (!wxPyCheckForApp()) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17075 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxNotebook
*result
;
17078 char *kwnames
[] = {
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17084 if (!wxPyCheckForApp()) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= (wxNotebook
*)new wxNotebook();
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17098 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17101 wxWindow
*arg2
= (wxWindow
*) 0 ;
17102 int arg3
= (int) -1 ;
17103 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17104 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17105 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17106 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17107 long arg6
= (long) 0 ;
17108 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17109 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17113 bool temp7
= false ;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 PyObject
* obj2
= 0 ;
17117 PyObject
* obj3
= 0 ;
17118 PyObject
* obj4
= 0 ;
17119 PyObject
* obj5
= 0 ;
17120 PyObject
* obj6
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17127 if (SWIG_arg_fail(1)) SWIG_fail
;
17128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17129 if (SWIG_arg_fail(2)) SWIG_fail
;
17132 arg3
= (int)(SWIG_As_int(obj2
));
17133 if (SWIG_arg_fail(3)) SWIG_fail
;
17139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17150 arg6
= (long)(SWIG_As_long(obj5
));
17151 if (SWIG_arg_fail(6)) SWIG_fail
;
17156 arg7
= wxString_in_helper(obj6
);
17157 if (arg7
== NULL
) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17185 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self", NULL
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17196 if (SWIG_arg_fail(1)) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17205 resultobj
= SWIG_From_int((int)(result
));
17213 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self",(char *) "padding", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17226 if (SWIG_arg_fail(1)) SWIG_fail
;
17229 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 Py_INCREF(Py_None
); resultobj
= Py_None
;
17245 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17250 PyObject
* obj0
= 0 ;
17251 PyObject
* obj1
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self",(char *) "sz", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17258 if (SWIG_arg_fail(1)) SWIG_fail
;
17261 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 Py_INCREF(Py_None
); resultobj
= Py_None
;
17277 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17280 wxPoint
*arg2
= 0 ;
17281 long *arg3
= (long *) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "pt", NULL
17292 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17295 if (SWIG_arg_fail(1)) SWIG_fail
;
17298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= SWIG_From_int((int)(result
));
17310 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17311 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17318 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "self",(char *) "sizePage", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17332 if (SWIG_arg_fail(1)) SWIG_fail
;
17335 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 wxSize
* resultptr
;
17346 resultptr
= new wxSize((wxSize
&)(result
));
17347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17355 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17366 if (SWIG_arg_fail(1)) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 wxColour
* resultptr
;
17376 resultptr
= new wxColour((wxColour
&)(result
));
17377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17385 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17388 wxVisualAttributes result
;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "variant", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17397 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17398 if (SWIG_arg_fail(1)) SWIG_fail
;
17402 if (!wxPyCheckForApp()) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 wxVisualAttributes
* resultptr
;
17411 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17420 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17423 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17425 return Py_BuildValue((char *)"");
17427 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17428 PyObject
*resultobj
;
17429 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17430 int arg2
= (int) 0 ;
17431 int arg3
= (int) -1 ;
17432 int arg4
= (int) -1 ;
17433 wxNotebookEvent
*result
;
17434 PyObject
* obj0
= 0 ;
17435 PyObject
* obj1
= 0 ;
17436 PyObject
* obj2
= 0 ;
17437 PyObject
* obj3
= 0 ;
17438 char *kwnames
[] = {
17439 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17445 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17446 if (SWIG_arg_fail(1)) SWIG_fail
;
17451 arg2
= (int)(SWIG_As_int(obj1
));
17452 if (SWIG_arg_fail(2)) SWIG_fail
;
17457 arg3
= (int)(SWIG_As_int(obj2
));
17458 if (SWIG_arg_fail(3)) SWIG_fail
;
17463 arg4
= (int)(SWIG_As_int(obj3
));
17464 if (SWIG_arg_fail(4)) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17481 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17484 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17486 return Py_BuildValue((char *)"");
17488 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
;
17490 wxWindow
*arg1
= (wxWindow
*) 0 ;
17491 int arg2
= (int) -1 ;
17492 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17493 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17494 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17495 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17496 long arg5
= (long) 0 ;
17497 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17498 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17499 wxListbook
*result
;
17502 bool temp6
= false ;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 PyObject
* obj2
= 0 ;
17506 PyObject
* obj3
= 0 ;
17507 PyObject
* obj4
= 0 ;
17508 PyObject
* obj5
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail
;
17518 arg2
= (int)(SWIG_As_int(obj1
));
17519 if (SWIG_arg_fail(2)) SWIG_fail
;
17525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17531 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17536 arg5
= (long)(SWIG_As_long(obj4
));
17537 if (SWIG_arg_fail(5)) SWIG_fail
;
17542 arg6
= wxString_in_helper(obj5
);
17543 if (arg6
== NULL
) SWIG_fail
;
17548 if (!wxPyCheckForApp()) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17570 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxListbook
*result
;
17573 char *kwnames
[] = {
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17579 if (!wxPyCheckForApp()) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (wxListbook
*)new wxListbook();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17593 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxListbook
*arg1
= (wxListbook
*) 0 ;
17596 wxWindow
*arg2
= (wxWindow
*) 0 ;
17597 int arg3
= (int) -1 ;
17598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17602 long arg6
= (long) 0 ;
17603 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17608 bool temp7
= false ;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 PyObject
* obj2
= 0 ;
17612 PyObject
* obj3
= 0 ;
17613 PyObject
* obj4
= 0 ;
17614 PyObject
* obj5
= 0 ;
17615 PyObject
* obj6
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17622 if (SWIG_arg_fail(1)) SWIG_fail
;
17623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17624 if (SWIG_arg_fail(2)) SWIG_fail
;
17627 arg3
= (int)(SWIG_As_int(obj2
));
17628 if (SWIG_arg_fail(3)) SWIG_fail
;
17634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17645 arg6
= (long)(SWIG_As_long(obj5
));
17646 if (SWIG_arg_fail(6)) SWIG_fail
;
17651 arg7
= wxString_in_helper(obj6
);
17652 if (arg7
== NULL
) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17680 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxListbook
*arg1
= (wxListbook
*) 0 ;
17684 PyObject
* obj0
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "self", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17691 if (SWIG_arg_fail(1)) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17708 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
;
17710 wxListbook
*arg1
= (wxListbook
*) 0 ;
17711 wxListView
*result
;
17712 PyObject
* obj0
= 0 ;
17713 char *kwnames
[] = {
17714 (char *) "self", NULL
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17719 if (SWIG_arg_fail(1)) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 result
= (wxListView
*)(arg1
)->GetListView();
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17734 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17737 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17739 return Py_BuildValue((char *)"");
17741 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
;
17743 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17744 int arg2
= (int) 0 ;
17745 int arg3
= (int) -1 ;
17746 int arg4
= (int) -1 ;
17747 wxListbookEvent
*result
;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 PyObject
* obj2
= 0 ;
17751 PyObject
* obj3
= 0 ;
17752 char *kwnames
[] = {
17753 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17759 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17760 if (SWIG_arg_fail(1)) SWIG_fail
;
17765 arg2
= (int)(SWIG_As_int(obj1
));
17766 if (SWIG_arg_fail(2)) SWIG_fail
;
17771 arg3
= (int)(SWIG_As_int(obj2
));
17772 if (SWIG_arg_fail(3)) SWIG_fail
;
17777 arg4
= (int)(SWIG_As_int(obj3
));
17778 if (SWIG_arg_fail(4)) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17795 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17798 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17800 return Py_BuildValue((char *)"");
17802 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
;
17804 wxWindow
*arg1
= (wxWindow
*) 0 ;
17806 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17807 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17808 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17809 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17810 long arg5
= (long) 0 ;
17811 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17812 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17813 wxChoicebook
*result
;
17816 bool temp6
= false ;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 PyObject
* obj2
= 0 ;
17820 PyObject
* obj3
= 0 ;
17821 PyObject
* obj4
= 0 ;
17822 PyObject
* obj5
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail
;
17831 arg2
= (int)(SWIG_As_int(obj1
));
17832 if (SWIG_arg_fail(2)) SWIG_fail
;
17837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17843 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17848 arg5
= (long)(SWIG_As_long(obj4
));
17849 if (SWIG_arg_fail(5)) SWIG_fail
;
17854 arg6
= wxString_in_helper(obj5
);
17855 if (arg6
== NULL
) SWIG_fail
;
17860 if (!wxPyCheckForApp()) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17882 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxChoicebook
*result
;
17885 char *kwnames
[] = {
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17891 if (!wxPyCheckForApp()) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (wxChoicebook
*)new wxChoicebook();
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17905 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17908 wxWindow
*arg2
= (wxWindow
*) 0 ;
17910 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17911 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17912 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17913 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17914 long arg6
= (long) 0 ;
17915 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17916 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17920 bool temp7
= false ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 PyObject
* obj2
= 0 ;
17924 PyObject
* obj3
= 0 ;
17925 PyObject
* obj4
= 0 ;
17926 PyObject
* obj5
= 0 ;
17927 PyObject
* obj6
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17934 if (SWIG_arg_fail(1)) SWIG_fail
;
17935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17936 if (SWIG_arg_fail(2)) SWIG_fail
;
17938 arg3
= (int)(SWIG_As_int(obj2
));
17939 if (SWIG_arg_fail(3)) SWIG_fail
;
17944 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17950 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17955 arg6
= (long)(SWIG_As_long(obj5
));
17956 if (SWIG_arg_fail(6)) SWIG_fail
;
17961 arg7
= wxString_in_helper(obj6
);
17962 if (arg7
== NULL
) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17990 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
;
17992 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17994 PyObject
* obj0
= 0 ;
17995 char *kwnames
[] = {
17996 (char *) "self", NULL
17999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18001 if (SWIG_arg_fail(1)) SWIG_fail
;
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18018 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18022 PyObject
* obj0
= 0 ;
18023 char *kwnames
[] = {
18024 (char *) "self", NULL
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18029 if (SWIG_arg_fail(1)) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 result
= (bool)(arg1
)->DeleteAllPages();
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18046 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18049 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18051 return Py_BuildValue((char *)"");
18053 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18056 int arg2
= (int) 0 ;
18057 int arg3
= (int) -1 ;
18058 int arg4
= (int) -1 ;
18059 wxChoicebookEvent
*result
;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 PyObject
* obj2
= 0 ;
18063 PyObject
* obj3
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18071 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18072 if (SWIG_arg_fail(1)) SWIG_fail
;
18077 arg2
= (int)(SWIG_As_int(obj1
));
18078 if (SWIG_arg_fail(2)) SWIG_fail
;
18083 arg3
= (int)(SWIG_As_int(obj2
));
18084 if (SWIG_arg_fail(3)) SWIG_fail
;
18089 arg4
= (int)(SWIG_As_int(obj3
));
18090 if (SWIG_arg_fail(4)) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18107 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18110 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18112 return Py_BuildValue((char *)"");
18114 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18117 wxBookCtrlSizer
*result
;
18118 PyObject
* obj0
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "nb", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18125 if (SWIG_arg_fail(1)) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18140 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18143 PyObject
* obj0
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18150 if (SWIG_arg_fail(1)) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 (arg1
)->RecalcSizes();
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 Py_INCREF(Py_None
); resultobj
= Py_None
;
18165 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (arg1
)->CalcMin();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 wxSize
* resultptr
;
18186 resultptr
= new wxSize((wxSize
&)(result
));
18187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18195 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18198 wxBookCtrlBase
*result
;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18206 if (SWIG_arg_fail(1)) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18221 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18224 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18226 return Py_BuildValue((char *)"");
18228 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18231 wxNotebookSizer
*result
;
18232 PyObject
* obj0
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "nb", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18254 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18257 PyObject
* obj0
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18264 if (SWIG_arg_fail(1)) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 (arg1
)->RecalcSizes();
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 Py_INCREF(Py_None
); resultobj
= Py_None
;
18279 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (arg1
)->CalcMin();
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 wxSize
* resultptr
;
18300 resultptr
= new wxSize((wxSize
&)(result
));
18301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18309 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18312 wxNotebook
*result
;
18313 PyObject
* obj0
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18320 if (SWIG_arg_fail(1)) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18329 resultobj
= wxPyMake_wxObject(result
, 0);
18337 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18340 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18342 return Py_BuildValue((char *)"");
18344 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18348 PyObject
* obj0
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18355 if (SWIG_arg_fail(1)) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 result
= (int)(arg1
)->GetId();
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= SWIG_From_int((int)(result
));
18372 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18383 if (SWIG_arg_fail(1)) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (wxControl
*)(arg1
)->GetControl();
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18392 resultobj
= wxPyMake_wxObject(result
, 0);
18400 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18403 wxToolBarBase
*result
;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18411 if (SWIG_arg_fail(1)) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= wxPyMake_wxObject(result
, 0);
18428 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18439 if (SWIG_arg_fail(1)) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (int)(arg1
)->IsButton();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= SWIG_From_int((int)(result
));
18456 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18467 if (SWIG_arg_fail(1)) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (int)(arg1
)->IsControl();
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= SWIG_From_int((int)(result
));
18484 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18495 if (SWIG_arg_fail(1)) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 result
= (int)(arg1
)->IsSeparator();
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= SWIG_From_int((int)(result
));
18512 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18516 PyObject
* obj0
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18523 if (SWIG_arg_fail(1)) SWIG_fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 result
= (int)(arg1
)->GetStyle();
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_From_int((int)(result
));
18540 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18551 if (SWIG_arg_fail(1)) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (wxItemKind
)(arg1
)->GetKind();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_From_int((result
));
18566 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18570 PyObject
* obj0
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18577 if (SWIG_arg_fail(1)) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 result
= (bool)(arg1
)->IsEnabled();
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18594 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18605 if (SWIG_arg_fail(1)) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (bool)(arg1
)->IsToggled();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18622 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18633 if (SWIG_arg_fail(1)) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (bool)(arg1
)->CanBeToggled();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18650 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18654 PyObject
* obj0
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18661 if (SWIG_arg_fail(1)) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18666 result
= (wxBitmap
*) &_result_ref
;
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 wxBitmap
* resultptr
= new wxBitmap(*result
);
18674 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18682 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18683 PyObject
*resultobj
;
18684 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18686 PyObject
* obj0
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18693 if (SWIG_arg_fail(1)) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18698 result
= (wxBitmap
*) &_result_ref
;
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18705 wxBitmap
* resultptr
= new wxBitmap(*result
);
18706 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18714 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "self", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18725 if (SWIG_arg_fail(1)) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (arg1
)->GetBitmap();
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18734 wxBitmap
* resultptr
;
18735 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18744 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18748 PyObject
* obj0
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18755 if (SWIG_arg_fail(1)) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= (arg1
)->GetLabel();
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18776 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(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_GetShortHelp",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
= (arg1
)->GetShortHelp();
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18808 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18819 if (SWIG_arg_fail(1)) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 result
= (arg1
)->GetLongHelp();
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18840 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self",(char *) "enable", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18853 if (SWIG_arg_fail(1)) SWIG_fail
;
18855 arg2
= (bool)(SWIG_As_bool(obj1
));
18856 if (SWIG_arg_fail(2)) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (bool)(arg1
)->Enable(arg2
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18874 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18884 if (SWIG_arg_fail(1)) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 Py_INCREF(Py_None
); resultobj
= Py_None
;
18899 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self",(char *) "toggle", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18912 if (SWIG_arg_fail(1)) SWIG_fail
;
18914 arg2
= (bool)(SWIG_As_bool(obj1
));
18915 if (SWIG_arg_fail(2)) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= (bool)(arg1
)->SetToggle(arg2
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18933 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18936 wxString
*arg2
= 0 ;
18938 bool temp2
= false ;
18939 PyObject
* obj0
= 0 ;
18940 PyObject
* obj1
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "self",(char *) "help", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18947 if (SWIG_arg_fail(1)) SWIG_fail
;
18949 arg2
= wxString_in_helper(obj1
);
18950 if (arg2
== NULL
) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18977 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18980 wxString
*arg2
= 0 ;
18982 bool temp2
= false ;
18983 PyObject
* obj0
= 0 ;
18984 PyObject
* obj1
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self",(char *) "help", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail
;
18993 arg2
= wxString_in_helper(obj1
);
18994 if (arg2
== NULL
) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19021 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19024 wxBitmap
*arg2
= 0 ;
19025 PyObject
* obj0
= 0 ;
19026 PyObject
* obj1
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self",(char *) "bmp", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19033 if (SWIG_arg_fail(1)) SWIG_fail
;
19035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19036 if (SWIG_arg_fail(2)) SWIG_fail
;
19037 if (arg2
== NULL
) {
19038 SWIG_null_ref("wxBitmap");
19040 if (SWIG_arg_fail(2)) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19049 Py_INCREF(Py_None
); resultobj
= Py_None
;
19056 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
;
19058 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19059 wxBitmap
*arg2
= 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "self",(char *) "bmp", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19068 if (SWIG_arg_fail(1)) SWIG_fail
;
19070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19071 if (SWIG_arg_fail(2)) SWIG_fail
;
19072 if (arg2
== NULL
) {
19073 SWIG_null_ref("wxBitmap");
19075 if (SWIG_arg_fail(2)) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 Py_INCREF(Py_None
); resultobj
= Py_None
;
19091 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19094 wxString
*arg2
= 0 ;
19095 bool temp2
= false ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self",(char *) "label", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19104 if (SWIG_arg_fail(1)) SWIG_fail
;
19106 arg2
= wxString_in_helper(obj1
);
19107 if (arg2
== NULL
) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 (arg1
)->SetLabel((wxString
const &)*arg2
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 Py_INCREF(Py_None
); resultobj
= Py_None
;
19132 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19142 if (SWIG_arg_fail(1)) SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 Py_INCREF(Py_None
); resultobj
= Py_None
;
19157 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19160 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self",(char *) "tbar", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19169 if (SWIG_arg_fail(1)) SWIG_fail
;
19170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19171 if (SWIG_arg_fail(2)) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 (arg1
)->Attach(arg2
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 Py_INCREF(Py_None
); resultobj
= Py_None
;
19186 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19197 if (SWIG_arg_fail(1)) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= result
;
19212 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19215 PyObject
*arg2
= (PyObject
*) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self",(char *) "clientData", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19224 if (SWIG_arg_fail(1)) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 Py_INCREF(Py_None
); resultobj
= Py_None
;
19240 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19243 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19245 return Py_BuildValue((char *)"");
19247 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
;
19249 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19251 wxString
*arg3
= 0 ;
19252 wxBitmap
*arg4
= 0 ;
19253 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19254 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19255 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19256 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19258 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19259 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19260 PyObject
*arg9
= (PyObject
*) NULL
;
19261 wxToolBarToolBase
*result
;
19262 bool temp3
= false ;
19263 bool temp7
= false ;
19264 bool temp8
= false ;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 PyObject
* obj2
= 0 ;
19268 PyObject
* obj3
= 0 ;
19269 PyObject
* obj4
= 0 ;
19270 PyObject
* obj5
= 0 ;
19271 PyObject
* obj6
= 0 ;
19272 PyObject
* obj7
= 0 ;
19273 PyObject
* obj8
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19280 if (SWIG_arg_fail(1)) SWIG_fail
;
19282 arg2
= (int)(SWIG_As_int(obj1
));
19283 if (SWIG_arg_fail(2)) SWIG_fail
;
19286 arg3
= wxString_in_helper(obj2
);
19287 if (arg3
== NULL
) SWIG_fail
;
19291 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19292 if (SWIG_arg_fail(4)) SWIG_fail
;
19293 if (arg4
== NULL
) {
19294 SWIG_null_ref("wxBitmap");
19296 if (SWIG_arg_fail(4)) SWIG_fail
;
19300 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19301 if (SWIG_arg_fail(5)) SWIG_fail
;
19302 if (arg5
== NULL
) {
19303 SWIG_null_ref("wxBitmap");
19305 if (SWIG_arg_fail(5)) SWIG_fail
;
19310 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19311 if (SWIG_arg_fail(6)) SWIG_fail
;
19316 arg7
= wxString_in_helper(obj6
);
19317 if (arg7
== NULL
) SWIG_fail
;
19323 arg8
= wxString_in_helper(obj7
);
19324 if (arg8
== NULL
) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19339 resultobj
= wxPyMake_wxObject(result
, 0);
19371 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19376 wxString
*arg4
= 0 ;
19377 wxBitmap
*arg5
= 0 ;
19378 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19379 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19380 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19381 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19382 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19383 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19384 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19385 PyObject
*arg10
= (PyObject
*) NULL
;
19386 wxToolBarToolBase
*result
;
19387 bool temp4
= false ;
19388 bool temp8
= false ;
19389 bool temp9
= false ;
19390 PyObject
* obj0
= 0 ;
19391 PyObject
* obj1
= 0 ;
19392 PyObject
* obj2
= 0 ;
19393 PyObject
* obj3
= 0 ;
19394 PyObject
* obj4
= 0 ;
19395 PyObject
* obj5
= 0 ;
19396 PyObject
* obj6
= 0 ;
19397 PyObject
* obj7
= 0 ;
19398 PyObject
* obj8
= 0 ;
19399 PyObject
* obj9
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19406 if (SWIG_arg_fail(1)) SWIG_fail
;
19408 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19409 if (SWIG_arg_fail(2)) SWIG_fail
;
19412 arg3
= (int)(SWIG_As_int(obj2
));
19413 if (SWIG_arg_fail(3)) SWIG_fail
;
19416 arg4
= wxString_in_helper(obj3
);
19417 if (arg4
== NULL
) SWIG_fail
;
19421 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19422 if (SWIG_arg_fail(5)) SWIG_fail
;
19423 if (arg5
== NULL
) {
19424 SWIG_null_ref("wxBitmap");
19426 if (SWIG_arg_fail(5)) SWIG_fail
;
19430 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19431 if (SWIG_arg_fail(6)) SWIG_fail
;
19432 if (arg6
== NULL
) {
19433 SWIG_null_ref("wxBitmap");
19435 if (SWIG_arg_fail(6)) SWIG_fail
;
19440 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19441 if (SWIG_arg_fail(7)) SWIG_fail
;
19446 arg8
= wxString_in_helper(obj7
);
19447 if (arg8
== NULL
) SWIG_fail
;
19453 arg9
= wxString_in_helper(obj8
);
19454 if (arg9
== NULL
) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 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
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= wxPyMake_wxObject(result
, 0);
19501 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19504 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19505 wxToolBarToolBase
*result
;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self",(char *) "tool", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19514 if (SWIG_arg_fail(1)) SWIG_fail
;
19515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19516 if (SWIG_arg_fail(2)) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= wxPyMake_wxObject(result
, 0);
19533 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19537 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19538 wxToolBarToolBase
*result
;
19539 PyObject
* obj0
= 0 ;
19540 PyObject
* obj1
= 0 ;
19541 PyObject
* obj2
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self",(char *) "pos",(char *) "tool", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19548 if (SWIG_arg_fail(1)) SWIG_fail
;
19550 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19551 if (SWIG_arg_fail(2)) SWIG_fail
;
19553 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19554 if (SWIG_arg_fail(3)) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= wxPyMake_wxObject(result
, 0);
19571 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19574 wxControl
*arg2
= (wxControl
*) 0 ;
19575 wxToolBarToolBase
*result
;
19576 PyObject
* obj0
= 0 ;
19577 PyObject
* obj1
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self",(char *) "control", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19584 if (SWIG_arg_fail(1)) SWIG_fail
;
19585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19586 if (SWIG_arg_fail(2)) SWIG_fail
;
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= wxPyMake_wxObject(result
, 0);
19603 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19607 wxControl
*arg3
= (wxControl
*) 0 ;
19608 wxToolBarToolBase
*result
;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 PyObject
* obj2
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self",(char *) "pos",(char *) "control", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19618 if (SWIG_arg_fail(1)) SWIG_fail
;
19620 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19621 if (SWIG_arg_fail(2)) SWIG_fail
;
19623 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19624 if (SWIG_arg_fail(3)) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= wxPyMake_wxObject(result
, 0);
19641 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19646 PyObject
* obj0
= 0 ;
19647 PyObject
* obj1
= 0 ;
19648 char *kwnames
[] = {
19649 (char *) "self",(char *) "id", NULL
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19654 if (SWIG_arg_fail(1)) SWIG_fail
;
19656 arg2
= (int)(SWIG_As_int(obj1
));
19657 if (SWIG_arg_fail(2)) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= wxPyMake_wxObject(result
, 0);
19675 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19678 wxToolBarToolBase
*result
;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19695 resultobj
= wxPyMake_wxObject(result
, 0);
19703 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19707 wxToolBarToolBase
*result
;
19708 PyObject
* obj0
= 0 ;
19709 PyObject
* obj1
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "self",(char *) "pos", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19716 if (SWIG_arg_fail(1)) SWIG_fail
;
19718 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19719 if (SWIG_arg_fail(2)) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= wxPyMake_wxObject(result
, 0);
19737 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19741 wxToolBarToolBase
*result
;
19742 PyObject
* obj0
= 0 ;
19743 PyObject
* obj1
= 0 ;
19744 char *kwnames
[] = {
19745 (char *) "self",(char *) "id", NULL
19748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19750 if (SWIG_arg_fail(1)) SWIG_fail
;
19752 arg2
= (int)(SWIG_As_int(obj1
));
19753 if (SWIG_arg_fail(2)) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= wxPyMake_wxObject(result
, 0);
19771 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19776 PyObject
* obj0
= 0 ;
19777 PyObject
* obj1
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self",(char *) "pos", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19784 if (SWIG_arg_fail(1)) SWIG_fail
;
19786 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19787 if (SWIG_arg_fail(2)) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19805 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self",(char *) "id", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19818 if (SWIG_arg_fail(1)) SWIG_fail
;
19820 arg2
= (int)(SWIG_As_int(obj1
));
19821 if (SWIG_arg_fail(2)) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= (bool)(arg1
)->DeleteTool(arg2
);
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19839 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
;
19841 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19849 if (SWIG_arg_fail(1)) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 (arg1
)->ClearTools();
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 Py_INCREF(Py_None
); resultobj
= Py_None
;
19864 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19875 if (SWIG_arg_fail(1)) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 result
= (bool)(arg1
)->Realize();
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19892 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 PyObject
* obj2
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self",(char *) "id",(char *) "enable", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19906 if (SWIG_arg_fail(1)) SWIG_fail
;
19908 arg2
= (int)(SWIG_As_int(obj1
));
19909 if (SWIG_arg_fail(2)) SWIG_fail
;
19912 arg3
= (bool)(SWIG_As_bool(obj2
));
19913 if (SWIG_arg_fail(3)) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 (arg1
)->EnableTool(arg2
,arg3
);
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 Py_INCREF(Py_None
); resultobj
= Py_None
;
19929 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 PyObject
* obj2
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "id",(char *) "toggle", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19943 if (SWIG_arg_fail(1)) SWIG_fail
;
19945 arg2
= (int)(SWIG_As_int(obj1
));
19946 if (SWIG_arg_fail(2)) SWIG_fail
;
19949 arg3
= (bool)(SWIG_As_bool(obj2
));
19950 if (SWIG_arg_fail(3)) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 (arg1
)->ToggleTool(arg2
,arg3
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 Py_INCREF(Py_None
); resultobj
= Py_None
;
19966 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 PyObject
* obj2
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "id",(char *) "toggle", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19980 if (SWIG_arg_fail(1)) SWIG_fail
;
19982 arg2
= (int)(SWIG_As_int(obj1
));
19983 if (SWIG_arg_fail(2)) SWIG_fail
;
19986 arg3
= (bool)(SWIG_As_bool(obj2
));
19987 if (SWIG_arg_fail(3)) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 (arg1
)->SetToggle(arg2
,arg3
);
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 Py_INCREF(Py_None
); resultobj
= Py_None
;
20003 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
;
20005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20008 PyObject
* obj0
= 0 ;
20009 PyObject
* obj1
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self",(char *) "id", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20016 if (SWIG_arg_fail(1)) SWIG_fail
;
20018 arg2
= (int)(SWIG_As_int(obj1
));
20019 if (SWIG_arg_fail(2)) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= result
;
20035 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20039 PyObject
*arg3
= (PyObject
*) 0 ;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20042 PyObject
* obj2
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self",(char *) "id",(char *) "clientData", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20049 if (SWIG_arg_fail(1)) SWIG_fail
;
20051 arg2
= (int)(SWIG_As_int(obj1
));
20052 if (SWIG_arg_fail(2)) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 Py_INCREF(Py_None
); resultobj
= Py_None
;
20069 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 PyObject
* obj1
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self",(char *) "id", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20082 if (SWIG_arg_fail(1)) SWIG_fail
;
20084 arg2
= (int)(SWIG_As_int(obj1
));
20085 if (SWIG_arg_fail(2)) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= SWIG_From_int((int)(result
));
20103 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self",(char *) "id", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20116 if (SWIG_arg_fail(1)) SWIG_fail
;
20118 arg2
= (int)(SWIG_As_int(obj1
));
20119 if (SWIG_arg_fail(2)) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 result
= (bool)(arg1
)->GetToolState(arg2
);
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20137 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self",(char *) "id", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail
;
20152 arg2
= (int)(SWIG_As_int(obj1
));
20153 if (SWIG_arg_fail(2)) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20171 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20175 wxString
*arg3
= 0 ;
20176 bool temp3
= false ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20179 PyObject
* obj2
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self",(char *) "id",(char *) "helpString", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20186 if (SWIG_arg_fail(1)) SWIG_fail
;
20188 arg2
= (int)(SWIG_As_int(obj1
));
20189 if (SWIG_arg_fail(2)) SWIG_fail
;
20192 arg3
= wxString_in_helper(obj2
);
20193 if (arg3
== NULL
) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 Py_INCREF(Py_None
); resultobj
= Py_None
;
20218 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
;
20220 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 PyObject
* obj1
= 0 ;
20225 char *kwnames
[] = {
20226 (char *) "self",(char *) "id", NULL
20229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20231 if (SWIG_arg_fail(1)) SWIG_fail
;
20233 arg2
= (int)(SWIG_As_int(obj1
));
20234 if (SWIG_arg_fail(2)) SWIG_fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (arg1
)->GetToolShortHelp(arg2
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20256 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20260 wxString
*arg3
= 0 ;
20261 bool temp3
= false ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 PyObject
* obj2
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self",(char *) "id",(char *) "helpString", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20271 if (SWIG_arg_fail(1)) SWIG_fail
;
20273 arg2
= (int)(SWIG_As_int(obj1
));
20274 if (SWIG_arg_fail(2)) SWIG_fail
;
20277 arg3
= wxString_in_helper(obj2
);
20278 if (arg3
== NULL
) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 Py_INCREF(Py_None
); resultobj
= Py_None
;
20303 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self",(char *) "id", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20316 if (SWIG_arg_fail(1)) SWIG_fail
;
20318 arg2
= (int)(SWIG_As_int(obj1
));
20319 if (SWIG_arg_fail(2)) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 result
= (arg1
)->GetToolLongHelp(arg2
);
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20341 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 PyObject
* obj2
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "self",(char *) "x",(char *) "y", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20355 if (SWIG_arg_fail(1)) SWIG_fail
;
20357 arg2
= (int)(SWIG_As_int(obj1
));
20358 if (SWIG_arg_fail(2)) SWIG_fail
;
20361 arg3
= (int)(SWIG_As_int(obj2
));
20362 if (SWIG_arg_fail(3)) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 (arg1
)->SetMargins(arg2
,arg3
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 Py_INCREF(Py_None
); resultobj
= Py_None
;
20378 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self",(char *) "size", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail
;
20394 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20410 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self",(char *) "packing", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20422 if (SWIG_arg_fail(1)) SWIG_fail
;
20424 arg2
= (int)(SWIG_As_int(obj1
));
20425 if (SWIG_arg_fail(2)) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 (arg1
)->SetToolPacking(arg2
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 Py_INCREF(Py_None
); resultobj
= Py_None
;
20441 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 PyObject
* obj1
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self",(char *) "separation", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20453 if (SWIG_arg_fail(1)) SWIG_fail
;
20455 arg2
= (int)(SWIG_As_int(obj1
));
20456 if (SWIG_arg_fail(2)) SWIG_fail
;
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 (arg1
)->SetToolSeparation(arg2
);
20462 wxPyEndAllowThreads(__tstate
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20465 Py_INCREF(Py_None
); resultobj
= Py_None
;
20472 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
;
20474 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20476 PyObject
* obj0
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20483 if (SWIG_arg_fail(1)) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= (arg1
)->GetToolMargins();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20492 wxSize
* resultptr
;
20493 resultptr
= new wxSize((wxSize
&)(result
));
20494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20502 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20513 if (SWIG_arg_fail(1)) SWIG_fail
;
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= (arg1
)->GetMargins();
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20522 wxSize
* resultptr
;
20523 resultptr
= new wxSize((wxSize
&)(result
));
20524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20532 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 result
= (int)(arg1
)->GetToolPacking();
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_From_int((int)(result
));
20560 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20571 if (SWIG_arg_fail(1)) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= (int)(arg1
)->GetToolSeparation();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= SWIG_From_int((int)(result
));
20588 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
;
20590 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 PyObject
* obj1
= 0 ;
20594 char *kwnames
[] = {
20595 (char *) "self",(char *) "nRows", NULL
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20600 if (SWIG_arg_fail(1)) SWIG_fail
;
20602 arg2
= (int)(SWIG_As_int(obj1
));
20603 if (SWIG_arg_fail(2)) SWIG_fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 (arg1
)->SetRows(arg2
);
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 Py_INCREF(Py_None
); resultobj
= Py_None
;
20619 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 PyObject
* obj2
= 0 ;
20627 char *kwnames
[] = {
20628 (char *) "self",(char *) "rows",(char *) "cols", NULL
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20633 if (SWIG_arg_fail(1)) SWIG_fail
;
20635 arg2
= (int)(SWIG_As_int(obj1
));
20636 if (SWIG_arg_fail(2)) SWIG_fail
;
20639 arg3
= (int)(SWIG_As_int(obj2
));
20640 if (SWIG_arg_fail(3)) SWIG_fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20649 Py_INCREF(Py_None
); resultobj
= Py_None
;
20656 static PyObject
*_wrap_ToolBarBase_GetMaxRows(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_GetMaxRows",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
= (int)(arg1
)->GetMaxRows();
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= SWIG_From_int((int)(result
));
20684 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "self", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20695 if (SWIG_arg_fail(1)) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 result
= (int)(arg1
)->GetMaxCols();
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20704 resultobj
= SWIG_From_int((int)(result
));
20712 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
;
20714 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 PyObject
* obj1
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self",(char *) "size", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail
;
20728 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 Py_INCREF(Py_None
); resultobj
= Py_None
;
20744 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20755 if (SWIG_arg_fail(1)) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (arg1
)->GetToolBitmapSize();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20764 wxSize
* resultptr
;
20765 resultptr
= new wxSize((wxSize
&)(result
));
20766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20774 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 char *kwnames
[] = {
20780 (char *) "self", NULL
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20785 if (SWIG_arg_fail(1)) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (arg1
)->GetToolSize();
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20794 wxSize
* resultptr
;
20795 resultptr
= new wxSize((wxSize
&)(result
));
20796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20804 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20809 wxToolBarToolBase
*result
;
20810 PyObject
* obj0
= 0 ;
20811 PyObject
* obj1
= 0 ;
20812 PyObject
* obj2
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self",(char *) "x",(char *) "y", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20819 if (SWIG_arg_fail(1)) SWIG_fail
;
20821 arg2
= (int)(SWIG_As_int(obj1
));
20822 if (SWIG_arg_fail(2)) SWIG_fail
;
20825 arg3
= (int)(SWIG_As_int(obj2
));
20826 if (SWIG_arg_fail(3)) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= wxPyMake_wxObject(result
, 0);
20844 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20846 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20848 wxToolBarToolBase
*result
;
20849 PyObject
* obj0
= 0 ;
20850 PyObject
* obj1
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self",(char *) "toolid", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20857 if (SWIG_arg_fail(1)) SWIG_fail
;
20859 arg2
= (int)(SWIG_As_int(obj1
));
20860 if (SWIG_arg_fail(2)) SWIG_fail
;
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= wxPyMake_wxObject(result
, 0);
20878 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20889 if (SWIG_arg_fail(1)) SWIG_fail
;
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= (bool)(arg1
)->IsVertical();
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20906 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20909 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20911 return Py_BuildValue((char *)"");
20913 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxWindow
*arg1
= (wxWindow
*) 0 ;
20916 int arg2
= (int) -1 ;
20917 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20918 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20919 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20920 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20921 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20922 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20923 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20927 bool temp6
= false ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 PyObject
* obj2
= 0 ;
20931 PyObject
* obj3
= 0 ;
20932 PyObject
* obj4
= 0 ;
20933 PyObject
* obj5
= 0 ;
20934 char *kwnames
[] = {
20935 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20940 if (SWIG_arg_fail(1)) SWIG_fail
;
20943 arg2
= (int)(SWIG_As_int(obj1
));
20944 if (SWIG_arg_fail(2)) SWIG_fail
;
20950 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20956 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20961 arg5
= (long)(SWIG_As_long(obj4
));
20962 if (SWIG_arg_fail(5)) SWIG_fail
;
20967 arg6
= wxString_in_helper(obj5
);
20968 if (arg6
== NULL
) SWIG_fail
;
20973 if (!wxPyCheckForApp()) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20995 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20998 char *kwnames
[] = {
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21004 if (!wxPyCheckForApp()) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 result
= (wxToolBar
*)new wxToolBar();
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21018 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21021 wxWindow
*arg2
= (wxWindow
*) 0 ;
21022 int arg3
= (int) -1 ;
21023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21027 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21028 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21033 bool temp7
= false ;
21034 PyObject
* obj0
= 0 ;
21035 PyObject
* obj1
= 0 ;
21036 PyObject
* obj2
= 0 ;
21037 PyObject
* obj3
= 0 ;
21038 PyObject
* obj4
= 0 ;
21039 PyObject
* obj5
= 0 ;
21040 PyObject
* obj6
= 0 ;
21041 char *kwnames
[] = {
21042 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21047 if (SWIG_arg_fail(1)) SWIG_fail
;
21048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21049 if (SWIG_arg_fail(2)) SWIG_fail
;
21052 arg3
= (int)(SWIG_As_int(obj2
));
21053 if (SWIG_arg_fail(3)) SWIG_fail
;
21059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21070 arg6
= (long)(SWIG_As_long(obj5
));
21071 if (SWIG_arg_fail(6)) SWIG_fail
;
21076 arg7
= wxString_in_helper(obj6
);
21077 if (arg7
== NULL
) SWIG_fail
;
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21105 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21110 wxToolBarToolBase
*result
;
21111 PyObject
* obj0
= 0 ;
21112 PyObject
* obj1
= 0 ;
21113 PyObject
* obj2
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self",(char *) "x",(char *) "y", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21120 if (SWIG_arg_fail(1)) SWIG_fail
;
21122 arg2
= (int)(SWIG_As_int(obj1
));
21123 if (SWIG_arg_fail(2)) SWIG_fail
;
21126 arg3
= (int)(SWIG_As_int(obj2
));
21127 if (SWIG_arg_fail(3)) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21137 resultobj
= wxPyMake_wxObject(result
, 0);
21145 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21148 wxVisualAttributes result
;
21149 PyObject
* obj0
= 0 ;
21150 char *kwnames
[] = {
21151 (char *) "variant", NULL
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21157 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21158 if (SWIG_arg_fail(1)) SWIG_fail
;
21162 if (!wxPyCheckForApp()) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21170 wxVisualAttributes
* resultptr
;
21171 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21180 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21183 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21185 return Py_BuildValue((char *)"");
21187 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21188 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21193 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21198 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21200 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21207 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxColour
const &arg1_defvalue
= wxNullColour
;
21210 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21211 wxColour
const &arg2_defvalue
= wxNullColour
;
21212 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21213 wxFont
const &arg3_defvalue
= wxNullFont
;
21214 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21215 wxListItemAttr
*result
;
21218 PyObject
* obj0
= 0 ;
21219 PyObject
* obj1
= 0 ;
21220 PyObject
* obj2
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21229 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21235 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21240 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21241 if (SWIG_arg_fail(3)) SWIG_fail
;
21242 if (arg3
== NULL
) {
21243 SWIG_null_ref("wxFont");
21245 if (SWIG_arg_fail(3)) SWIG_fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21262 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21265 wxColour
*arg2
= 0 ;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self",(char *) "colText", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21275 if (SWIG_arg_fail(1)) SWIG_fail
;
21278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 Py_INCREF(Py_None
); resultobj
= Py_None
;
21294 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21297 wxColour
*arg2
= 0 ;
21299 PyObject
* obj0
= 0 ;
21300 PyObject
* obj1
= 0 ;
21301 char *kwnames
[] = {
21302 (char *) "self",(char *) "colBack", NULL
21305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21307 if (SWIG_arg_fail(1)) SWIG_fail
;
21310 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 Py_INCREF(Py_None
); resultobj
= Py_None
;
21326 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21328 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self",(char *) "font", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail
;
21340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21341 if (SWIG_arg_fail(2)) SWIG_fail
;
21342 if (arg2
== NULL
) {
21343 SWIG_null_ref("wxFont");
21345 if (SWIG_arg_fail(2)) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 (arg1
)->SetFont((wxFont
const &)*arg2
);
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 Py_INCREF(Py_None
); resultobj
= Py_None
;
21361 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21372 if (SWIG_arg_fail(1)) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 result
= (bool)(arg1
)->HasTextColour();
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21389 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21393 PyObject
* obj0
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21400 if (SWIG_arg_fail(1)) SWIG_fail
;
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 result
= (bool)(arg1
)->HasBackgroundColour();
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21417 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21421 PyObject
* obj0
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (bool)(arg1
)->HasFont();
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21445 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= (arg1
)->GetTextColour();
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21465 wxColour
* resultptr
;
21466 resultptr
= new wxColour((wxColour
&)(result
));
21467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21475 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21477 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21479 PyObject
* obj0
= 0 ;
21480 char *kwnames
[] = {
21481 (char *) "self", NULL
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21486 if (SWIG_arg_fail(1)) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (arg1
)->GetBackgroundColour();
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 wxColour
* resultptr
;
21496 resultptr
= new wxColour((wxColour
&)(result
));
21497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21505 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
;
21507 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21509 PyObject
* obj0
= 0 ;
21510 char *kwnames
[] = {
21511 (char *) "self", NULL
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21516 if (SWIG_arg_fail(1)) SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 result
= (arg1
)->GetFont();
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 wxFont
* resultptr
;
21526 resultptr
= new wxFont((wxFont
&)(result
));
21527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21535 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21538 PyObject
* obj0
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 wxListItemAttr_Destroy(arg1
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 Py_INCREF(Py_None
); resultobj
= Py_None
;
21560 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21563 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21565 return Py_BuildValue((char *)"");
21567 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxListItem
*result
;
21570 char *kwnames
[] = {
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (wxListItem
*)new wxListItem();
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= wxPyMake_wxObject(result
, 1);
21591 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxListItem
*arg1
= (wxListItem
*) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 char *kwnames
[] = {
21596 (char *) "self", NULL
21599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21601 if (SWIG_arg_fail(1)) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 Py_INCREF(Py_None
); resultobj
= Py_None
;
21616 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxListItem
*arg1
= (wxListItem
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21626 if (SWIG_arg_fail(1)) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 Py_INCREF(Py_None
); resultobj
= Py_None
;
21641 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxListItem
*arg1
= (wxListItem
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 (arg1
)->ClearAttributes();
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 Py_INCREF(Py_None
); resultobj
= Py_None
;
21666 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxListItem
*arg1
= (wxListItem
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "self",(char *) "mask", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21678 if (SWIG_arg_fail(1)) SWIG_fail
;
21680 arg2
= (long)(SWIG_As_long(obj1
));
21681 if (SWIG_arg_fail(2)) SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 (arg1
)->SetMask(arg2
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 Py_INCREF(Py_None
); resultobj
= Py_None
;
21697 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
;
21699 wxListItem
*arg1
= (wxListItem
*) 0 ;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "id", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail
;
21711 arg2
= (long)(SWIG_As_long(obj1
));
21712 if (SWIG_arg_fail(2)) SWIG_fail
;
21715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21716 (arg1
)->SetId(arg2
);
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 Py_INCREF(Py_None
); resultobj
= Py_None
;
21728 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxListItem
*arg1
= (wxListItem
*) 0 ;
21732 PyObject
* obj0
= 0 ;
21733 PyObject
* obj1
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self",(char *) "col", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21740 if (SWIG_arg_fail(1)) SWIG_fail
;
21742 arg2
= (int)(SWIG_As_int(obj1
));
21743 if (SWIG_arg_fail(2)) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 (arg1
)->SetColumn(arg2
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 Py_INCREF(Py_None
); resultobj
= Py_None
;
21759 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
;
21761 wxListItem
*arg1
= (wxListItem
*) 0 ;
21763 PyObject
* obj0
= 0 ;
21764 PyObject
* obj1
= 0 ;
21765 char *kwnames
[] = {
21766 (char *) "self",(char *) "state", NULL
21769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21771 if (SWIG_arg_fail(1)) SWIG_fail
;
21773 arg2
= (long)(SWIG_As_long(obj1
));
21774 if (SWIG_arg_fail(2)) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 (arg1
)->SetState(arg2
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 Py_INCREF(Py_None
); resultobj
= Py_None
;
21790 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxListItem
*arg1
= (wxListItem
*) 0 ;
21794 PyObject
* obj0
= 0 ;
21795 PyObject
* obj1
= 0 ;
21796 char *kwnames
[] = {
21797 (char *) "self",(char *) "stateMask", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail
;
21804 arg2
= (long)(SWIG_As_long(obj1
));
21805 if (SWIG_arg_fail(2)) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 (arg1
)->SetStateMask(arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 Py_INCREF(Py_None
); resultobj
= Py_None
;
21821 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxListItem
*arg1
= (wxListItem
*) 0 ;
21824 wxString
*arg2
= 0 ;
21825 bool temp2
= false ;
21826 PyObject
* obj0
= 0 ;
21827 PyObject
* obj1
= 0 ;
21828 char *kwnames
[] = {
21829 (char *) "self",(char *) "text", NULL
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21834 if (SWIG_arg_fail(1)) SWIG_fail
;
21836 arg2
= wxString_in_helper(obj1
);
21837 if (arg2
== NULL
) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 (arg1
)->SetText((wxString
const &)*arg2
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 Py_INCREF(Py_None
); resultobj
= Py_None
;
21862 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxListItem
*arg1
= (wxListItem
*) 0 ;
21866 PyObject
* obj0
= 0 ;
21867 PyObject
* obj1
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self",(char *) "image", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21874 if (SWIG_arg_fail(1)) SWIG_fail
;
21876 arg2
= (int)(SWIG_As_int(obj1
));
21877 if (SWIG_arg_fail(2)) SWIG_fail
;
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 (arg1
)->SetImage(arg2
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 Py_INCREF(Py_None
); resultobj
= Py_None
;
21893 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
;
21895 wxListItem
*arg1
= (wxListItem
*) 0 ;
21897 PyObject
* obj0
= 0 ;
21898 PyObject
* obj1
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self",(char *) "data", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21905 if (SWIG_arg_fail(1)) SWIG_fail
;
21907 arg2
= (long)(SWIG_As_long(obj1
));
21908 if (SWIG_arg_fail(2)) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 (arg1
)->SetData(arg2
);
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 Py_INCREF(Py_None
); resultobj
= Py_None
;
21924 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
;
21926 wxListItem
*arg1
= (wxListItem
*) 0 ;
21928 PyObject
* obj0
= 0 ;
21929 PyObject
* obj1
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self",(char *) "width", NULL
21934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21936 if (SWIG_arg_fail(1)) SWIG_fail
;
21938 arg2
= (int)(SWIG_As_int(obj1
));
21939 if (SWIG_arg_fail(2)) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 (arg1
)->SetWidth(arg2
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 Py_INCREF(Py_None
); resultobj
= Py_None
;
21955 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxListItem
*arg1
= (wxListItem
*) 0 ;
21958 wxListColumnFormat arg2
;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "align", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21967 if (SWIG_arg_fail(1)) SWIG_fail
;
21969 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
21970 if (SWIG_arg_fail(2)) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 Py_INCREF(Py_None
); resultobj
= Py_None
;
21986 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxListItem
*arg1
= (wxListItem
*) 0 ;
21989 wxColour
*arg2
= 0 ;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self",(char *) "colText", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21999 if (SWIG_arg_fail(1)) SWIG_fail
;
22002 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 Py_INCREF(Py_None
); resultobj
= Py_None
;
22018 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxListItem
*arg1
= (wxListItem
*) 0 ;
22021 wxColour
*arg2
= 0 ;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "colBack", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22031 if (SWIG_arg_fail(1)) SWIG_fail
;
22034 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 Py_INCREF(Py_None
); resultobj
= Py_None
;
22050 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxListItem
*arg1
= (wxListItem
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "font", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22062 if (SWIG_arg_fail(1)) SWIG_fail
;
22064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22065 if (SWIG_arg_fail(2)) SWIG_fail
;
22066 if (arg2
== NULL
) {
22067 SWIG_null_ref("wxFont");
22069 if (SWIG_arg_fail(2)) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 (arg1
)->SetFont((wxFont
const &)*arg2
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 Py_INCREF(Py_None
); resultobj
= Py_None
;
22085 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 wxListItem
*arg1
= (wxListItem
*) 0 ;
22089 PyObject
* obj0
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22096 if (SWIG_arg_fail(1)) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (long)(arg1
)->GetMask();
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= SWIG_From_long((long)(result
));
22113 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22115 wxListItem
*arg1
= (wxListItem
*) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 char *kwnames
[] = {
22119 (char *) "self", NULL
22122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22124 if (SWIG_arg_fail(1)) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (long)(arg1
)->GetId();
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_From_long((long)(result
));
22141 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22143 wxListItem
*arg1
= (wxListItem
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22152 if (SWIG_arg_fail(1)) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (int)(arg1
)->GetColumn();
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= SWIG_From_int((int)(result
));
22169 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxListItem
*arg1
= (wxListItem
*) 0 ;
22173 PyObject
* obj0
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22180 if (SWIG_arg_fail(1)) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= (long)(arg1
)->GetState();
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22189 resultobj
= SWIG_From_long((long)(result
));
22197 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxListItem
*arg1
= (wxListItem
*) 0 ;
22201 PyObject
* obj0
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22208 if (SWIG_arg_fail(1)) SWIG_fail
;
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 wxString
const &_result_ref
= (arg1
)->GetText();
22213 result
= (wxString
*) &_result_ref
;
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22223 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22232 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxListItem
*arg1
= (wxListItem
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22243 if (SWIG_arg_fail(1)) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (int)(arg1
)->GetImage();
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= SWIG_From_int((int)(result
));
22260 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
;
22262 wxListItem
*arg1
= (wxListItem
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22271 if (SWIG_arg_fail(1)) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 result
= (long)(arg1
)->GetData();
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22280 resultobj
= SWIG_From_long((long)(result
));
22288 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxListItem
*arg1
= (wxListItem
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail
;
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 result
= (int)(arg1
)->GetWidth();
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= SWIG_From_int((int)(result
));
22316 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22317 PyObject
*resultobj
;
22318 wxListItem
*arg1
= (wxListItem
*) 0 ;
22319 wxListColumnFormat result
;
22320 PyObject
* obj0
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= SWIG_From_int((result
));
22342 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxListItem
*arg1
= (wxListItem
*) 0 ;
22345 wxListItemAttr
*result
;
22346 PyObject
* obj0
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22353 if (SWIG_arg_fail(1)) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22368 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxListItem
*arg1
= (wxListItem
*) 0 ;
22372 PyObject
* obj0
= 0 ;
22373 char *kwnames
[] = {
22374 (char *) "self", NULL
22377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22379 if (SWIG_arg_fail(1)) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (bool)(arg1
)->HasAttributes();
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22396 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22397 PyObject
*resultobj
;
22398 wxListItem
*arg1
= (wxListItem
*) 0 ;
22400 PyObject
* obj0
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "self", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22407 if (SWIG_arg_fail(1)) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22416 wxColour
* resultptr
;
22417 resultptr
= new wxColour((wxColour
&)(result
));
22418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22426 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxListItem
*arg1
= (wxListItem
*) 0 ;
22430 PyObject
* obj0
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22437 if (SWIG_arg_fail(1)) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22446 wxColour
* resultptr
;
22447 resultptr
= new wxColour((wxColour
&)(result
));
22448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22456 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxListItem
*arg1
= (wxListItem
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22467 if (SWIG_arg_fail(1)) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= ((wxListItem
const *)arg1
)->GetFont();
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22476 wxFont
* resultptr
;
22477 resultptr
= new wxFont((wxFont
&)(result
));
22478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22486 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxListItem
*arg1
= (wxListItem
*) 0 ;
22490 PyObject
* obj0
= 0 ;
22491 PyObject
* obj1
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self",(char *) "m_mask", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22498 if (SWIG_arg_fail(1)) SWIG_fail
;
22500 arg2
= (long)(SWIG_As_long(obj1
));
22501 if (SWIG_arg_fail(2)) SWIG_fail
;
22503 if (arg1
) (arg1
)->m_mask
= arg2
;
22505 Py_INCREF(Py_None
); resultobj
= Py_None
;
22512 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxListItem
*arg1
= (wxListItem
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "self", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22523 if (SWIG_arg_fail(1)) SWIG_fail
;
22524 result
= (long) ((arg1
)->m_mask
);
22527 resultobj
= SWIG_From_long((long)(result
));
22535 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxListItem
*arg1
= (wxListItem
*) 0 ;
22539 PyObject
* obj0
= 0 ;
22540 PyObject
* obj1
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "self",(char *) "m_itemId", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22547 if (SWIG_arg_fail(1)) SWIG_fail
;
22549 arg2
= (long)(SWIG_As_long(obj1
));
22550 if (SWIG_arg_fail(2)) SWIG_fail
;
22552 if (arg1
) (arg1
)->m_itemId
= arg2
;
22554 Py_INCREF(Py_None
); resultobj
= Py_None
;
22561 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxListItem
*arg1
= (wxListItem
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22572 if (SWIG_arg_fail(1)) SWIG_fail
;
22573 result
= (long) ((arg1
)->m_itemId
);
22576 resultobj
= SWIG_From_long((long)(result
));
22584 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxListItem
*arg1
= (wxListItem
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self",(char *) "m_col", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22596 if (SWIG_arg_fail(1)) SWIG_fail
;
22598 arg2
= (int)(SWIG_As_int(obj1
));
22599 if (SWIG_arg_fail(2)) SWIG_fail
;
22601 if (arg1
) (arg1
)->m_col
= arg2
;
22603 Py_INCREF(Py_None
); resultobj
= Py_None
;
22610 static PyObject
*_wrap_ListItem_m_col_get(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_m_col_get",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
;
22622 result
= (int) ((arg1
)->m_col
);
22625 resultobj
= SWIG_From_int((int)(result
));
22633 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxListItem
*arg1
= (wxListItem
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 PyObject
* obj1
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self",(char *) "m_state", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22645 if (SWIG_arg_fail(1)) SWIG_fail
;
22647 arg2
= (long)(SWIG_As_long(obj1
));
22648 if (SWIG_arg_fail(2)) SWIG_fail
;
22650 if (arg1
) (arg1
)->m_state
= arg2
;
22652 Py_INCREF(Py_None
); resultobj
= Py_None
;
22659 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
;
22661 wxListItem
*arg1
= (wxListItem
*) 0 ;
22663 PyObject
* obj0
= 0 ;
22664 char *kwnames
[] = {
22665 (char *) "self", NULL
22668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22670 if (SWIG_arg_fail(1)) SWIG_fail
;
22671 result
= (long) ((arg1
)->m_state
);
22674 resultobj
= SWIG_From_long((long)(result
));
22682 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxListItem
*arg1
= (wxListItem
*) 0 ;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 char *kwnames
[] = {
22689 (char *) "self",(char *) "m_stateMask", NULL
22692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22694 if (SWIG_arg_fail(1)) SWIG_fail
;
22696 arg2
= (long)(SWIG_As_long(obj1
));
22697 if (SWIG_arg_fail(2)) SWIG_fail
;
22699 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22701 Py_INCREF(Py_None
); resultobj
= Py_None
;
22708 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxListItem
*arg1
= (wxListItem
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22719 if (SWIG_arg_fail(1)) SWIG_fail
;
22720 result
= (long) ((arg1
)->m_stateMask
);
22723 resultobj
= SWIG_From_long((long)(result
));
22731 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxListItem
*arg1
= (wxListItem
*) 0 ;
22734 wxString
*arg2
= (wxString
*) 0 ;
22735 bool temp2
= false ;
22736 PyObject
* obj0
= 0 ;
22737 PyObject
* obj1
= 0 ;
22738 char *kwnames
[] = {
22739 (char *) "self",(char *) "m_text", NULL
22742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22744 if (SWIG_arg_fail(1)) SWIG_fail
;
22746 arg2
= wxString_in_helper(obj1
);
22747 if (arg2
== NULL
) SWIG_fail
;
22750 if (arg1
) (arg1
)->m_text
= *arg2
;
22752 Py_INCREF(Py_None
); resultobj
= Py_None
;
22767 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxListItem
*arg1
= (wxListItem
*) 0 ;
22771 PyObject
* obj0
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "self", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22778 if (SWIG_arg_fail(1)) SWIG_fail
;
22779 result
= (wxString
*)& ((arg1
)->m_text
);
22783 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22785 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22794 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxListItem
*arg1
= (wxListItem
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "m_image", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22806 if (SWIG_arg_fail(1)) SWIG_fail
;
22808 arg2
= (int)(SWIG_As_int(obj1
));
22809 if (SWIG_arg_fail(2)) SWIG_fail
;
22811 if (arg1
) (arg1
)->m_image
= arg2
;
22813 Py_INCREF(Py_None
); resultobj
= Py_None
;
22820 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxListItem
*arg1
= (wxListItem
*) 0 ;
22824 PyObject
* obj0
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail
;
22832 result
= (int) ((arg1
)->m_image
);
22835 resultobj
= SWIG_From_int((int)(result
));
22843 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxListItem
*arg1
= (wxListItem
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 PyObject
* obj1
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self",(char *) "m_data", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22855 if (SWIG_arg_fail(1)) SWIG_fail
;
22857 arg2
= (long)(SWIG_As_long(obj1
));
22858 if (SWIG_arg_fail(2)) SWIG_fail
;
22860 if (arg1
) (arg1
)->m_data
= arg2
;
22862 Py_INCREF(Py_None
); resultobj
= Py_None
;
22869 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxListItem
*arg1
= (wxListItem
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22880 if (SWIG_arg_fail(1)) SWIG_fail
;
22881 result
= (long) ((arg1
)->m_data
);
22884 resultobj
= SWIG_From_long((long)(result
));
22892 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 wxListItem
*arg1
= (wxListItem
*) 0 ;
22896 PyObject
* obj0
= 0 ;
22897 PyObject
* obj1
= 0 ;
22898 char *kwnames
[] = {
22899 (char *) "self",(char *) "m_format", NULL
22902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22904 if (SWIG_arg_fail(1)) SWIG_fail
;
22906 arg2
= (int)(SWIG_As_int(obj1
));
22907 if (SWIG_arg_fail(2)) SWIG_fail
;
22909 if (arg1
) (arg1
)->m_format
= arg2
;
22911 Py_INCREF(Py_None
); resultobj
= Py_None
;
22918 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxListItem
*arg1
= (wxListItem
*) 0 ;
22922 PyObject
* obj0
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22929 if (SWIG_arg_fail(1)) SWIG_fail
;
22930 result
= (int) ((arg1
)->m_format
);
22933 resultobj
= SWIG_From_int((int)(result
));
22941 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxListItem
*arg1
= (wxListItem
*) 0 ;
22945 PyObject
* obj0
= 0 ;
22946 PyObject
* obj1
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self",(char *) "m_width", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22953 if (SWIG_arg_fail(1)) SWIG_fail
;
22955 arg2
= (int)(SWIG_As_int(obj1
));
22956 if (SWIG_arg_fail(2)) SWIG_fail
;
22958 if (arg1
) (arg1
)->m_width
= arg2
;
22960 Py_INCREF(Py_None
); resultobj
= Py_None
;
22967 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
;
22969 wxListItem
*arg1
= (wxListItem
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
22977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail
;
22979 result
= (int) ((arg1
)->m_width
);
22982 resultobj
= SWIG_From_int((int)(result
));
22990 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
22992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22993 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
22995 return Py_BuildValue((char *)"");
22997 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23000 int arg2
= (int) 0 ;
23001 wxListEvent
*result
;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "commandType",(char *) "id", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23011 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23012 if (SWIG_arg_fail(1)) SWIG_fail
;
23017 arg2
= (int)(SWIG_As_int(obj1
));
23018 if (SWIG_arg_fail(2)) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23035 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 PyObject
* obj1
= 0 ;
23041 char *kwnames
[] = {
23042 (char *) "self",(char *) "m_code", NULL
23045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23047 if (SWIG_arg_fail(1)) SWIG_fail
;
23049 arg2
= (int)(SWIG_As_int(obj1
));
23050 if (SWIG_arg_fail(2)) SWIG_fail
;
23052 if (arg1
) (arg1
)->m_code
= arg2
;
23054 Py_INCREF(Py_None
); resultobj
= Py_None
;
23061 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23065 PyObject
* obj0
= 0 ;
23066 char *kwnames
[] = {
23067 (char *) "self", NULL
23070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23072 if (SWIG_arg_fail(1)) SWIG_fail
;
23073 result
= (int) ((arg1
)->m_code
);
23076 resultobj
= SWIG_From_int((int)(result
));
23084 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "m_oldItemIndex", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23096 if (SWIG_arg_fail(1)) SWIG_fail
;
23098 arg2
= (long)(SWIG_As_long(obj1
));
23099 if (SWIG_arg_fail(2)) SWIG_fail
;
23101 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23103 Py_INCREF(Py_None
); resultobj
= Py_None
;
23110 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "self", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23121 if (SWIG_arg_fail(1)) SWIG_fail
;
23122 result
= (long) ((arg1
)->m_oldItemIndex
);
23125 resultobj
= SWIG_From_long((long)(result
));
23133 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self",(char *) "m_itemIndex", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23145 if (SWIG_arg_fail(1)) SWIG_fail
;
23147 arg2
= (long)(SWIG_As_long(obj1
));
23148 if (SWIG_arg_fail(2)) SWIG_fail
;
23150 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23152 Py_INCREF(Py_None
); resultobj
= Py_None
;
23159 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23163 PyObject
* obj0
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23170 if (SWIG_arg_fail(1)) SWIG_fail
;
23171 result
= (long) ((arg1
)->m_itemIndex
);
23174 resultobj
= SWIG_From_long((long)(result
));
23182 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23186 PyObject
* obj0
= 0 ;
23187 PyObject
* obj1
= 0 ;
23188 char *kwnames
[] = {
23189 (char *) "self",(char *) "m_col", NULL
23192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23194 if (SWIG_arg_fail(1)) SWIG_fail
;
23196 arg2
= (int)(SWIG_As_int(obj1
));
23197 if (SWIG_arg_fail(2)) SWIG_fail
;
23199 if (arg1
) (arg1
)->m_col
= arg2
;
23201 Py_INCREF(Py_None
); resultobj
= Py_None
;
23208 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
;
23210 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23212 PyObject
* obj0
= 0 ;
23213 char *kwnames
[] = {
23214 (char *) "self", NULL
23217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23219 if (SWIG_arg_fail(1)) SWIG_fail
;
23220 result
= (int) ((arg1
)->m_col
);
23223 resultobj
= SWIG_From_int((int)(result
));
23231 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23233 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23234 wxPoint
*arg2
= (wxPoint
*) 0 ;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self",(char *) "m_pointDrag", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23243 if (SWIG_arg_fail(1)) SWIG_fail
;
23244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23245 if (SWIG_arg_fail(2)) SWIG_fail
;
23246 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23248 Py_INCREF(Py_None
); resultobj
= Py_None
;
23255 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
;
23257 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23259 PyObject
* obj0
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23266 if (SWIG_arg_fail(1)) SWIG_fail
;
23267 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23276 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23279 wxListItem
*result
;
23280 PyObject
* obj0
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail
;
23288 result
= (wxListItem
*)& ((arg1
)->m_item
);
23291 resultobj
= wxPyMake_wxObject(result
, 0);
23299 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= (int)(arg1
)->GetKeyCode();
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= SWIG_From_int((int)(result
));
23327 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
;
23329 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23331 PyObject
* obj0
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23338 if (SWIG_arg_fail(1)) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= (long)(arg1
)->GetIndex();
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= SWIG_From_long((long)(result
));
23355 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23359 PyObject
* obj0
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23366 if (SWIG_arg_fail(1)) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (int)(arg1
)->GetColumn();
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= SWIG_From_int((int)(result
));
23383 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23387 PyObject
* obj0
= 0 ;
23388 char *kwnames
[] = {
23389 (char *) "self", NULL
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23394 if (SWIG_arg_fail(1)) SWIG_fail
;
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 result
= (arg1
)->GetPoint();
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23403 wxPoint
* resultptr
;
23404 resultptr
= new wxPoint((wxPoint
&)(result
));
23405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23413 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23415 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23417 PyObject
* obj0
= 0 ;
23418 char *kwnames
[] = {
23419 (char *) "self", NULL
23422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23424 if (SWIG_arg_fail(1)) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 wxString
const &_result_ref
= (arg1
)->GetLabel();
23429 result
= (wxString
*) &_result_ref
;
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23439 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23448 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23459 if (SWIG_arg_fail(1)) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 wxString
const &_result_ref
= (arg1
)->GetText();
23464 result
= (wxString
*) &_result_ref
;
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23474 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23483 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
;
23485 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23487 PyObject
* obj0
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "self", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23494 if (SWIG_arg_fail(1)) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (int)(arg1
)->GetImage();
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= SWIG_From_int((int)(result
));
23511 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23522 if (SWIG_arg_fail(1)) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (long)(arg1
)->GetData();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= SWIG_From_long((long)(result
));
23539 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23550 if (SWIG_arg_fail(1)) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= (long)(arg1
)->GetMask();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_From_long((long)(result
));
23567 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23570 wxListItem
*result
;
23571 PyObject
* obj0
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",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 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23583 result
= (wxListItem
*) &_result_ref
;
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23596 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23600 PyObject
* obj0
= 0 ;
23601 char *kwnames
[] = {
23602 (char *) "self", NULL
23605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23607 if (SWIG_arg_fail(1)) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 result
= (long)(arg1
)->GetCacheFrom();
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23616 resultobj
= SWIG_From_long((long)(result
));
23624 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23628 PyObject
* obj0
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23635 if (SWIG_arg_fail(1)) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= (long)(arg1
)->GetCacheTo();
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= SWIG_From_long((long)(result
));
23652 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23656 PyObject
* obj0
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23663 if (SWIG_arg_fail(1)) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23680 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23684 PyObject
* obj0
= 0 ;
23685 PyObject
* obj1
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self",(char *) "editCancelled", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23692 if (SWIG_arg_fail(1)) SWIG_fail
;
23694 arg2
= (bool)(SWIG_As_bool(obj1
));
23695 if (SWIG_arg_fail(2)) SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 (arg1
)->SetEditCanceled(arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 Py_INCREF(Py_None
); resultobj
= Py_None
;
23711 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23714 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23716 return Py_BuildValue((char *)"");
23718 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
;
23720 wxWindow
*arg1
= (wxWindow
*) 0 ;
23721 int arg2
= (int) -1 ;
23722 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23723 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23724 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23725 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23726 long arg5
= (long) wxLC_ICON
;
23727 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23728 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23729 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23730 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23731 wxPyListCtrl
*result
;
23734 bool temp7
= false ;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 PyObject
* obj2
= 0 ;
23738 PyObject
* obj3
= 0 ;
23739 PyObject
* obj4
= 0 ;
23740 PyObject
* obj5
= 0 ;
23741 PyObject
* obj6
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23748 if (SWIG_arg_fail(1)) SWIG_fail
;
23751 arg2
= (int)(SWIG_As_int(obj1
));
23752 if (SWIG_arg_fail(2)) SWIG_fail
;
23758 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23764 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23769 arg5
= (long)(SWIG_As_long(obj4
));
23770 if (SWIG_arg_fail(5)) SWIG_fail
;
23775 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23776 if (SWIG_arg_fail(6)) SWIG_fail
;
23777 if (arg6
== NULL
) {
23778 SWIG_null_ref("wxValidator");
23780 if (SWIG_arg_fail(6)) SWIG_fail
;
23785 arg7
= wxString_in_helper(obj6
);
23786 if (arg7
== NULL
) SWIG_fail
;
23791 if (!wxPyCheckForApp()) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23813 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxPyListCtrl
*result
;
23816 char *kwnames
[] = {
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23822 if (!wxPyCheckForApp()) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23836 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23839 wxWindow
*arg2
= (wxWindow
*) 0 ;
23840 int arg3
= (int) -1 ;
23841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23845 long arg6
= (long) wxLC_ICON
;
23846 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23847 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23848 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23849 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23853 bool temp8
= false ;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23856 PyObject
* obj2
= 0 ;
23857 PyObject
* obj3
= 0 ;
23858 PyObject
* obj4
= 0 ;
23859 PyObject
* obj5
= 0 ;
23860 PyObject
* obj6
= 0 ;
23861 PyObject
* obj7
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23868 if (SWIG_arg_fail(1)) SWIG_fail
;
23869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23870 if (SWIG_arg_fail(2)) SWIG_fail
;
23873 arg3
= (int)(SWIG_As_int(obj2
));
23874 if (SWIG_arg_fail(3)) SWIG_fail
;
23880 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23886 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23891 arg6
= (long)(SWIG_As_long(obj5
));
23892 if (SWIG_arg_fail(6)) SWIG_fail
;
23897 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23898 if (SWIG_arg_fail(7)) SWIG_fail
;
23899 if (arg7
== NULL
) {
23900 SWIG_null_ref("wxValidator");
23902 if (SWIG_arg_fail(7)) SWIG_fail
;
23907 arg8
= wxString_in_helper(obj7
);
23908 if (arg8
== NULL
) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23936 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
;
23938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23939 PyObject
*arg2
= (PyObject
*) 0 ;
23940 PyObject
*arg3
= (PyObject
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23943 PyObject
* obj2
= 0 ;
23944 char *kwnames
[] = {
23945 (char *) "self",(char *) "self",(char *) "_class", NULL
23948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23950 if (SWIG_arg_fail(1)) SWIG_fail
;
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 Py_INCREF(Py_None
); resultobj
= Py_None
;
23967 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23970 wxColour
*arg2
= 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 char *kwnames
[] = {
23976 (char *) "self",(char *) "col", NULL
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23981 if (SWIG_arg_fail(1)) SWIG_fail
;
23984 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24002 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
;
24004 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24005 wxColour
*arg2
= 0 ;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "self",(char *) "col", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24016 if (SWIG_arg_fail(1)) SWIG_fail
;
24019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24037 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24041 wxListItem
*result
;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self",(char *) "col", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24050 if (SWIG_arg_fail(1)) SWIG_fail
;
24052 arg2
= (int)(SWIG_As_int(obj1
));
24053 if (SWIG_arg_fail(2)) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= wxPyMake_wxObject(result
, 0);
24071 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24075 wxListItem
*arg3
= 0 ;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 PyObject
* obj2
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self",(char *) "col",(char *) "item", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail
;
24088 arg2
= (int)(SWIG_As_int(obj1
));
24089 if (SWIG_arg_fail(2)) SWIG_fail
;
24092 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24093 if (SWIG_arg_fail(3)) SWIG_fail
;
24094 if (arg3
== NULL
) {
24095 SWIG_null_ref("wxListItem");
24097 if (SWIG_arg_fail(3)) SWIG_fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24115 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24120 PyObject
* obj0
= 0 ;
24121 PyObject
* obj1
= 0 ;
24122 char *kwnames
[] = {
24123 (char *) "self",(char *) "col", NULL
24126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24128 if (SWIG_arg_fail(1)) SWIG_fail
;
24130 arg2
= (int)(SWIG_As_int(obj1
));
24131 if (SWIG_arg_fail(2)) SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= SWIG_From_int((int)(result
));
24149 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24151 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 PyObject
* obj2
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self",(char *) "col",(char *) "width", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24164 if (SWIG_arg_fail(1)) SWIG_fail
;
24166 arg2
= (int)(SWIG_As_int(obj1
));
24167 if (SWIG_arg_fail(2)) SWIG_fail
;
24170 arg3
= (int)(SWIG_As_int(obj2
));
24171 if (SWIG_arg_fail(3)) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24189 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
;
24191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24193 PyObject
* obj0
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24200 if (SWIG_arg_fail(1)) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= SWIG_From_int((int)(result
));
24217 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24221 PyObject
* obj0
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24228 if (SWIG_arg_fail(1)) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24237 wxRect
* resultptr
;
24238 resultptr
= new wxRect((wxRect
&)(result
));
24239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24247 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24251 int arg3
= (int) 0 ;
24252 wxListItem
*result
;
24253 PyObject
* obj0
= 0 ;
24254 PyObject
* obj1
= 0 ;
24255 PyObject
* obj2
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "self",(char *) "itemId",(char *) "col", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24262 if (SWIG_arg_fail(1)) SWIG_fail
;
24264 arg2
= (long)(SWIG_As_long(obj1
));
24265 if (SWIG_arg_fail(2)) SWIG_fail
;
24269 arg3
= (int)(SWIG_As_int(obj2
));
24270 if (SWIG_arg_fail(3)) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= wxPyMake_wxObject(result
, 0);
24289 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24292 wxListItem
*arg2
= 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "info", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24302 if (SWIG_arg_fail(1)) SWIG_fail
;
24304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24305 if (SWIG_arg_fail(2)) SWIG_fail
;
24306 if (arg2
== NULL
) {
24307 SWIG_null_ref("wxListItem");
24309 if (SWIG_arg_fail(2)) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= (bool)(arg1
)->SetItem(*arg2
);
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24327 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
;
24329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24332 wxString
*arg4
= 0 ;
24333 int arg5
= (int) -1 ;
24335 bool temp4
= false ;
24336 PyObject
* obj0
= 0 ;
24337 PyObject
* obj1
= 0 ;
24338 PyObject
* obj2
= 0 ;
24339 PyObject
* obj3
= 0 ;
24340 PyObject
* obj4
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24347 if (SWIG_arg_fail(1)) SWIG_fail
;
24349 arg2
= (long)(SWIG_As_long(obj1
));
24350 if (SWIG_arg_fail(2)) SWIG_fail
;
24353 arg3
= (int)(SWIG_As_int(obj2
));
24354 if (SWIG_arg_fail(3)) SWIG_fail
;
24357 arg4
= wxString_in_helper(obj3
);
24358 if (arg4
== NULL
) SWIG_fail
;
24363 arg5
= (int)(SWIG_As_int(obj4
));
24364 if (SWIG_arg_fail(5)) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24375 resultobj
= SWIG_From_long((long)(result
));
24391 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24397 PyObject
* obj0
= 0 ;
24398 PyObject
* obj1
= 0 ;
24399 PyObject
* obj2
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24406 if (SWIG_arg_fail(1)) SWIG_fail
;
24408 arg2
= (long)(SWIG_As_long(obj1
));
24409 if (SWIG_arg_fail(2)) SWIG_fail
;
24412 arg3
= (long)(SWIG_As_long(obj2
));
24413 if (SWIG_arg_fail(3)) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= SWIG_From_int((int)(result
));
24431 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 PyObject
* obj2
= 0 ;
24441 PyObject
* obj3
= 0 ;
24442 char *kwnames
[] = {
24443 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24448 if (SWIG_arg_fail(1)) SWIG_fail
;
24450 arg2
= (long)(SWIG_As_long(obj1
));
24451 if (SWIG_arg_fail(2)) SWIG_fail
;
24454 arg3
= (long)(SWIG_As_long(obj2
));
24455 if (SWIG_arg_fail(3)) SWIG_fail
;
24458 arg4
= (long)(SWIG_As_long(obj3
));
24459 if (SWIG_arg_fail(4)) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24477 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24482 int arg4
= (int) -1 ;
24484 PyObject
* obj0
= 0 ;
24485 PyObject
* obj1
= 0 ;
24486 PyObject
* obj2
= 0 ;
24487 PyObject
* obj3
= 0 ;
24488 char *kwnames
[] = {
24489 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24494 if (SWIG_arg_fail(1)) SWIG_fail
;
24496 arg2
= (long)(SWIG_As_long(obj1
));
24497 if (SWIG_arg_fail(2)) SWIG_fail
;
24500 arg3
= (int)(SWIG_As_int(obj2
));
24501 if (SWIG_arg_fail(3)) SWIG_fail
;
24505 arg4
= (int)(SWIG_As_int(obj3
));
24506 if (SWIG_arg_fail(4)) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24525 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
;
24527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self",(char *) "item", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24538 if (SWIG_arg_fail(1)) SWIG_fail
;
24540 arg2
= (long)(SWIG_As_long(obj1
));
24541 if (SWIG_arg_fail(2)) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24563 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
;
24565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24567 wxString
*arg3
= 0 ;
24568 bool temp3
= false ;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 PyObject
* obj2
= 0 ;
24572 char *kwnames
[] = {
24573 (char *) "self",(char *) "item",(char *) "str", NULL
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24578 if (SWIG_arg_fail(1)) SWIG_fail
;
24580 arg2
= (long)(SWIG_As_long(obj1
));
24581 if (SWIG_arg_fail(2)) SWIG_fail
;
24584 arg3
= wxString_in_helper(obj2
);
24585 if (arg3
== NULL
) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 Py_INCREF(Py_None
); resultobj
= Py_None
;
24610 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24615 PyObject
* obj0
= 0 ;
24616 PyObject
* obj1
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "item", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24623 if (SWIG_arg_fail(1)) SWIG_fail
;
24625 arg2
= (long)(SWIG_As_long(obj1
));
24626 if (SWIG_arg_fail(2)) SWIG_fail
;
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= SWIG_From_long((long)(result
));
24644 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24650 PyObject
* obj0
= 0 ;
24651 PyObject
* obj1
= 0 ;
24652 PyObject
* obj2
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self",(char *) "item",(char *) "data", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24659 if (SWIG_arg_fail(1)) SWIG_fail
;
24661 arg2
= (long)(SWIG_As_long(obj1
));
24662 if (SWIG_arg_fail(2)) SWIG_fail
;
24665 arg3
= (long)(SWIG_As_long(obj2
));
24666 if (SWIG_arg_fail(3)) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24684 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self",(char *) "item", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24697 if (SWIG_arg_fail(1)) SWIG_fail
;
24699 arg2
= (long)(SWIG_As_long(obj1
));
24700 if (SWIG_arg_fail(2)) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 wxPoint
* resultptr
;
24711 resultptr
= new wxPoint((wxPoint
&)(result
));
24712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24720 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24724 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24726 PyObject
* obj0
= 0 ;
24727 PyObject
* obj1
= 0 ;
24728 PyObject
* obj2
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self",(char *) "item",(char *) "code", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24735 if (SWIG_arg_fail(1)) SWIG_fail
;
24737 arg2
= (long)(SWIG_As_long(obj1
));
24738 if (SWIG_arg_fail(2)) SWIG_fail
;
24742 arg3
= (int)(SWIG_As_int(obj2
));
24743 if (SWIG_arg_fail(3)) SWIG_fail
;
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24754 wxRect
* resultptr
;
24755 resultptr
= new wxRect((wxRect
&)(result
));
24756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24764 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24768 wxPoint
*arg3
= 0 ;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 PyObject
* obj2
= 0 ;
24774 char *kwnames
[] = {
24775 (char *) "self",(char *) "item",(char *) "pos", NULL
24778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24780 if (SWIG_arg_fail(1)) SWIG_fail
;
24782 arg2
= (long)(SWIG_As_long(obj1
));
24783 if (SWIG_arg_fail(2)) SWIG_fail
;
24787 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24805 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24816 if (SWIG_arg_fail(1)) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_From_int((int)(result
));
24833 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24844 if (SWIG_arg_fail(1)) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= SWIG_From_int((int)(result
));
24861 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24881 wxSize
* resultptr
;
24882 resultptr
= new wxSize((wxSize
&)(result
));
24883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24891 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24895 bool arg3
= (bool) false ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 PyObject
* obj2
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24905 if (SWIG_arg_fail(1)) SWIG_fail
;
24907 arg2
= (int)(SWIG_As_int(obj1
));
24908 if (SWIG_arg_fail(2)) SWIG_fail
;
24912 arg3
= (bool)(SWIG_As_bool(obj2
));
24913 if (SWIG_arg_fail(3)) SWIG_fail
;
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->SetItemSpacing(arg2
,arg3
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 Py_INCREF(Py_None
); resultobj
= Py_None
;
24930 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
;
24932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24934 PyObject
* obj0
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= SWIG_From_int((int)(result
));
24958 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24959 PyObject
*resultobj
;
24960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24962 PyObject
* obj0
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24969 if (SWIG_arg_fail(1)) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24978 wxColour
* resultptr
;
24979 resultptr
= new wxColour((wxColour
&)(result
));
24980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24988 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24991 wxColour
*arg2
= 0 ;
24993 PyObject
* obj0
= 0 ;
24994 PyObject
* obj1
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self",(char *) "col", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail
;
25004 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25008 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 Py_INCREF(Py_None
); resultobj
= Py_None
;
25020 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
;
25022 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25024 PyObject
* obj0
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25031 if (SWIG_arg_fail(1)) SWIG_fail
;
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25040 resultobj
= SWIG_From_long((long)(result
));
25048 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25052 bool arg3
= (bool) true ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 PyObject
* obj2
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self",(char *) "style",(char *) "add", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25062 if (SWIG_arg_fail(1)) SWIG_fail
;
25064 arg2
= (long)(SWIG_As_long(obj1
));
25065 if (SWIG_arg_fail(2)) SWIG_fail
;
25069 arg3
= (bool)(SWIG_As_bool(obj2
));
25070 if (SWIG_arg_fail(3)) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 (arg1
)->SetSingleStyle(arg2
,arg3
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 Py_INCREF(Py_None
); resultobj
= Py_None
;
25087 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self",(char *) "style", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25099 if (SWIG_arg_fail(1)) SWIG_fail
;
25101 arg2
= (long)(SWIG_As_long(obj1
));
25102 if (SWIG_arg_fail(2)) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 (arg1
)->SetWindowStyleFlag(arg2
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 Py_INCREF(Py_None
); resultobj
= Py_None
;
25118 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25122 int arg3
= (int) wxLIST_NEXT_ALL
;
25123 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25125 PyObject
* obj0
= 0 ;
25126 PyObject
* obj1
= 0 ;
25127 PyObject
* obj2
= 0 ;
25128 PyObject
* obj3
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25135 if (SWIG_arg_fail(1)) SWIG_fail
;
25137 arg2
= (long)(SWIG_As_long(obj1
));
25138 if (SWIG_arg_fail(2)) SWIG_fail
;
25142 arg3
= (int)(SWIG_As_int(obj2
));
25143 if (SWIG_arg_fail(3)) SWIG_fail
;
25148 arg4
= (int)(SWIG_As_int(obj3
));
25149 if (SWIG_arg_fail(4)) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= SWIG_From_long((long)(result
));
25168 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25172 wxImageList
*result
;
25173 PyObject
* obj0
= 0 ;
25174 PyObject
* obj1
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self",(char *) "which", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25181 if (SWIG_arg_fail(1)) SWIG_fail
;
25183 arg2
= (int)(SWIG_As_int(obj1
));
25184 if (SWIG_arg_fail(2)) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= wxPyMake_wxObject(result
, 0);
25202 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
;
25204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25205 wxImageList
*arg2
= (wxImageList
*) 0 ;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 PyObject
* obj2
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self",(char *) "imageList",(char *) "which", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25216 if (SWIG_arg_fail(1)) SWIG_fail
;
25217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25218 if (SWIG_arg_fail(2)) SWIG_fail
;
25220 arg3
= (int)(SWIG_As_int(obj2
));
25221 if (SWIG_arg_fail(3)) SWIG_fail
;
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 (arg1
)->SetImageList(arg2
,arg3
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 Py_INCREF(Py_None
); resultobj
= Py_None
;
25237 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25240 wxImageList
*arg2
= (wxImageList
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 PyObject
* obj2
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "imageList",(char *) "which", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25251 if (SWIG_arg_fail(1)) SWIG_fail
;
25252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25253 if (SWIG_arg_fail(2)) SWIG_fail
;
25255 arg3
= (int)(SWIG_As_int(obj2
));
25256 if (SWIG_arg_fail(3)) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->AssignImageList(arg2
,arg3
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 Py_INCREF(Py_None
); resultobj
= Py_None
;
25272 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25276 PyObject
* obj0
= 0 ;
25277 char *kwnames
[] = {
25278 (char *) "self", NULL
25281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25283 if (SWIG_arg_fail(1)) SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25300 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25304 PyObject
* obj0
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25311 if (SWIG_arg_fail(1)) SWIG_fail
;
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25328 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
;
25330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self",(char *) "item", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25340 if (SWIG_arg_fail(1)) SWIG_fail
;
25342 arg2
= (long)(SWIG_As_long(obj1
));
25343 if (SWIG_arg_fail(2)) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 (arg1
)->RefreshItem(arg2
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 Py_INCREF(Py_None
); resultobj
= Py_None
;
25359 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25364 PyObject
* obj0
= 0 ;
25365 PyObject
* obj1
= 0 ;
25366 PyObject
* obj2
= 0 ;
25367 char *kwnames
[] = {
25368 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25373 if (SWIG_arg_fail(1)) SWIG_fail
;
25375 arg2
= (long)(SWIG_As_long(obj1
));
25376 if (SWIG_arg_fail(2)) SWIG_fail
;
25379 arg3
= (long)(SWIG_As_long(obj2
));
25380 if (SWIG_arg_fail(3)) SWIG_fail
;
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 (arg1
)->RefreshItems(arg2
,arg3
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 Py_INCREF(Py_None
); resultobj
= Py_None
;
25396 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25399 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25401 PyObject
* obj0
= 0 ;
25402 PyObject
* obj1
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self",(char *) "flag", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25409 if (SWIG_arg_fail(1)) SWIG_fail
;
25412 arg2
= (int)(SWIG_As_int(obj1
));
25413 if (SWIG_arg_fail(2)) SWIG_fail
;
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 result
= (bool)(arg1
)->Arrange(arg2
);
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25432 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
;
25434 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 char *kwnames
[] = {
25440 (char *) "self",(char *) "item", NULL
25443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25445 if (SWIG_arg_fail(1)) SWIG_fail
;
25447 arg2
= (long)(SWIG_As_long(obj1
));
25448 if (SWIG_arg_fail(2)) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= (bool)(arg1
)->DeleteItem(arg2
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25466 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25470 PyObject
* obj0
= 0 ;
25471 char *kwnames
[] = {
25472 (char *) "self", NULL
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail
;
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= (bool)(arg1
)->DeleteAllItems();
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25494 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25499 PyObject
* obj0
= 0 ;
25500 PyObject
* obj1
= 0 ;
25501 char *kwnames
[] = {
25502 (char *) "self",(char *) "col", NULL
25505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25507 if (SWIG_arg_fail(1)) SWIG_fail
;
25509 arg2
= (int)(SWIG_As_int(obj1
));
25510 if (SWIG_arg_fail(2)) SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25528 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
;
25530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25532 PyObject
* obj0
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "self", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25539 if (SWIG_arg_fail(1)) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 result
= (bool)(arg1
)->DeleteAllColumns();
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25556 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25559 PyObject
* obj0
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 (arg1
)->ClearAll();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 Py_INCREF(Py_None
); resultobj
= Py_None
;
25581 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25585 PyObject
* obj0
= 0 ;
25586 PyObject
* obj1
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self",(char *) "item", NULL
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25593 if (SWIG_arg_fail(1)) SWIG_fail
;
25595 arg2
= (long)(SWIG_As_long(obj1
));
25596 if (SWIG_arg_fail(2)) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 (arg1
)->EditLabel(arg2
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 Py_INCREF(Py_None
); resultobj
= Py_None
;
25612 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self",(char *) "item", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail
;
25627 arg2
= (long)(SWIG_As_long(obj1
));
25628 if (SWIG_arg_fail(2)) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25646 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25650 wxString
*arg3
= 0 ;
25651 bool arg4
= (bool) false ;
25653 bool temp3
= false ;
25654 PyObject
* obj0
= 0 ;
25655 PyObject
* obj1
= 0 ;
25656 PyObject
* obj2
= 0 ;
25657 PyObject
* obj3
= 0 ;
25658 char *kwnames
[] = {
25659 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25664 if (SWIG_arg_fail(1)) SWIG_fail
;
25666 arg2
= (long)(SWIG_As_long(obj1
));
25667 if (SWIG_arg_fail(2)) SWIG_fail
;
25670 arg3
= wxString_in_helper(obj2
);
25671 if (arg3
== NULL
) SWIG_fail
;
25676 arg4
= (bool)(SWIG_As_bool(obj3
));
25677 if (SWIG_arg_fail(4)) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_From_long((long)(result
));
25704 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 PyObject
* obj2
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "start",(char *) "data", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25719 if (SWIG_arg_fail(1)) SWIG_fail
;
25721 arg2
= (long)(SWIG_As_long(obj1
));
25722 if (SWIG_arg_fail(2)) SWIG_fail
;
25725 arg3
= (long)(SWIG_As_long(obj2
));
25726 if (SWIG_arg_fail(3)) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_From_long((long)(result
));
25744 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25748 wxPoint
*arg3
= 0 ;
25752 PyObject
* obj0
= 0 ;
25753 PyObject
* obj1
= 0 ;
25754 PyObject
* obj2
= 0 ;
25755 PyObject
* obj3
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail
;
25764 arg2
= (long)(SWIG_As_long(obj1
));
25765 if (SWIG_arg_fail(2)) SWIG_fail
;
25769 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25772 arg4
= (int)(SWIG_As_int(obj3
));
25773 if (SWIG_arg_fail(4)) SWIG_fail
;
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= SWIG_From_long((long)(result
));
25791 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25792 PyObject
*resultobj
;
25793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25794 wxPoint
*arg2
= 0 ;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "self",(char *) "point", NULL
25806 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25809 if (SWIG_arg_fail(1)) SWIG_fail
;
25812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_From_long((long)(result
));
25824 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25825 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25832 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25835 wxListItem
*arg2
= 0 ;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "self",(char *) "info", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25845 if (SWIG_arg_fail(1)) SWIG_fail
;
25847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25848 if (SWIG_arg_fail(2)) SWIG_fail
;
25849 if (arg2
== NULL
) {
25850 SWIG_null_ref("wxListItem");
25852 if (SWIG_arg_fail(2)) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= (long)(arg1
)->InsertItem(*arg2
);
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_From_long((long)(result
));
25870 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25871 PyObject
*resultobj
;
25872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25874 wxString
*arg3
= 0 ;
25876 bool temp3
= false ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 PyObject
* obj2
= 0 ;
25880 char *kwnames
[] = {
25881 (char *) "self",(char *) "index",(char *) "label", NULL
25884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25886 if (SWIG_arg_fail(1)) SWIG_fail
;
25888 arg2
= (long)(SWIG_As_long(obj1
));
25889 if (SWIG_arg_fail(2)) SWIG_fail
;
25892 arg3
= wxString_in_helper(obj2
);
25893 if (arg3
== NULL
) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 resultobj
= SWIG_From_long((long)(result
));
25920 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25926 PyObject
* obj0
= 0 ;
25927 PyObject
* obj1
= 0 ;
25928 PyObject
* obj2
= 0 ;
25929 char *kwnames
[] = {
25930 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25935 if (SWIG_arg_fail(1)) SWIG_fail
;
25937 arg2
= (long)(SWIG_As_long(obj1
));
25938 if (SWIG_arg_fail(2)) SWIG_fail
;
25941 arg3
= (int)(SWIG_As_int(obj2
));
25942 if (SWIG_arg_fail(3)) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= SWIG_From_long((long)(result
));
25960 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
;
25962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25964 wxString
*arg3
= 0 ;
25967 bool temp3
= false ;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 PyObject
* obj2
= 0 ;
25971 PyObject
* obj3
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25978 if (SWIG_arg_fail(1)) SWIG_fail
;
25980 arg2
= (long)(SWIG_As_long(obj1
));
25981 if (SWIG_arg_fail(2)) SWIG_fail
;
25984 arg3
= wxString_in_helper(obj2
);
25985 if (arg3
== NULL
) SWIG_fail
;
25989 arg4
= (int)(SWIG_As_int(obj3
));
25990 if (SWIG_arg_fail(4)) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
26000 resultobj
= SWIG_From_long((long)(result
));
26016 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26020 wxListItem
*arg3
= 0 ;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 PyObject
* obj2
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "col",(char *) "info", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26031 if (SWIG_arg_fail(1)) SWIG_fail
;
26033 arg2
= (long)(SWIG_As_long(obj1
));
26034 if (SWIG_arg_fail(2)) SWIG_fail
;
26037 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26038 if (SWIG_arg_fail(3)) SWIG_fail
;
26039 if (arg3
== NULL
) {
26040 SWIG_null_ref("wxListItem");
26042 if (SWIG_arg_fail(3)) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= SWIG_From_long((long)(result
));
26060 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26064 wxString
*arg3
= 0 ;
26065 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26066 int arg5
= (int) -1 ;
26068 bool temp3
= false ;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 PyObject
* obj2
= 0 ;
26072 PyObject
* obj3
= 0 ;
26073 PyObject
* obj4
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26080 if (SWIG_arg_fail(1)) SWIG_fail
;
26082 arg2
= (long)(SWIG_As_long(obj1
));
26083 if (SWIG_arg_fail(2)) SWIG_fail
;
26086 arg3
= wxString_in_helper(obj2
);
26087 if (arg3
== NULL
) SWIG_fail
;
26092 arg4
= (int)(SWIG_As_int(obj3
));
26093 if (SWIG_arg_fail(4)) SWIG_fail
;
26098 arg5
= (int)(SWIG_As_int(obj4
));
26099 if (SWIG_arg_fail(5)) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_From_long((long)(result
));
26126 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26130 PyObject
* obj0
= 0 ;
26131 PyObject
* obj1
= 0 ;
26132 char *kwnames
[] = {
26133 (char *) "self",(char *) "count", NULL
26136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26138 if (SWIG_arg_fail(1)) SWIG_fail
;
26140 arg2
= (long)(SWIG_As_long(obj1
));
26141 if (SWIG_arg_fail(2)) SWIG_fail
;
26144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26145 (arg1
)->SetItemCount(arg2
);
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26150 Py_INCREF(Py_None
); resultobj
= Py_None
;
26157 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26158 PyObject
*resultobj
;
26159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26163 PyObject
* obj0
= 0 ;
26164 PyObject
* obj1
= 0 ;
26165 PyObject
* obj2
= 0 ;
26166 char *kwnames
[] = {
26167 (char *) "self",(char *) "dx",(char *) "dy", NULL
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26172 if (SWIG_arg_fail(1)) SWIG_fail
;
26174 arg2
= (int)(SWIG_As_int(obj1
));
26175 if (SWIG_arg_fail(2)) SWIG_fail
;
26178 arg3
= (int)(SWIG_As_int(obj2
));
26179 if (SWIG_arg_fail(3)) SWIG_fail
;
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26197 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26201 wxColour
*arg3
= 0 ;
26203 PyObject
* obj0
= 0 ;
26204 PyObject
* obj1
= 0 ;
26205 PyObject
* obj2
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self",(char *) "item",(char *) "col", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail
;
26214 arg2
= (long)(SWIG_As_long(obj1
));
26215 if (SWIG_arg_fail(2)) SWIG_fail
;
26219 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 Py_INCREF(Py_None
); resultobj
= Py_None
;
26235 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self",(char *) "item", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26248 if (SWIG_arg_fail(1)) SWIG_fail
;
26250 arg2
= (long)(SWIG_As_long(obj1
));
26251 if (SWIG_arg_fail(2)) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26261 wxColour
* resultptr
;
26262 resultptr
= new wxColour((wxColour
&)(result
));
26263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26271 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26275 wxColour
*arg3
= 0 ;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj1
= 0 ;
26279 PyObject
* obj2
= 0 ;
26280 char *kwnames
[] = {
26281 (char *) "self",(char *) "item",(char *) "col", NULL
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26286 if (SWIG_arg_fail(1)) SWIG_fail
;
26288 arg2
= (long)(SWIG_As_long(obj1
));
26289 if (SWIG_arg_fail(2)) SWIG_fail
;
26293 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26302 Py_INCREF(Py_None
); resultobj
= Py_None
;
26309 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
;
26311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26314 PyObject
* obj0
= 0 ;
26315 PyObject
* obj1
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self",(char *) "item", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail
;
26324 arg2
= (long)(SWIG_As_long(obj1
));
26325 if (SWIG_arg_fail(2)) SWIG_fail
;
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26335 wxColour
* resultptr
;
26336 resultptr
= new wxColour((wxColour
&)(result
));
26337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26345 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26348 PyObject
*arg2
= (PyObject
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "func", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26358 if (SWIG_arg_fail(1)) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26376 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
;
26378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26380 PyObject
* obj0
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26387 if (SWIG_arg_fail(1)) SWIG_fail
;
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= wxPyMake_wxObject(result
, 0);
26404 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26407 wxVisualAttributes result
;
26408 PyObject
* obj0
= 0 ;
26409 char *kwnames
[] = {
26410 (char *) "variant", NULL
26413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26416 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26417 if (SWIG_arg_fail(1)) SWIG_fail
;
26421 if (!wxPyCheckForApp()) SWIG_fail
;
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26429 wxVisualAttributes
* resultptr
;
26430 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26439 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26442 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26444 return Py_BuildValue((char *)"");
26446 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
;
26448 wxWindow
*arg1
= (wxWindow
*) 0 ;
26449 int arg2
= (int) -1 ;
26450 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26451 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26452 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26453 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26454 long arg5
= (long) wxLC_REPORT
;
26455 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26456 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26457 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26458 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26459 wxListView
*result
;
26462 bool temp7
= false ;
26463 PyObject
* obj0
= 0 ;
26464 PyObject
* obj1
= 0 ;
26465 PyObject
* obj2
= 0 ;
26466 PyObject
* obj3
= 0 ;
26467 PyObject
* obj4
= 0 ;
26468 PyObject
* obj5
= 0 ;
26469 PyObject
* obj6
= 0 ;
26470 char *kwnames
[] = {
26471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26476 if (SWIG_arg_fail(1)) SWIG_fail
;
26479 arg2
= (int)(SWIG_As_int(obj1
));
26480 if (SWIG_arg_fail(2)) SWIG_fail
;
26486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26492 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26497 arg5
= (long)(SWIG_As_long(obj4
));
26498 if (SWIG_arg_fail(5)) SWIG_fail
;
26503 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26504 if (SWIG_arg_fail(6)) SWIG_fail
;
26505 if (arg6
== NULL
) {
26506 SWIG_null_ref("wxValidator");
26508 if (SWIG_arg_fail(6)) SWIG_fail
;
26513 arg7
= wxString_in_helper(obj6
);
26514 if (arg7
== NULL
) SWIG_fail
;
26519 if (!wxPyCheckForApp()) SWIG_fail
;
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26541 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxListView
*result
;
26544 char *kwnames
[] = {
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26550 if (!wxPyCheckForApp()) SWIG_fail
;
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 result
= (wxListView
*)new wxListView();
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26564 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxListView
*arg1
= (wxListView
*) 0 ;
26567 wxWindow
*arg2
= (wxWindow
*) 0 ;
26568 int arg3
= (int) -1 ;
26569 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26570 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26571 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26572 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26573 long arg6
= (long) wxLC_REPORT
;
26574 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26575 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26576 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26577 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26581 bool temp8
= false ;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 PyObject
* obj2
= 0 ;
26585 PyObject
* obj3
= 0 ;
26586 PyObject
* obj4
= 0 ;
26587 PyObject
* obj5
= 0 ;
26588 PyObject
* obj6
= 0 ;
26589 PyObject
* obj7
= 0 ;
26590 char *kwnames
[] = {
26591 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26596 if (SWIG_arg_fail(1)) SWIG_fail
;
26597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26598 if (SWIG_arg_fail(2)) SWIG_fail
;
26601 arg3
= (int)(SWIG_As_int(obj2
));
26602 if (SWIG_arg_fail(3)) SWIG_fail
;
26608 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26614 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26619 arg6
= (long)(SWIG_As_long(obj5
));
26620 if (SWIG_arg_fail(6)) SWIG_fail
;
26625 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26626 if (SWIG_arg_fail(7)) SWIG_fail
;
26627 if (arg7
== NULL
) {
26628 SWIG_null_ref("wxValidator");
26630 if (SWIG_arg_fail(7)) SWIG_fail
;
26635 arg8
= wxString_in_helper(obj7
);
26636 if (arg8
== NULL
) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26664 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
;
26666 wxListView
*arg1
= (wxListView
*) 0 ;
26668 bool arg3
= (bool) true ;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 PyObject
* obj2
= 0 ;
26672 char *kwnames
[] = {
26673 (char *) "self",(char *) "n",(char *) "on", NULL
26676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26678 if (SWIG_arg_fail(1)) SWIG_fail
;
26680 arg2
= (long)(SWIG_As_long(obj1
));
26681 if (SWIG_arg_fail(2)) SWIG_fail
;
26685 arg3
= (bool)(SWIG_As_bool(obj2
));
26686 if (SWIG_arg_fail(3)) SWIG_fail
;
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 (arg1
)->Select(arg2
,arg3
);
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 Py_INCREF(Py_None
); resultobj
= Py_None
;
26703 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxListView
*arg1
= (wxListView
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 PyObject
* obj1
= 0 ;
26709 char *kwnames
[] = {
26710 (char *) "self",(char *) "index", NULL
26713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26715 if (SWIG_arg_fail(1)) SWIG_fail
;
26717 arg2
= (long)(SWIG_As_long(obj1
));
26718 if (SWIG_arg_fail(2)) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 (arg1
)->Focus(arg2
);
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26727 Py_INCREF(Py_None
); resultobj
= Py_None
;
26734 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26735 PyObject
*resultobj
;
26736 wxListView
*arg1
= (wxListView
*) 0 ;
26738 PyObject
* obj0
= 0 ;
26739 char *kwnames
[] = {
26740 (char *) "self", NULL
26743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26745 if (SWIG_arg_fail(1)) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= SWIG_From_long((long)(result
));
26762 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
;
26764 wxListView
*arg1
= (wxListView
*) 0 ;
26767 PyObject
* obj0
= 0 ;
26768 PyObject
* obj1
= 0 ;
26769 char *kwnames
[] = {
26770 (char *) "self",(char *) "item", NULL
26773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26775 if (SWIG_arg_fail(1)) SWIG_fail
;
26777 arg2
= (long)(SWIG_As_long(obj1
));
26778 if (SWIG_arg_fail(2)) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26788 resultobj
= SWIG_From_long((long)(result
));
26796 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
;
26798 wxListView
*arg1
= (wxListView
*) 0 ;
26800 PyObject
* obj0
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26807 if (SWIG_arg_fail(1)) SWIG_fail
;
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_From_long((long)(result
));
26824 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26825 PyObject
*resultobj
;
26826 wxListView
*arg1
= (wxListView
*) 0 ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 char *kwnames
[] = {
26832 (char *) "self",(char *) "index", NULL
26835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26837 if (SWIG_arg_fail(1)) SWIG_fail
;
26839 arg2
= (long)(SWIG_As_long(obj1
));
26840 if (SWIG_arg_fail(2)) SWIG_fail
;
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 result
= (bool)(arg1
)->IsSelected(arg2
);
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26858 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
;
26860 wxListView
*arg1
= (wxListView
*) 0 ;
26863 PyObject
* obj0
= 0 ;
26864 PyObject
* obj1
= 0 ;
26865 PyObject
* obj2
= 0 ;
26866 char *kwnames
[] = {
26867 (char *) "self",(char *) "col",(char *) "image", NULL
26870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26872 if (SWIG_arg_fail(1)) SWIG_fail
;
26874 arg2
= (int)(SWIG_As_int(obj1
));
26875 if (SWIG_arg_fail(2)) SWIG_fail
;
26878 arg3
= (int)(SWIG_As_int(obj2
));
26879 if (SWIG_arg_fail(3)) SWIG_fail
;
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 (arg1
)->SetColumnImage(arg2
,arg3
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 Py_INCREF(Py_None
); resultobj
= Py_None
;
26895 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
;
26897 wxListView
*arg1
= (wxListView
*) 0 ;
26899 PyObject
* obj0
= 0 ;
26900 PyObject
* obj1
= 0 ;
26901 char *kwnames
[] = {
26902 (char *) "self",(char *) "col", NULL
26905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26907 if (SWIG_arg_fail(1)) SWIG_fail
;
26909 arg2
= (int)(SWIG_As_int(obj1
));
26910 if (SWIG_arg_fail(2)) SWIG_fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 (arg1
)->ClearColumnImage(arg2
);
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 Py_INCREF(Py_None
); resultobj
= Py_None
;
26926 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26929 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26931 return Py_BuildValue((char *)"");
26933 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26934 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26939 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26944 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26946 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26953 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxTreeItemId
*result
;
26956 char *kwnames
[] = {
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= (wxTreeItemId
*)new wxTreeItemId();
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
26975 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
26984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26985 if (SWIG_arg_fail(1)) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 Py_INCREF(Py_None
); resultobj
= Py_None
;
27000 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
;
27002 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27004 PyObject
* obj0
= 0 ;
27005 char *kwnames
[] = {
27006 (char *) "self", NULL
27009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27011 if (SWIG_arg_fail(1)) SWIG_fail
;
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27016 wxPyEndAllowThreads(__tstate
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27028 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
;
27030 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27031 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 PyObject
* obj1
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self",(char *) "other", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27041 if (SWIG_arg_fail(1)) SWIG_fail
;
27042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27043 if (SWIG_arg_fail(2)) SWIG_fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27060 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27063 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self",(char *) "other", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27073 if (SWIG_arg_fail(1)) SWIG_fail
;
27074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27075 if (SWIG_arg_fail(2)) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27092 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
;
27094 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27095 void *arg2
= (void *) 0 ;
27096 PyObject
* obj0
= 0 ;
27097 PyObject
* obj1
= 0 ;
27098 char *kwnames
[] = {
27099 (char *) "self",(char *) "m_pItem", NULL
27102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27104 if (SWIG_arg_fail(1)) SWIG_fail
;
27106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27107 SWIG_arg_fail(2);SWIG_fail
;
27110 if (arg1
) (arg1
)->m_pItem
= arg2
;
27112 Py_INCREF(Py_None
); resultobj
= Py_None
;
27119 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
;
27121 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27123 PyObject
* obj0
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "self", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27130 if (SWIG_arg_fail(1)) SWIG_fail
;
27131 result
= (void *) ((arg1
)->m_pItem
);
27133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27140 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27143 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27145 return Py_BuildValue((char *)"");
27147 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
;
27149 PyObject
*arg1
= (PyObject
*) NULL
;
27150 wxPyTreeItemData
*result
;
27151 PyObject
* obj0
= 0 ;
27152 char *kwnames
[] = {
27153 (char *) "obj", NULL
27156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27174 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
;
27176 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27178 PyObject
* obj0
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27185 if (SWIG_arg_fail(1)) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (PyObject
*)(arg1
)->GetData();
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= result
;
27200 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27203 PyObject
*arg2
= (PyObject
*) 0 ;
27204 PyObject
* obj0
= 0 ;
27205 PyObject
* obj1
= 0 ;
27206 char *kwnames
[] = {
27207 (char *) "self",(char *) "obj", NULL
27210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27212 if (SWIG_arg_fail(1)) SWIG_fail
;
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 (arg1
)->SetData(arg2
);
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 Py_INCREF(Py_None
); resultobj
= Py_None
;
27228 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
;
27230 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27231 wxTreeItemId
*result
;
27232 PyObject
* obj0
= 0 ;
27233 char *kwnames
[] = {
27234 (char *) "self", NULL
27237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27239 if (SWIG_arg_fail(1)) SWIG_fail
;
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27244 result
= (wxTreeItemId
*) &_result_ref
;
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27257 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27260 wxTreeItemId
*arg2
= 0 ;
27261 PyObject
* obj0
= 0 ;
27262 PyObject
* obj1
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self",(char *) "id", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27269 if (SWIG_arg_fail(1)) SWIG_fail
;
27271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27272 if (SWIG_arg_fail(2)) SWIG_fail
;
27273 if (arg2
== NULL
) {
27274 SWIG_null_ref("wxTreeItemId");
27276 if (SWIG_arg_fail(2)) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 Py_INCREF(Py_None
); resultobj
= Py_None
;
27292 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27295 PyObject
* obj0
= 0 ;
27296 char *kwnames
[] = {
27297 (char *) "self", NULL
27300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27302 if (SWIG_arg_fail(1)) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 wxPyTreeItemData_Destroy(arg1
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 Py_INCREF(Py_None
); resultobj
= Py_None
;
27317 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27320 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27322 return Py_BuildValue((char *)"");
27324 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
;
27326 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27327 int arg2
= (int) 0 ;
27328 wxTreeEvent
*result
;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "commandType",(char *) "id", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27338 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27339 if (SWIG_arg_fail(1)) SWIG_fail
;
27344 arg2
= (int)(SWIG_As_int(obj1
));
27345 if (SWIG_arg_fail(2)) SWIG_fail
;
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27362 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27365 wxTreeItemId result
;
27366 PyObject
* obj0
= 0 ;
27367 char *kwnames
[] = {
27368 (char *) "self", NULL
27371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27373 if (SWIG_arg_fail(1)) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27382 wxTreeItemId
* resultptr
;
27383 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27392 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
;
27394 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27395 wxTreeItemId
*arg2
= 0 ;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self",(char *) "item", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27404 if (SWIG_arg_fail(1)) SWIG_fail
;
27406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27407 if (SWIG_arg_fail(2)) SWIG_fail
;
27408 if (arg2
== NULL
) {
27409 SWIG_null_ref("wxTreeItemId");
27411 if (SWIG_arg_fail(2)) SWIG_fail
;
27414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 Py_INCREF(Py_None
); resultobj
= Py_None
;
27427 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
;
27429 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27430 wxTreeItemId result
;
27431 PyObject
* obj0
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27438 if (SWIG_arg_fail(1)) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27447 wxTreeItemId
* resultptr
;
27448 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27457 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
;
27459 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27460 wxTreeItemId
*arg2
= 0 ;
27461 PyObject
* obj0
= 0 ;
27462 PyObject
* obj1
= 0 ;
27463 char *kwnames
[] = {
27464 (char *) "self",(char *) "item", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27469 if (SWIG_arg_fail(1)) SWIG_fail
;
27471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27472 if (SWIG_arg_fail(2)) SWIG_fail
;
27473 if (arg2
== NULL
) {
27474 SWIG_null_ref("wxTreeItemId");
27476 if (SWIG_arg_fail(2)) SWIG_fail
;
27479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27480 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27485 Py_INCREF(Py_None
); resultobj
= Py_None
;
27492 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27496 PyObject
* obj0
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27503 if (SWIG_arg_fail(1)) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27512 wxPoint
* resultptr
;
27513 resultptr
= new wxPoint((wxPoint
&)(result
));
27514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27522 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27525 wxPoint
*arg2
= 0 ;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 char *kwnames
[] = {
27530 (char *) "self",(char *) "pt", NULL
27533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27535 if (SWIG_arg_fail(1)) SWIG_fail
;
27538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 Py_INCREF(Py_None
); resultobj
= Py_None
;
27554 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27557 wxKeyEvent
*result
;
27558 PyObject
* obj0
= 0 ;
27559 char *kwnames
[] = {
27560 (char *) "self", NULL
27563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27565 if (SWIG_arg_fail(1)) SWIG_fail
;
27567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27569 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27570 result
= (wxKeyEvent
*) &_result_ref
;
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27583 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27584 PyObject
*resultobj
;
27585 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27587 PyObject
* obj0
= 0 ;
27588 char *kwnames
[] = {
27589 (char *) "self", NULL
27592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27594 if (SWIG_arg_fail(1)) SWIG_fail
;
27596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27597 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27603 resultobj
= SWIG_From_int((int)(result
));
27611 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
;
27613 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27614 wxKeyEvent
*arg2
= 0 ;
27615 PyObject
* obj0
= 0 ;
27616 PyObject
* obj1
= 0 ;
27617 char *kwnames
[] = {
27618 (char *) "self",(char *) "evt", NULL
27621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27623 if (SWIG_arg_fail(1)) SWIG_fail
;
27625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27626 if (SWIG_arg_fail(2)) SWIG_fail
;
27627 if (arg2
== NULL
) {
27628 SWIG_null_ref("wxKeyEvent");
27630 if (SWIG_arg_fail(2)) SWIG_fail
;
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27639 Py_INCREF(Py_None
); resultobj
= Py_None
;
27646 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27647 PyObject
*resultobj
;
27648 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27650 PyObject
* obj0
= 0 ;
27651 char *kwnames
[] = {
27652 (char *) "self", NULL
27655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27657 if (SWIG_arg_fail(1)) SWIG_fail
;
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27662 result
= (wxString
*) &_result_ref
;
27665 wxPyEndAllowThreads(__tstate
);
27666 if (PyErr_Occurred()) SWIG_fail
;
27670 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27672 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27681 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
;
27683 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27684 wxString
*arg2
= 0 ;
27685 bool temp2
= false ;
27686 PyObject
* obj0
= 0 ;
27687 PyObject
* obj1
= 0 ;
27688 char *kwnames
[] = {
27689 (char *) "self",(char *) "label", NULL
27692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27694 if (SWIG_arg_fail(1)) SWIG_fail
;
27696 arg2
= wxString_in_helper(obj1
);
27697 if (arg2
== NULL
) SWIG_fail
;
27701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27702 (arg1
)->SetLabel((wxString
const &)*arg2
);
27704 wxPyEndAllowThreads(__tstate
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27707 Py_INCREF(Py_None
); resultobj
= Py_None
;
27722 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
;
27724 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27726 PyObject
* obj0
= 0 ;
27727 char *kwnames
[] = {
27728 (char *) "self", NULL
27731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27733 if (SWIG_arg_fail(1)) SWIG_fail
;
27735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27738 wxPyEndAllowThreads(__tstate
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27750 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27751 PyObject
*resultobj
;
27752 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27754 PyObject
* obj0
= 0 ;
27755 PyObject
* obj1
= 0 ;
27756 char *kwnames
[] = {
27757 (char *) "self",(char *) "editCancelled", NULL
27760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27762 if (SWIG_arg_fail(1)) SWIG_fail
;
27764 arg2
= (bool)(SWIG_As_bool(obj1
));
27765 if (SWIG_arg_fail(2)) SWIG_fail
;
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 (arg1
)->SetEditCanceled(arg2
);
27771 wxPyEndAllowThreads(__tstate
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27774 Py_INCREF(Py_None
); resultobj
= Py_None
;
27781 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27784 wxString
*arg2
= 0 ;
27785 bool temp2
= false ;
27786 PyObject
* obj0
= 0 ;
27787 PyObject
* obj1
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self",(char *) "toolTip", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27794 if (SWIG_arg_fail(1)) SWIG_fail
;
27796 arg2
= wxString_in_helper(obj1
);
27797 if (arg2
== NULL
) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27807 Py_INCREF(Py_None
); resultobj
= Py_None
;
27822 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27825 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27827 return Py_BuildValue((char *)"");
27829 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxWindow
*arg1
= (wxWindow
*) 0 ;
27832 int arg2
= (int) -1 ;
27833 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27834 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27835 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27836 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27837 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27838 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27839 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27840 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27841 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27842 wxPyTreeCtrl
*result
;
27845 bool temp7
= false ;
27846 PyObject
* obj0
= 0 ;
27847 PyObject
* obj1
= 0 ;
27848 PyObject
* obj2
= 0 ;
27849 PyObject
* obj3
= 0 ;
27850 PyObject
* obj4
= 0 ;
27851 PyObject
* obj5
= 0 ;
27852 PyObject
* obj6
= 0 ;
27853 char *kwnames
[] = {
27854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27859 if (SWIG_arg_fail(1)) SWIG_fail
;
27862 arg2
= (int)(SWIG_As_int(obj1
));
27863 if (SWIG_arg_fail(2)) SWIG_fail
;
27869 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27875 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27880 arg5
= (long)(SWIG_As_long(obj4
));
27881 if (SWIG_arg_fail(5)) SWIG_fail
;
27886 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27887 if (SWIG_arg_fail(6)) SWIG_fail
;
27888 if (arg6
== NULL
) {
27889 SWIG_null_ref("wxValidator");
27891 if (SWIG_arg_fail(6)) SWIG_fail
;
27896 arg7
= wxString_in_helper(obj6
);
27897 if (arg7
== NULL
) SWIG_fail
;
27902 if (!wxPyCheckForApp()) SWIG_fail
;
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27924 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27925 PyObject
*resultobj
;
27926 wxPyTreeCtrl
*result
;
27927 char *kwnames
[] = {
27931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
27933 if (!wxPyCheckForApp()) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
27937 wxPyEndAllowThreads(__tstate
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27947 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27948 PyObject
*resultobj
;
27949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27950 wxWindow
*arg2
= (wxWindow
*) 0 ;
27951 int arg3
= (int) -1 ;
27952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27956 long arg6
= (long) wxTR_DEFAULT_STYLE
;
27957 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
27958 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
27959 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
27960 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27964 bool temp8
= false ;
27965 PyObject
* obj0
= 0 ;
27966 PyObject
* obj1
= 0 ;
27967 PyObject
* obj2
= 0 ;
27968 PyObject
* obj3
= 0 ;
27969 PyObject
* obj4
= 0 ;
27970 PyObject
* obj5
= 0 ;
27971 PyObject
* obj6
= 0 ;
27972 PyObject
* obj7
= 0 ;
27973 char *kwnames
[] = {
27974 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
27978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27979 if (SWIG_arg_fail(1)) SWIG_fail
;
27980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27981 if (SWIG_arg_fail(2)) SWIG_fail
;
27984 arg3
= (int)(SWIG_As_int(obj2
));
27985 if (SWIG_arg_fail(3)) SWIG_fail
;
27991 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27997 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28002 arg6
= (long)(SWIG_As_long(obj5
));
28003 if (SWIG_arg_fail(6)) SWIG_fail
;
28008 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28009 if (SWIG_arg_fail(7)) SWIG_fail
;
28010 if (arg7
== NULL
) {
28011 SWIG_null_ref("wxValidator");
28013 if (SWIG_arg_fail(7)) SWIG_fail
;
28018 arg8
= wxString_in_helper(obj7
);
28019 if (arg8
== NULL
) SWIG_fail
;
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28047 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
;
28049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28050 PyObject
*arg2
= (PyObject
*) 0 ;
28051 PyObject
*arg3
= (PyObject
*) 0 ;
28052 PyObject
* obj0
= 0 ;
28053 PyObject
* obj1
= 0 ;
28054 PyObject
* obj2
= 0 ;
28055 char *kwnames
[] = {
28056 (char *) "self",(char *) "self",(char *) "_class", NULL
28059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28061 if (SWIG_arg_fail(1)) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 Py_INCREF(Py_None
); resultobj
= Py_None
;
28078 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
;
28080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28082 PyObject
* obj0
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "self", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28089 if (SWIG_arg_fail(1)) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28098 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28106 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28107 PyObject
*resultobj
;
28108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28109 unsigned int result
;
28110 PyObject
* obj0
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "self", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28117 if (SWIG_arg_fail(1)) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28134 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28137 unsigned int arg2
;
28138 PyObject
* obj0
= 0 ;
28139 PyObject
* obj1
= 0 ;
28140 char *kwnames
[] = {
28141 (char *) "self",(char *) "indent", NULL
28144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28146 if (SWIG_arg_fail(1)) SWIG_fail
;
28148 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28149 if (SWIG_arg_fail(2)) SWIG_fail
;
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 (arg1
)->SetIndent(arg2
);
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 Py_INCREF(Py_None
); resultobj
= Py_None
;
28165 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
;
28167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28168 unsigned int result
;
28169 PyObject
* obj0
= 0 ;
28170 char *kwnames
[] = {
28171 (char *) "self", NULL
28174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28176 if (SWIG_arg_fail(1)) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28193 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
;
28195 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28196 unsigned int arg2
;
28197 PyObject
* obj0
= 0 ;
28198 PyObject
* obj1
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self",(char *) "spacing", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28205 if (SWIG_arg_fail(1)) SWIG_fail
;
28207 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28208 if (SWIG_arg_fail(2)) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 (arg1
)->SetSpacing(arg2
);
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28217 Py_INCREF(Py_None
); resultobj
= Py_None
;
28224 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
;
28226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28227 wxImageList
*result
;
28228 PyObject
* obj0
= 0 ;
28229 char *kwnames
[] = {
28230 (char *) "self", NULL
28233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28235 if (SWIG_arg_fail(1)) SWIG_fail
;
28237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28244 resultobj
= wxPyMake_wxObject(result
, 0);
28252 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28253 PyObject
*resultobj
;
28254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28255 wxImageList
*result
;
28256 PyObject
* obj0
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28263 if (SWIG_arg_fail(1)) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28272 resultobj
= wxPyMake_wxObject(result
, 0);
28280 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28281 PyObject
*resultobj
;
28282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28283 wxImageList
*arg2
= (wxImageList
*) 0 ;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self",(char *) "imageList", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28292 if (SWIG_arg_fail(1)) SWIG_fail
;
28293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28294 if (SWIG_arg_fail(2)) SWIG_fail
;
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 (arg1
)->SetImageList(arg2
);
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 Py_INCREF(Py_None
); resultobj
= Py_None
;
28309 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28312 wxImageList
*arg2
= (wxImageList
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 PyObject
* obj1
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "self",(char *) "imageList", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28321 if (SWIG_arg_fail(1)) SWIG_fail
;
28322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28323 if (SWIG_arg_fail(2)) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 (arg1
)->SetStateImageList(arg2
);
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28331 Py_INCREF(Py_None
); resultobj
= Py_None
;
28338 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28339 PyObject
*resultobj
;
28340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28341 wxImageList
*arg2
= (wxImageList
*) 0 ;
28342 PyObject
* obj0
= 0 ;
28343 PyObject
* obj1
= 0 ;
28344 char *kwnames
[] = {
28345 (char *) "self",(char *) "imageList", NULL
28348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28350 if (SWIG_arg_fail(1)) SWIG_fail
;
28351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28352 if (SWIG_arg_fail(2)) SWIG_fail
;
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 (arg1
)->AssignImageList(arg2
);
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28360 Py_INCREF(Py_None
); resultobj
= Py_None
;
28367 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28370 wxImageList
*arg2
= (wxImageList
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 PyObject
* obj1
= 0 ;
28373 char *kwnames
[] = {
28374 (char *) "self",(char *) "imageList", NULL
28377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28379 if (SWIG_arg_fail(1)) SWIG_fail
;
28380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28381 if (SWIG_arg_fail(2)) SWIG_fail
;
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 (arg1
)->AssignStateImageList(arg2
);
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28389 Py_INCREF(Py_None
); resultobj
= Py_None
;
28396 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
;
28398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28399 wxTreeItemId
*arg2
= 0 ;
28401 PyObject
* obj0
= 0 ;
28402 PyObject
* obj1
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self",(char *) "item", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28409 if (SWIG_arg_fail(1)) SWIG_fail
;
28411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28412 if (SWIG_arg_fail(2)) SWIG_fail
;
28413 if (arg2
== NULL
) {
28414 SWIG_null_ref("wxTreeItemId");
28416 if (SWIG_arg_fail(2)) SWIG_fail
;
28419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28420 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28422 wxPyEndAllowThreads(__tstate
);
28423 if (PyErr_Occurred()) SWIG_fail
;
28427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28438 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
;
28440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28441 wxTreeItemId
*arg2
= 0 ;
28442 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28444 PyObject
* obj0
= 0 ;
28445 PyObject
* obj1
= 0 ;
28446 PyObject
* obj2
= 0 ;
28447 char *kwnames
[] = {
28448 (char *) "self",(char *) "item",(char *) "which", NULL
28451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28453 if (SWIG_arg_fail(1)) SWIG_fail
;
28455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28456 if (SWIG_arg_fail(2)) SWIG_fail
;
28457 if (arg2
== NULL
) {
28458 SWIG_null_ref("wxTreeItemId");
28460 if (SWIG_arg_fail(2)) SWIG_fail
;
28464 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28465 if (SWIG_arg_fail(3)) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= SWIG_From_int((int)(result
));
28484 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
;
28486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28487 wxTreeItemId
*arg2
= 0 ;
28488 wxPyTreeItemData
*result
;
28489 PyObject
* obj0
= 0 ;
28490 PyObject
* obj1
= 0 ;
28491 char *kwnames
[] = {
28492 (char *) "self",(char *) "item", NULL
28495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28497 if (SWIG_arg_fail(1)) SWIG_fail
;
28499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28500 if (SWIG_arg_fail(2)) SWIG_fail
;
28501 if (arg2
== NULL
) {
28502 SWIG_null_ref("wxTreeItemId");
28504 if (SWIG_arg_fail(2)) SWIG_fail
;
28507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28508 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28520 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
;
28522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28523 wxTreeItemId
*arg2
= 0 ;
28525 PyObject
* obj0
= 0 ;
28526 PyObject
* obj1
= 0 ;
28527 char *kwnames
[] = {
28528 (char *) "self",(char *) "item", NULL
28531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",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
;
28535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28536 if (SWIG_arg_fail(2)) SWIG_fail
;
28537 if (arg2
== NULL
) {
28538 SWIG_null_ref("wxTreeItemId");
28540 if (SWIG_arg_fail(2)) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= result
;
28556 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
;
28558 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28559 wxTreeItemId
*arg2
= 0 ;
28561 PyObject
* obj0
= 0 ;
28562 PyObject
* obj1
= 0 ;
28563 char *kwnames
[] = {
28564 (char *) "self",(char *) "item", NULL
28567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28569 if (SWIG_arg_fail(1)) SWIG_fail
;
28571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28572 if (SWIG_arg_fail(2)) SWIG_fail
;
28573 if (arg2
== NULL
) {
28574 SWIG_null_ref("wxTreeItemId");
28576 if (SWIG_arg_fail(2)) SWIG_fail
;
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28586 wxColour
* resultptr
;
28587 resultptr
= new wxColour((wxColour
&)(result
));
28588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28596 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28597 PyObject
*resultobj
;
28598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28599 wxTreeItemId
*arg2
= 0 ;
28601 PyObject
* obj0
= 0 ;
28602 PyObject
* obj1
= 0 ;
28603 char *kwnames
[] = {
28604 (char *) "self",(char *) "item", NULL
28607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28609 if (SWIG_arg_fail(1)) SWIG_fail
;
28611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28612 if (SWIG_arg_fail(2)) SWIG_fail
;
28613 if (arg2
== NULL
) {
28614 SWIG_null_ref("wxTreeItemId");
28616 if (SWIG_arg_fail(2)) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28626 wxColour
* resultptr
;
28627 resultptr
= new wxColour((wxColour
&)(result
));
28628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28636 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28637 PyObject
*resultobj
;
28638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28639 wxTreeItemId
*arg2
= 0 ;
28641 PyObject
* obj0
= 0 ;
28642 PyObject
* obj1
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "self",(char *) "item", NULL
28647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28649 if (SWIG_arg_fail(1)) SWIG_fail
;
28651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28652 if (SWIG_arg_fail(2)) SWIG_fail
;
28653 if (arg2
== NULL
) {
28654 SWIG_null_ref("wxTreeItemId");
28656 if (SWIG_arg_fail(2)) SWIG_fail
;
28659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28660 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28666 wxFont
* resultptr
;
28667 resultptr
= new wxFont((wxFont
&)(result
));
28668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28676 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28677 PyObject
*resultobj
;
28678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28679 wxTreeItemId
*arg2
= 0 ;
28680 wxString
*arg3
= 0 ;
28681 bool temp3
= false ;
28682 PyObject
* obj0
= 0 ;
28683 PyObject
* obj1
= 0 ;
28684 PyObject
* obj2
= 0 ;
28685 char *kwnames
[] = {
28686 (char *) "self",(char *) "item",(char *) "text", NULL
28689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28691 if (SWIG_arg_fail(1)) SWIG_fail
;
28693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28694 if (SWIG_arg_fail(2)) SWIG_fail
;
28695 if (arg2
== NULL
) {
28696 SWIG_null_ref("wxTreeItemId");
28698 if (SWIG_arg_fail(2)) SWIG_fail
;
28701 arg3
= wxString_in_helper(obj2
);
28702 if (arg3
== NULL
) SWIG_fail
;
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 Py_INCREF(Py_None
); resultobj
= Py_None
;
28727 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28728 PyObject
*resultobj
;
28729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28730 wxTreeItemId
*arg2
= 0 ;
28732 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28733 PyObject
* obj0
= 0 ;
28734 PyObject
* obj1
= 0 ;
28735 PyObject
* obj2
= 0 ;
28736 PyObject
* obj3
= 0 ;
28737 char *kwnames
[] = {
28738 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28743 if (SWIG_arg_fail(1)) SWIG_fail
;
28745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28746 if (SWIG_arg_fail(2)) SWIG_fail
;
28747 if (arg2
== NULL
) {
28748 SWIG_null_ref("wxTreeItemId");
28750 if (SWIG_arg_fail(2)) SWIG_fail
;
28753 arg3
= (int)(SWIG_As_int(obj2
));
28754 if (SWIG_arg_fail(3)) SWIG_fail
;
28758 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28759 if (SWIG_arg_fail(4)) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 Py_INCREF(Py_None
); resultobj
= Py_None
;
28776 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
;
28778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28779 wxTreeItemId
*arg2
= 0 ;
28780 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 PyObject
* obj2
= 0 ;
28784 char *kwnames
[] = {
28785 (char *) "self",(char *) "item",(char *) "data", NULL
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28790 if (SWIG_arg_fail(1)) SWIG_fail
;
28792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28793 if (SWIG_arg_fail(2)) SWIG_fail
;
28794 if (arg2
== NULL
) {
28795 SWIG_null_ref("wxTreeItemId");
28797 if (SWIG_arg_fail(2)) SWIG_fail
;
28799 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28800 if (SWIG_arg_fail(3)) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28805 wxPyEndAllowThreads(__tstate
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28808 Py_INCREF(Py_None
); resultobj
= Py_None
;
28815 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28816 PyObject
*resultobj
;
28817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28818 wxTreeItemId
*arg2
= 0 ;
28819 PyObject
*arg3
= (PyObject
*) 0 ;
28820 PyObject
* obj0
= 0 ;
28821 PyObject
* obj1
= 0 ;
28822 PyObject
* obj2
= 0 ;
28823 char *kwnames
[] = {
28824 (char *) "self",(char *) "item",(char *) "obj", NULL
28827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28829 if (SWIG_arg_fail(1)) SWIG_fail
;
28831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28832 if (SWIG_arg_fail(2)) SWIG_fail
;
28833 if (arg2
== NULL
) {
28834 SWIG_null_ref("wxTreeItemId");
28836 if (SWIG_arg_fail(2)) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 Py_INCREF(Py_None
); resultobj
= Py_None
;
28853 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
;
28855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28856 wxTreeItemId
*arg2
= 0 ;
28857 bool arg3
= (bool) true ;
28858 PyObject
* obj0
= 0 ;
28859 PyObject
* obj1
= 0 ;
28860 PyObject
* obj2
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self",(char *) "item",(char *) "has", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28867 if (SWIG_arg_fail(1)) SWIG_fail
;
28869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28870 if (SWIG_arg_fail(2)) SWIG_fail
;
28871 if (arg2
== NULL
) {
28872 SWIG_null_ref("wxTreeItemId");
28874 if (SWIG_arg_fail(2)) SWIG_fail
;
28878 arg3
= (bool)(SWIG_As_bool(obj2
));
28879 if (SWIG_arg_fail(3)) SWIG_fail
;
28883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28884 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28886 wxPyEndAllowThreads(__tstate
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28889 Py_INCREF(Py_None
); resultobj
= Py_None
;
28896 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28897 PyObject
*resultobj
;
28898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28899 wxTreeItemId
*arg2
= 0 ;
28900 bool arg3
= (bool) true ;
28901 PyObject
* obj0
= 0 ;
28902 PyObject
* obj1
= 0 ;
28903 PyObject
* obj2
= 0 ;
28904 char *kwnames
[] = {
28905 (char *) "self",(char *) "item",(char *) "bold", NULL
28908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28910 if (SWIG_arg_fail(1)) SWIG_fail
;
28912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28913 if (SWIG_arg_fail(2)) SWIG_fail
;
28914 if (arg2
== NULL
) {
28915 SWIG_null_ref("wxTreeItemId");
28917 if (SWIG_arg_fail(2)) SWIG_fail
;
28921 arg3
= (bool)(SWIG_As_bool(obj2
));
28922 if (SWIG_arg_fail(3)) SWIG_fail
;
28926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
28929 wxPyEndAllowThreads(__tstate
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28932 Py_INCREF(Py_None
); resultobj
= Py_None
;
28939 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
;
28941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28942 wxTreeItemId
*arg2
= 0 ;
28943 bool arg3
= (bool) true ;
28944 PyObject
* obj0
= 0 ;
28945 PyObject
* obj1
= 0 ;
28946 PyObject
* obj2
= 0 ;
28947 char *kwnames
[] = {
28948 (char *) "self",(char *) "item",(char *) "highlight", NULL
28951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28953 if (SWIG_arg_fail(1)) SWIG_fail
;
28955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28956 if (SWIG_arg_fail(2)) SWIG_fail
;
28957 if (arg2
== NULL
) {
28958 SWIG_null_ref("wxTreeItemId");
28960 if (SWIG_arg_fail(2)) SWIG_fail
;
28964 arg3
= (bool)(SWIG_As_bool(obj2
));
28965 if (SWIG_arg_fail(3)) SWIG_fail
;
28969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28970 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
28972 wxPyEndAllowThreads(__tstate
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28975 Py_INCREF(Py_None
); resultobj
= Py_None
;
28982 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28983 PyObject
*resultobj
;
28984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28985 wxTreeItemId
*arg2
= 0 ;
28986 wxColour
*arg3
= 0 ;
28988 PyObject
* obj0
= 0 ;
28989 PyObject
* obj1
= 0 ;
28990 PyObject
* obj2
= 0 ;
28991 char *kwnames
[] = {
28992 (char *) "self",(char *) "item",(char *) "col", NULL
28995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28997 if (SWIG_arg_fail(1)) SWIG_fail
;
28999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29000 if (SWIG_arg_fail(2)) SWIG_fail
;
29001 if (arg2
== NULL
) {
29002 SWIG_null_ref("wxTreeItemId");
29004 if (SWIG_arg_fail(2)) SWIG_fail
;
29008 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 Py_INCREF(Py_None
); resultobj
= Py_None
;
29024 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
;
29026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29027 wxTreeItemId
*arg2
= 0 ;
29028 wxColour
*arg3
= 0 ;
29030 PyObject
* obj0
= 0 ;
29031 PyObject
* obj1
= 0 ;
29032 PyObject
* obj2
= 0 ;
29033 char *kwnames
[] = {
29034 (char *) "self",(char *) "item",(char *) "col", NULL
29037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29039 if (SWIG_arg_fail(1)) SWIG_fail
;
29041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29042 if (SWIG_arg_fail(2)) SWIG_fail
;
29043 if (arg2
== NULL
) {
29044 SWIG_null_ref("wxTreeItemId");
29046 if (SWIG_arg_fail(2)) SWIG_fail
;
29050 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29054 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 Py_INCREF(Py_None
); resultobj
= Py_None
;
29066 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29067 PyObject
*resultobj
;
29068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29069 wxTreeItemId
*arg2
= 0 ;
29071 PyObject
* obj0
= 0 ;
29072 PyObject
* obj1
= 0 ;
29073 PyObject
* obj2
= 0 ;
29074 char *kwnames
[] = {
29075 (char *) "self",(char *) "item",(char *) "font", NULL
29078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29080 if (SWIG_arg_fail(1)) SWIG_fail
;
29082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29083 if (SWIG_arg_fail(2)) SWIG_fail
;
29084 if (arg2
== NULL
) {
29085 SWIG_null_ref("wxTreeItemId");
29087 if (SWIG_arg_fail(2)) SWIG_fail
;
29090 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29091 if (SWIG_arg_fail(3)) SWIG_fail
;
29092 if (arg3
== NULL
) {
29093 SWIG_null_ref("wxFont");
29095 if (SWIG_arg_fail(3)) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 Py_INCREF(Py_None
); resultobj
= Py_None
;
29111 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
;
29113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29114 wxTreeItemId
*arg2
= 0 ;
29116 PyObject
* obj0
= 0 ;
29117 PyObject
* obj1
= 0 ;
29118 char *kwnames
[] = {
29119 (char *) "self",(char *) "item", NULL
29122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29124 if (SWIG_arg_fail(1)) SWIG_fail
;
29126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29127 if (SWIG_arg_fail(2)) SWIG_fail
;
29128 if (arg2
== NULL
) {
29129 SWIG_null_ref("wxTreeItemId");
29131 if (SWIG_arg_fail(2)) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29149 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
;
29151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29152 wxTreeItemId
*arg2
= 0 ;
29154 PyObject
* obj0
= 0 ;
29155 PyObject
* obj1
= 0 ;
29156 char *kwnames
[] = {
29157 (char *) "self",(char *) "item", NULL
29160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29162 if (SWIG_arg_fail(1)) SWIG_fail
;
29164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29165 if (SWIG_arg_fail(2)) SWIG_fail
;
29166 if (arg2
== NULL
) {
29167 SWIG_null_ref("wxTreeItemId");
29169 if (SWIG_arg_fail(2)) SWIG_fail
;
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29187 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29188 PyObject
*resultobj
;
29189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29190 wxTreeItemId
*arg2
= 0 ;
29192 PyObject
* obj0
= 0 ;
29193 PyObject
* obj1
= 0 ;
29194 char *kwnames
[] = {
29195 (char *) "self",(char *) "item", NULL
29198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29200 if (SWIG_arg_fail(1)) SWIG_fail
;
29202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29203 if (SWIG_arg_fail(2)) SWIG_fail
;
29204 if (arg2
== NULL
) {
29205 SWIG_null_ref("wxTreeItemId");
29207 if (SWIG_arg_fail(2)) SWIG_fail
;
29210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29211 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29213 wxPyEndAllowThreads(__tstate
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29225 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29226 PyObject
*resultobj
;
29227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29228 wxTreeItemId
*arg2
= 0 ;
29230 PyObject
* obj0
= 0 ;
29231 PyObject
* obj1
= 0 ;
29232 char *kwnames
[] = {
29233 (char *) "self",(char *) "item", NULL
29236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29238 if (SWIG_arg_fail(1)) SWIG_fail
;
29240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29241 if (SWIG_arg_fail(2)) SWIG_fail
;
29242 if (arg2
== NULL
) {
29243 SWIG_null_ref("wxTreeItemId");
29245 if (SWIG_arg_fail(2)) SWIG_fail
;
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29249 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29263 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
;
29265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29266 wxTreeItemId
*arg2
= 0 ;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 char *kwnames
[] = {
29271 (char *) "self",(char *) "item", NULL
29274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29276 if (SWIG_arg_fail(1)) SWIG_fail
;
29278 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29279 if (SWIG_arg_fail(2)) SWIG_fail
;
29280 if (arg2
== NULL
) {
29281 SWIG_null_ref("wxTreeItemId");
29283 if (SWIG_arg_fail(2)) SWIG_fail
;
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29301 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
;
29303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29304 wxTreeItemId
*arg2
= 0 ;
29305 bool arg3
= (bool) true ;
29307 PyObject
* obj0
= 0 ;
29308 PyObject
* obj1
= 0 ;
29309 PyObject
* obj2
= 0 ;
29310 char *kwnames
[] = {
29311 (char *) "self",(char *) "item",(char *) "recursively", NULL
29314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29316 if (SWIG_arg_fail(1)) SWIG_fail
;
29318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29319 if (SWIG_arg_fail(2)) SWIG_fail
;
29320 if (arg2
== NULL
) {
29321 SWIG_null_ref("wxTreeItemId");
29323 if (SWIG_arg_fail(2)) SWIG_fail
;
29327 arg3
= (bool)(SWIG_As_bool(obj2
));
29328 if (SWIG_arg_fail(3)) SWIG_fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29339 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29347 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29348 PyObject
*resultobj
;
29349 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29350 wxTreeItemId result
;
29351 PyObject
* obj0
= 0 ;
29352 char *kwnames
[] = {
29353 (char *) "self", NULL
29356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29358 if (SWIG_arg_fail(1)) SWIG_fail
;
29360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29361 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29363 wxPyEndAllowThreads(__tstate
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29367 wxTreeItemId
* resultptr
;
29368 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29377 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
;
29379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29380 wxTreeItemId result
;
29381 PyObject
* obj0
= 0 ;
29382 char *kwnames
[] = {
29383 (char *) "self", NULL
29386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29388 if (SWIG_arg_fail(1)) SWIG_fail
;
29390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29391 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29393 wxPyEndAllowThreads(__tstate
);
29394 if (PyErr_Occurred()) SWIG_fail
;
29397 wxTreeItemId
* resultptr
;
29398 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29407 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
;
29409 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29411 PyObject
* obj0
= 0 ;
29412 char *kwnames
[] = {
29413 (char *) "self", NULL
29416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29418 if (SWIG_arg_fail(1)) SWIG_fail
;
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= result
;
29433 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29434 PyObject
*resultobj
;
29435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29436 wxTreeItemId
*arg2
= 0 ;
29437 wxTreeItemId result
;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self",(char *) "item", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29446 if (SWIG_arg_fail(1)) SWIG_fail
;
29448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29449 if (SWIG_arg_fail(2)) SWIG_fail
;
29450 if (arg2
== NULL
) {
29451 SWIG_null_ref("wxTreeItemId");
29453 if (SWIG_arg_fail(2)) SWIG_fail
;
29456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29463 wxTreeItemId
* resultptr
;
29464 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29473 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
;
29475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29476 wxTreeItemId
*arg2
= 0 ;
29478 PyObject
* obj0
= 0 ;
29479 PyObject
* obj1
= 0 ;
29480 char *kwnames
[] = {
29481 (char *) "self",(char *) "item", NULL
29484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29486 if (SWIG_arg_fail(1)) SWIG_fail
;
29488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29489 if (SWIG_arg_fail(2)) SWIG_fail
;
29490 if (arg2
== NULL
) {
29491 SWIG_null_ref("wxTreeItemId");
29493 if (SWIG_arg_fail(2)) SWIG_fail
;
29496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29497 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= result
;
29509 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
;
29511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29512 wxTreeItemId
*arg2
= 0 ;
29513 void *arg3
= (void *) 0 ;
29515 PyObject
* obj0
= 0 ;
29516 PyObject
* obj1
= 0 ;
29517 PyObject
* obj2
= 0 ;
29518 char *kwnames
[] = {
29519 (char *) "self",(char *) "item",(char *) "cookie", NULL
29522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29524 if (SWIG_arg_fail(1)) SWIG_fail
;
29526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29527 if (SWIG_arg_fail(2)) SWIG_fail
;
29528 if (arg2
== NULL
) {
29529 SWIG_null_ref("wxTreeItemId");
29531 if (SWIG_arg_fail(2)) SWIG_fail
;
29534 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29535 SWIG_arg_fail(3);SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= result
;
29552 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
;
29554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29555 wxTreeItemId
*arg2
= 0 ;
29556 wxTreeItemId result
;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 char *kwnames
[] = {
29560 (char *) "self",(char *) "item", NULL
29563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29565 if (SWIG_arg_fail(1)) SWIG_fail
;
29567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29568 if (SWIG_arg_fail(2)) SWIG_fail
;
29569 if (arg2
== NULL
) {
29570 SWIG_null_ref("wxTreeItemId");
29572 if (SWIG_arg_fail(2)) SWIG_fail
;
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29582 wxTreeItemId
* resultptr
;
29583 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29592 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29593 PyObject
*resultobj
;
29594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29595 wxTreeItemId
*arg2
= 0 ;
29596 wxTreeItemId result
;
29597 PyObject
* obj0
= 0 ;
29598 PyObject
* obj1
= 0 ;
29599 char *kwnames
[] = {
29600 (char *) "self",(char *) "item", NULL
29603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29605 if (SWIG_arg_fail(1)) SWIG_fail
;
29607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29608 if (SWIG_arg_fail(2)) SWIG_fail
;
29609 if (arg2
== NULL
) {
29610 SWIG_null_ref("wxTreeItemId");
29612 if (SWIG_arg_fail(2)) SWIG_fail
;
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29618 wxPyEndAllowThreads(__tstate
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29622 wxTreeItemId
* resultptr
;
29623 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29632 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29633 PyObject
*resultobj
;
29634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29635 wxTreeItemId
*arg2
= 0 ;
29636 wxTreeItemId result
;
29637 PyObject
* obj0
= 0 ;
29638 PyObject
* obj1
= 0 ;
29639 char *kwnames
[] = {
29640 (char *) "self",(char *) "item", NULL
29643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29645 if (SWIG_arg_fail(1)) SWIG_fail
;
29647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29648 if (SWIG_arg_fail(2)) SWIG_fail
;
29649 if (arg2
== NULL
) {
29650 SWIG_null_ref("wxTreeItemId");
29652 if (SWIG_arg_fail(2)) SWIG_fail
;
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29658 wxPyEndAllowThreads(__tstate
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29662 wxTreeItemId
* resultptr
;
29663 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29672 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
;
29674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29675 wxTreeItemId result
;
29676 PyObject
* obj0
= 0 ;
29677 char *kwnames
[] = {
29678 (char *) "self", NULL
29681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29683 if (SWIG_arg_fail(1)) SWIG_fail
;
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29692 wxTreeItemId
* resultptr
;
29693 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29702 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
;
29704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29705 wxTreeItemId
*arg2
= 0 ;
29706 wxTreeItemId result
;
29707 PyObject
* obj0
= 0 ;
29708 PyObject
* obj1
= 0 ;
29709 char *kwnames
[] = {
29710 (char *) "self",(char *) "item", NULL
29713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29715 if (SWIG_arg_fail(1)) SWIG_fail
;
29717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29718 if (SWIG_arg_fail(2)) SWIG_fail
;
29719 if (arg2
== NULL
) {
29720 SWIG_null_ref("wxTreeItemId");
29722 if (SWIG_arg_fail(2)) SWIG_fail
;
29725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29726 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29728 wxPyEndAllowThreads(__tstate
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29732 wxTreeItemId
* resultptr
;
29733 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29742 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
;
29744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29745 wxTreeItemId
*arg2
= 0 ;
29746 wxTreeItemId result
;
29747 PyObject
* obj0
= 0 ;
29748 PyObject
* obj1
= 0 ;
29749 char *kwnames
[] = {
29750 (char *) "self",(char *) "item", NULL
29753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29755 if (SWIG_arg_fail(1)) SWIG_fail
;
29757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29758 if (SWIG_arg_fail(2)) SWIG_fail
;
29759 if (arg2
== NULL
) {
29760 SWIG_null_ref("wxTreeItemId");
29762 if (SWIG_arg_fail(2)) SWIG_fail
;
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29772 wxTreeItemId
* resultptr
;
29773 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29782 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29783 PyObject
*resultobj
;
29784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29785 wxString
*arg2
= 0 ;
29786 int arg3
= (int) -1 ;
29787 int arg4
= (int) -1 ;
29788 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29789 wxTreeItemId result
;
29790 bool temp2
= false ;
29791 PyObject
* obj0
= 0 ;
29792 PyObject
* obj1
= 0 ;
29793 PyObject
* obj2
= 0 ;
29794 PyObject
* obj3
= 0 ;
29795 PyObject
* obj4
= 0 ;
29796 char *kwnames
[] = {
29797 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29802 if (SWIG_arg_fail(1)) SWIG_fail
;
29804 arg2
= wxString_in_helper(obj1
);
29805 if (arg2
== NULL
) SWIG_fail
;
29810 arg3
= (int)(SWIG_As_int(obj2
));
29811 if (SWIG_arg_fail(3)) SWIG_fail
;
29816 arg4
= (int)(SWIG_As_int(obj3
));
29817 if (SWIG_arg_fail(4)) SWIG_fail
;
29821 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29822 if (SWIG_arg_fail(5)) SWIG_fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29832 wxTreeItemId
* resultptr
;
29833 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29850 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
;
29852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29853 wxTreeItemId
*arg2
= 0 ;
29854 wxString
*arg3
= 0 ;
29855 int arg4
= (int) -1 ;
29856 int arg5
= (int) -1 ;
29857 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29858 wxTreeItemId result
;
29859 bool temp3
= false ;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 PyObject
* obj2
= 0 ;
29863 PyObject
* obj3
= 0 ;
29864 PyObject
* obj4
= 0 ;
29865 PyObject
* obj5
= 0 ;
29866 char *kwnames
[] = {
29867 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29872 if (SWIG_arg_fail(1)) SWIG_fail
;
29874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29875 if (SWIG_arg_fail(2)) SWIG_fail
;
29876 if (arg2
== NULL
) {
29877 SWIG_null_ref("wxTreeItemId");
29879 if (SWIG_arg_fail(2)) SWIG_fail
;
29882 arg3
= wxString_in_helper(obj2
);
29883 if (arg3
== NULL
) SWIG_fail
;
29888 arg4
= (int)(SWIG_As_int(obj3
));
29889 if (SWIG_arg_fail(4)) SWIG_fail
;
29894 arg5
= (int)(SWIG_As_int(obj4
));
29895 if (SWIG_arg_fail(5)) SWIG_fail
;
29899 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29900 if (SWIG_arg_fail(6)) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29910 wxTreeItemId
* resultptr
;
29911 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29928 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
;
29930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29931 wxTreeItemId
*arg2
= 0 ;
29932 wxTreeItemId
*arg3
= 0 ;
29933 wxString
*arg4
= 0 ;
29934 int arg5
= (int) -1 ;
29935 int arg6
= (int) -1 ;
29936 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29937 wxTreeItemId result
;
29938 bool temp4
= false ;
29939 PyObject
* obj0
= 0 ;
29940 PyObject
* obj1
= 0 ;
29941 PyObject
* obj2
= 0 ;
29942 PyObject
* obj3
= 0 ;
29943 PyObject
* obj4
= 0 ;
29944 PyObject
* obj5
= 0 ;
29945 PyObject
* obj6
= 0 ;
29946 char *kwnames
[] = {
29947 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29952 if (SWIG_arg_fail(1)) SWIG_fail
;
29954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29955 if (SWIG_arg_fail(2)) SWIG_fail
;
29956 if (arg2
== NULL
) {
29957 SWIG_null_ref("wxTreeItemId");
29959 if (SWIG_arg_fail(2)) SWIG_fail
;
29962 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29963 if (SWIG_arg_fail(3)) SWIG_fail
;
29964 if (arg3
== NULL
) {
29965 SWIG_null_ref("wxTreeItemId");
29967 if (SWIG_arg_fail(3)) SWIG_fail
;
29970 arg4
= wxString_in_helper(obj3
);
29971 if (arg4
== NULL
) SWIG_fail
;
29976 arg5
= (int)(SWIG_As_int(obj4
));
29977 if (SWIG_arg_fail(5)) SWIG_fail
;
29982 arg6
= (int)(SWIG_As_int(obj5
));
29983 if (SWIG_arg_fail(6)) SWIG_fail
;
29987 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29988 if (SWIG_arg_fail(7)) SWIG_fail
;
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
29994 wxPyEndAllowThreads(__tstate
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29998 wxTreeItemId
* resultptr
;
29999 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30016 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
;
30018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30019 wxTreeItemId
*arg2
= 0 ;
30021 wxString
*arg4
= 0 ;
30022 int arg5
= (int) -1 ;
30023 int arg6
= (int) -1 ;
30024 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30025 wxTreeItemId result
;
30026 bool temp4
= false ;
30027 PyObject
* obj0
= 0 ;
30028 PyObject
* obj1
= 0 ;
30029 PyObject
* obj2
= 0 ;
30030 PyObject
* obj3
= 0 ;
30031 PyObject
* obj4
= 0 ;
30032 PyObject
* obj5
= 0 ;
30033 PyObject
* obj6
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30040 if (SWIG_arg_fail(1)) SWIG_fail
;
30042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30043 if (SWIG_arg_fail(2)) SWIG_fail
;
30044 if (arg2
== NULL
) {
30045 SWIG_null_ref("wxTreeItemId");
30047 if (SWIG_arg_fail(2)) SWIG_fail
;
30050 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30051 if (SWIG_arg_fail(3)) SWIG_fail
;
30054 arg4
= wxString_in_helper(obj3
);
30055 if (arg4
== NULL
) SWIG_fail
;
30060 arg5
= (int)(SWIG_As_int(obj4
));
30061 if (SWIG_arg_fail(5)) SWIG_fail
;
30066 arg6
= (int)(SWIG_As_int(obj5
));
30067 if (SWIG_arg_fail(6)) SWIG_fail
;
30071 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30072 if (SWIG_arg_fail(7)) SWIG_fail
;
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30078 wxPyEndAllowThreads(__tstate
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30082 wxTreeItemId
* resultptr
;
30083 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30100 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
;
30102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30103 wxTreeItemId
*arg2
= 0 ;
30104 wxString
*arg3
= 0 ;
30105 int arg4
= (int) -1 ;
30106 int arg5
= (int) -1 ;
30107 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30108 wxTreeItemId result
;
30109 bool temp3
= false ;
30110 PyObject
* obj0
= 0 ;
30111 PyObject
* obj1
= 0 ;
30112 PyObject
* obj2
= 0 ;
30113 PyObject
* obj3
= 0 ;
30114 PyObject
* obj4
= 0 ;
30115 PyObject
* obj5
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30122 if (SWIG_arg_fail(1)) SWIG_fail
;
30124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30125 if (SWIG_arg_fail(2)) SWIG_fail
;
30126 if (arg2
== NULL
) {
30127 SWIG_null_ref("wxTreeItemId");
30129 if (SWIG_arg_fail(2)) SWIG_fail
;
30132 arg3
= wxString_in_helper(obj2
);
30133 if (arg3
== NULL
) SWIG_fail
;
30138 arg4
= (int)(SWIG_As_int(obj3
));
30139 if (SWIG_arg_fail(4)) SWIG_fail
;
30144 arg5
= (int)(SWIG_As_int(obj4
));
30145 if (SWIG_arg_fail(5)) SWIG_fail
;
30149 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(6)) SWIG_fail
;
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30160 wxTreeItemId
* resultptr
;
30161 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30178 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30179 PyObject
*resultobj
;
30180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30181 wxTreeItemId
*arg2
= 0 ;
30182 PyObject
* obj0
= 0 ;
30183 PyObject
* obj1
= 0 ;
30184 char *kwnames
[] = {
30185 (char *) "self",(char *) "item", NULL
30188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30190 if (SWIG_arg_fail(1)) SWIG_fail
;
30192 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30193 if (SWIG_arg_fail(2)) SWIG_fail
;
30194 if (arg2
== NULL
) {
30195 SWIG_null_ref("wxTreeItemId");
30197 if (SWIG_arg_fail(2)) SWIG_fail
;
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30203 wxPyEndAllowThreads(__tstate
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30206 Py_INCREF(Py_None
); resultobj
= Py_None
;
30213 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30214 PyObject
*resultobj
;
30215 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30216 wxTreeItemId
*arg2
= 0 ;
30217 PyObject
* obj0
= 0 ;
30218 PyObject
* obj1
= 0 ;
30219 char *kwnames
[] = {
30220 (char *) "self",(char *) "item", NULL
30223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30225 if (SWIG_arg_fail(1)) SWIG_fail
;
30227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30228 if (SWIG_arg_fail(2)) SWIG_fail
;
30229 if (arg2
== NULL
) {
30230 SWIG_null_ref("wxTreeItemId");
30232 if (SWIG_arg_fail(2)) SWIG_fail
;
30235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 Py_INCREF(Py_None
); resultobj
= Py_None
;
30248 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
;
30250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30251 PyObject
* obj0
= 0 ;
30252 char *kwnames
[] = {
30253 (char *) "self", NULL
30256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30258 if (SWIG_arg_fail(1)) SWIG_fail
;
30260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30261 (arg1
)->DeleteAllItems();
30263 wxPyEndAllowThreads(__tstate
);
30264 if (PyErr_Occurred()) SWIG_fail
;
30266 Py_INCREF(Py_None
); resultobj
= Py_None
;
30273 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30274 PyObject
*resultobj
;
30275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30276 wxTreeItemId
*arg2
= 0 ;
30277 PyObject
* obj0
= 0 ;
30278 PyObject
* obj1
= 0 ;
30279 char *kwnames
[] = {
30280 (char *) "self",(char *) "item", NULL
30283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30285 if (SWIG_arg_fail(1)) SWIG_fail
;
30287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30288 if (SWIG_arg_fail(2)) SWIG_fail
;
30289 if (arg2
== NULL
) {
30290 SWIG_null_ref("wxTreeItemId");
30292 if (SWIG_arg_fail(2)) SWIG_fail
;
30295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30301 Py_INCREF(Py_None
); resultobj
= Py_None
;
30308 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30309 PyObject
*resultobj
;
30310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30311 wxTreeItemId
*arg2
= 0 ;
30312 PyObject
* obj0
= 0 ;
30313 PyObject
* obj1
= 0 ;
30314 char *kwnames
[] = {
30315 (char *) "self",(char *) "item", NULL
30318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30320 if (SWIG_arg_fail(1)) SWIG_fail
;
30322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30323 if (SWIG_arg_fail(2)) SWIG_fail
;
30324 if (arg2
== NULL
) {
30325 SWIG_null_ref("wxTreeItemId");
30327 if (SWIG_arg_fail(2)) SWIG_fail
;
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 Py_INCREF(Py_None
); resultobj
= Py_None
;
30343 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30346 wxTreeItemId
*arg2
= 0 ;
30347 PyObject
* obj0
= 0 ;
30348 PyObject
* obj1
= 0 ;
30349 char *kwnames
[] = {
30350 (char *) "self",(char *) "item", NULL
30353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30355 if (SWIG_arg_fail(1)) SWIG_fail
;
30357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30358 if (SWIG_arg_fail(2)) SWIG_fail
;
30359 if (arg2
== NULL
) {
30360 SWIG_null_ref("wxTreeItemId");
30362 if (SWIG_arg_fail(2)) SWIG_fail
;
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30368 wxPyEndAllowThreads(__tstate
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30371 Py_INCREF(Py_None
); resultobj
= Py_None
;
30378 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
;
30380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30381 wxTreeItemId
*arg2
= 0 ;
30382 PyObject
* obj0
= 0 ;
30383 PyObject
* obj1
= 0 ;
30384 char *kwnames
[] = {
30385 (char *) "self",(char *) "item", NULL
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30390 if (SWIG_arg_fail(1)) SWIG_fail
;
30392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30393 if (SWIG_arg_fail(2)) SWIG_fail
;
30394 if (arg2
== NULL
) {
30395 SWIG_null_ref("wxTreeItemId");
30397 if (SWIG_arg_fail(2)) SWIG_fail
;
30400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30401 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30403 wxPyEndAllowThreads(__tstate
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 Py_INCREF(Py_None
); resultobj
= Py_None
;
30413 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
;
30415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30416 PyObject
* obj0
= 0 ;
30417 char *kwnames
[] = {
30418 (char *) "self", NULL
30421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30423 if (SWIG_arg_fail(1)) SWIG_fail
;
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 (arg1
)->Unselect();
30428 wxPyEndAllowThreads(__tstate
);
30429 if (PyErr_Occurred()) SWIG_fail
;
30431 Py_INCREF(Py_None
); resultobj
= Py_None
;
30438 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30439 PyObject
*resultobj
;
30440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30441 wxTreeItemId
*arg2
= 0 ;
30442 PyObject
* obj0
= 0 ;
30443 PyObject
* obj1
= 0 ;
30444 char *kwnames
[] = {
30445 (char *) "self",(char *) "item", NULL
30448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30450 if (SWIG_arg_fail(1)) SWIG_fail
;
30452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30453 if (SWIG_arg_fail(2)) SWIG_fail
;
30454 if (arg2
== NULL
) {
30455 SWIG_null_ref("wxTreeItemId");
30457 if (SWIG_arg_fail(2)) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 Py_INCREF(Py_None
); resultobj
= Py_None
;
30473 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
;
30475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30476 PyObject
* obj0
= 0 ;
30477 char *kwnames
[] = {
30478 (char *) "self", NULL
30481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30483 if (SWIG_arg_fail(1)) SWIG_fail
;
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 (arg1
)->UnselectAll();
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 Py_INCREF(Py_None
); resultobj
= Py_None
;
30498 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30499 PyObject
*resultobj
;
30500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30501 wxTreeItemId
*arg2
= 0 ;
30502 bool arg3
= (bool) true ;
30503 PyObject
* obj0
= 0 ;
30504 PyObject
* obj1
= 0 ;
30505 PyObject
* obj2
= 0 ;
30506 char *kwnames
[] = {
30507 (char *) "self",(char *) "item",(char *) "select", NULL
30510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30512 if (SWIG_arg_fail(1)) SWIG_fail
;
30514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30515 if (SWIG_arg_fail(2)) SWIG_fail
;
30516 if (arg2
== NULL
) {
30517 SWIG_null_ref("wxTreeItemId");
30519 if (SWIG_arg_fail(2)) SWIG_fail
;
30523 arg3
= (bool)(SWIG_As_bool(obj2
));
30524 if (SWIG_arg_fail(3)) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30534 Py_INCREF(Py_None
); resultobj
= Py_None
;
30541 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
;
30543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30544 wxTreeItemId
*arg2
= 0 ;
30545 PyObject
* obj0
= 0 ;
30546 PyObject
* obj1
= 0 ;
30547 char *kwnames
[] = {
30548 (char *) "self",(char *) "item", NULL
30551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30553 if (SWIG_arg_fail(1)) SWIG_fail
;
30555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30556 if (SWIG_arg_fail(2)) SWIG_fail
;
30557 if (arg2
== NULL
) {
30558 SWIG_null_ref("wxTreeItemId");
30560 if (SWIG_arg_fail(2)) SWIG_fail
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 Py_INCREF(Py_None
); resultobj
= Py_None
;
30576 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30579 wxTreeItemId
*arg2
= 0 ;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "item", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30588 if (SWIG_arg_fail(1)) SWIG_fail
;
30590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30591 if (SWIG_arg_fail(2)) SWIG_fail
;
30592 if (arg2
== NULL
) {
30593 SWIG_null_ref("wxTreeItemId");
30595 if (SWIG_arg_fail(2)) SWIG_fail
;
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30604 Py_INCREF(Py_None
); resultobj
= Py_None
;
30611 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
;
30613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30614 wxTreeItemId
*arg2
= 0 ;
30615 PyObject
* obj0
= 0 ;
30616 PyObject
* obj1
= 0 ;
30617 char *kwnames
[] = {
30618 (char *) "self",(char *) "item", NULL
30621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30623 if (SWIG_arg_fail(1)) SWIG_fail
;
30625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30626 if (SWIG_arg_fail(2)) SWIG_fail
;
30627 if (arg2
== NULL
) {
30628 SWIG_null_ref("wxTreeItemId");
30630 if (SWIG_arg_fail(2)) SWIG_fail
;
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30639 Py_INCREF(Py_None
); resultobj
= Py_None
;
30646 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
;
30648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30649 wxTreeItemId
*arg2
= 0 ;
30650 PyObject
* obj0
= 0 ;
30651 PyObject
* obj1
= 0 ;
30652 char *kwnames
[] = {
30653 (char *) "self",(char *) "item", NULL
30656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30658 if (SWIG_arg_fail(1)) SWIG_fail
;
30660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30661 if (SWIG_arg_fail(2)) SWIG_fail
;
30662 if (arg2
== NULL
) {
30663 SWIG_null_ref("wxTreeItemId");
30665 if (SWIG_arg_fail(2)) SWIG_fail
;
30668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30669 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30671 wxPyEndAllowThreads(__tstate
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30674 Py_INCREF(Py_None
); resultobj
= Py_None
;
30681 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30682 PyObject
*resultobj
;
30683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30684 wxTextCtrl
*result
;
30685 PyObject
* obj0
= 0 ;
30686 char *kwnames
[] = {
30687 (char *) "self", NULL
30690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30692 if (SWIG_arg_fail(1)) SWIG_fail
;
30694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30695 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30697 wxPyEndAllowThreads(__tstate
);
30698 if (PyErr_Occurred()) SWIG_fail
;
30701 resultobj
= wxPyMake_wxObject(result
, 0);
30709 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30710 PyObject
*resultobj
;
30711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30712 wxTreeItemId
*arg2
= 0 ;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 char *kwnames
[] = {
30716 (char *) "self",(char *) "item", NULL
30719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30721 if (SWIG_arg_fail(1)) SWIG_fail
;
30723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30724 if (SWIG_arg_fail(2)) SWIG_fail
;
30725 if (arg2
== NULL
) {
30726 SWIG_null_ref("wxTreeItemId");
30728 if (SWIG_arg_fail(2)) SWIG_fail
;
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30737 Py_INCREF(Py_None
); resultobj
= Py_None
;
30744 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30745 PyObject
*resultobj
;
30746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30747 wxPoint
*arg2
= 0 ;
30749 wxTreeItemId result
;
30753 PyObject
* obj0
= 0 ;
30754 PyObject
* obj1
= 0 ;
30755 char *kwnames
[] = {
30756 (char *) "self",(char *) "point", NULL
30759 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail
;
30765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30775 wxTreeItemId
* resultptr
;
30776 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30779 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30780 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30787 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30788 PyObject
*resultobj
;
30789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30790 wxTreeItemId
*arg2
= 0 ;
30791 bool arg3
= (bool) false ;
30793 PyObject
* obj0
= 0 ;
30794 PyObject
* obj1
= 0 ;
30795 PyObject
* obj2
= 0 ;
30796 char *kwnames
[] = {
30797 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30802 if (SWIG_arg_fail(1)) SWIG_fail
;
30804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30805 if (SWIG_arg_fail(2)) SWIG_fail
;
30806 if (arg2
== NULL
) {
30807 SWIG_null_ref("wxTreeItemId");
30809 if (SWIG_arg_fail(2)) SWIG_fail
;
30813 arg3
= (bool)(SWIG_As_bool(obj2
));
30814 if (SWIG_arg_fail(3)) SWIG_fail
;
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30824 resultobj
= result
;
30831 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
;
30833 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30834 wxVisualAttributes result
;
30835 PyObject
* obj0
= 0 ;
30836 char *kwnames
[] = {
30837 (char *) "variant", NULL
30840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30843 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30844 if (SWIG_arg_fail(1)) SWIG_fail
;
30848 if (!wxPyCheckForApp()) SWIG_fail
;
30849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30850 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30852 wxPyEndAllowThreads(__tstate
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30856 wxVisualAttributes
* resultptr
;
30857 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30866 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30869 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30871 return Py_BuildValue((char *)"");
30873 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30874 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30879 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30884 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30886 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30893 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
;
30895 wxWindow
*arg1
= (wxWindow
*) 0 ;
30896 int arg2
= (int) (int)-1 ;
30897 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30898 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30903 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30904 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30905 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30906 int arg8
= (int) 0 ;
30907 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30908 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30909 wxGenericDirCtrl
*result
;
30910 bool temp3
= false ;
30913 bool temp7
= false ;
30914 bool temp9
= false ;
30915 PyObject
* obj0
= 0 ;
30916 PyObject
* obj1
= 0 ;
30917 PyObject
* obj2
= 0 ;
30918 PyObject
* obj3
= 0 ;
30919 PyObject
* obj4
= 0 ;
30920 PyObject
* obj5
= 0 ;
30921 PyObject
* obj6
= 0 ;
30922 PyObject
* obj7
= 0 ;
30923 PyObject
* obj8
= 0 ;
30924 char *kwnames
[] = {
30925 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30930 if (SWIG_arg_fail(1)) SWIG_fail
;
30933 arg2
= (int const)(SWIG_As_int(obj1
));
30934 if (SWIG_arg_fail(2)) SWIG_fail
;
30939 arg3
= wxString_in_helper(obj2
);
30940 if (arg3
== NULL
) SWIG_fail
;
30947 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30953 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30958 arg6
= (long)(SWIG_As_long(obj5
));
30959 if (SWIG_arg_fail(6)) SWIG_fail
;
30964 arg7
= wxString_in_helper(obj6
);
30965 if (arg7
== NULL
) SWIG_fail
;
30971 arg8
= (int)(SWIG_As_int(obj7
));
30972 if (SWIG_arg_fail(8)) SWIG_fail
;
30977 arg9
= wxString_in_helper(obj8
);
30978 if (arg9
== NULL
) SWIG_fail
;
30983 if (!wxPyCheckForApp()) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31021 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
;
31023 wxGenericDirCtrl
*result
;
31024 char *kwnames
[] = {
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31030 if (!wxPyCheckForApp()) SWIG_fail
;
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31044 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31045 PyObject
*resultobj
;
31046 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31047 wxWindow
*arg2
= (wxWindow
*) 0 ;
31048 int arg3
= (int) (int)-1 ;
31049 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31050 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31051 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31052 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31053 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31054 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31055 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31056 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31057 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31058 int arg9
= (int) 0 ;
31059 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31060 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31062 bool temp4
= false ;
31065 bool temp8
= false ;
31066 bool temp10
= false ;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 PyObject
* obj2
= 0 ;
31070 PyObject
* obj3
= 0 ;
31071 PyObject
* obj4
= 0 ;
31072 PyObject
* obj5
= 0 ;
31073 PyObject
* obj6
= 0 ;
31074 PyObject
* obj7
= 0 ;
31075 PyObject
* obj8
= 0 ;
31076 PyObject
* obj9
= 0 ;
31077 char *kwnames
[] = {
31078 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31083 if (SWIG_arg_fail(1)) SWIG_fail
;
31084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31085 if (SWIG_arg_fail(2)) SWIG_fail
;
31088 arg3
= (int const)(SWIG_As_int(obj2
));
31089 if (SWIG_arg_fail(3)) SWIG_fail
;
31094 arg4
= wxString_in_helper(obj3
);
31095 if (arg4
== NULL
) SWIG_fail
;
31102 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31108 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31113 arg7
= (long)(SWIG_As_long(obj6
));
31114 if (SWIG_arg_fail(7)) SWIG_fail
;
31119 arg8
= wxString_in_helper(obj7
);
31120 if (arg8
== NULL
) SWIG_fail
;
31126 arg9
= (int)(SWIG_As_int(obj8
));
31127 if (SWIG_arg_fail(9)) SWIG_fail
;
31132 arg10
= wxString_in_helper(obj9
);
31133 if (arg10
== NULL
) SWIG_fail
;
31138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31139 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31177 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
;
31179 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31180 wxString
*arg2
= 0 ;
31182 bool temp2
= false ;
31183 PyObject
* obj0
= 0 ;
31184 PyObject
* obj1
= 0 ;
31185 char *kwnames
[] = {
31186 (char *) "self",(char *) "path", NULL
31189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31191 if (SWIG_arg_fail(1)) SWIG_fail
;
31193 arg2
= wxString_in_helper(obj1
);
31194 if (arg2
== NULL
) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31221 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31222 PyObject
*resultobj
;
31223 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31225 PyObject
* obj0
= 0 ;
31226 char *kwnames
[] = {
31227 (char *) "self", NULL
31230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31232 if (SWIG_arg_fail(1)) SWIG_fail
;
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31237 wxPyEndAllowThreads(__tstate
);
31238 if (PyErr_Occurred()) SWIG_fail
;
31242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31253 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
;
31255 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31256 wxString
*arg2
= 0 ;
31257 bool temp2
= false ;
31258 PyObject
* obj0
= 0 ;
31259 PyObject
* obj1
= 0 ;
31260 char *kwnames
[] = {
31261 (char *) "self",(char *) "path", NULL
31264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31266 if (SWIG_arg_fail(1)) SWIG_fail
;
31268 arg2
= wxString_in_helper(obj1
);
31269 if (arg2
== NULL
) SWIG_fail
;
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31276 wxPyEndAllowThreads(__tstate
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31279 Py_INCREF(Py_None
); resultobj
= Py_None
;
31294 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31295 PyObject
*resultobj
;
31296 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31298 PyObject
* obj0
= 0 ;
31299 char *kwnames
[] = {
31300 (char *) "self", NULL
31303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31305 if (SWIG_arg_fail(1)) SWIG_fail
;
31307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31308 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31326 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
;
31328 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31330 PyObject
* obj0
= 0 ;
31331 char *kwnames
[] = {
31332 (char *) "self", NULL
31335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31337 if (SWIG_arg_fail(1)) SWIG_fail
;
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31358 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31361 wxString
*arg2
= 0 ;
31362 bool temp2
= false ;
31363 PyObject
* obj0
= 0 ;
31364 PyObject
* obj1
= 0 ;
31365 char *kwnames
[] = {
31366 (char *) "self",(char *) "path", NULL
31369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31371 if (SWIG_arg_fail(1)) SWIG_fail
;
31373 arg2
= wxString_in_helper(obj1
);
31374 if (arg2
== NULL
) SWIG_fail
;
31378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31379 (arg1
)->SetPath((wxString
const &)*arg2
);
31381 wxPyEndAllowThreads(__tstate
);
31382 if (PyErr_Occurred()) SWIG_fail
;
31384 Py_INCREF(Py_None
); resultobj
= Py_None
;
31399 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31400 PyObject
*resultobj
;
31401 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31403 PyObject
* obj0
= 0 ;
31404 PyObject
* obj1
= 0 ;
31405 char *kwnames
[] = {
31406 (char *) "self",(char *) "show", NULL
31409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31411 if (SWIG_arg_fail(1)) SWIG_fail
;
31413 arg2
= (bool)(SWIG_As_bool(obj1
));
31414 if (SWIG_arg_fail(2)) SWIG_fail
;
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 (arg1
)->ShowHidden(arg2
);
31420 wxPyEndAllowThreads(__tstate
);
31421 if (PyErr_Occurred()) SWIG_fail
;
31423 Py_INCREF(Py_None
); resultobj
= Py_None
;
31430 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31431 PyObject
*resultobj
;
31432 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31434 PyObject
* obj0
= 0 ;
31435 char *kwnames
[] = {
31436 (char *) "self", NULL
31439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31441 if (SWIG_arg_fail(1)) SWIG_fail
;
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 result
= (bool)(arg1
)->GetShowHidden();
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31458 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31459 PyObject
*resultobj
;
31460 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31462 PyObject
* obj0
= 0 ;
31463 char *kwnames
[] = {
31464 (char *) "self", NULL
31467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31469 if (SWIG_arg_fail(1)) SWIG_fail
;
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31474 wxPyEndAllowThreads(__tstate
);
31475 if (PyErr_Occurred()) SWIG_fail
;
31479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31490 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31491 PyObject
*resultobj
;
31492 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31493 wxString
*arg2
= 0 ;
31494 bool temp2
= false ;
31495 PyObject
* obj0
= 0 ;
31496 PyObject
* obj1
= 0 ;
31497 char *kwnames
[] = {
31498 (char *) "self",(char *) "filter", NULL
31501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31503 if (SWIG_arg_fail(1)) SWIG_fail
;
31505 arg2
= wxString_in_helper(obj1
);
31506 if (arg2
== NULL
) SWIG_fail
;
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 (arg1
)->SetFilter((wxString
const &)*arg2
);
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 Py_INCREF(Py_None
); resultobj
= Py_None
;
31531 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31532 PyObject
*resultobj
;
31533 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31535 PyObject
* obj0
= 0 ;
31536 char *kwnames
[] = {
31537 (char *) "self", NULL
31540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31542 if (SWIG_arg_fail(1)) SWIG_fail
;
31544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31545 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31547 wxPyEndAllowThreads(__tstate
);
31548 if (PyErr_Occurred()) SWIG_fail
;
31551 resultobj
= SWIG_From_int((int)(result
));
31559 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31560 PyObject
*resultobj
;
31561 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31563 PyObject
* obj0
= 0 ;
31564 PyObject
* obj1
= 0 ;
31565 char *kwnames
[] = {
31566 (char *) "self",(char *) "n", NULL
31569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31571 if (SWIG_arg_fail(1)) SWIG_fail
;
31573 arg2
= (int)(SWIG_As_int(obj1
));
31574 if (SWIG_arg_fail(2)) SWIG_fail
;
31577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31578 (arg1
)->SetFilterIndex(arg2
);
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31583 Py_INCREF(Py_None
); resultobj
= Py_None
;
31590 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
;
31592 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31593 wxTreeItemId result
;
31594 PyObject
* obj0
= 0 ;
31595 char *kwnames
[] = {
31596 (char *) "self", NULL
31599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31601 if (SWIG_arg_fail(1)) SWIG_fail
;
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= (arg1
)->GetRootId();
31606 wxPyEndAllowThreads(__tstate
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31610 wxTreeItemId
* resultptr
;
31611 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31620 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31621 PyObject
*resultobj
;
31622 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31623 wxPyTreeCtrl
*result
;
31624 PyObject
* obj0
= 0 ;
31625 char *kwnames
[] = {
31626 (char *) "self", NULL
31629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31631 if (SWIG_arg_fail(1)) SWIG_fail
;
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31640 resultobj
= wxPyMake_wxObject(result
, 0);
31648 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31649 PyObject
*resultobj
;
31650 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31651 wxDirFilterListCtrl
*result
;
31652 PyObject
* obj0
= 0 ;
31653 char *kwnames
[] = {
31654 (char *) "self", NULL
31657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31659 if (SWIG_arg_fail(1)) SWIG_fail
;
31661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31662 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31664 wxPyEndAllowThreads(__tstate
);
31665 if (PyErr_Occurred()) SWIG_fail
;
31667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31674 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31675 PyObject
*resultobj
;
31676 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31677 wxTreeItemId arg2
;
31678 wxString
*arg3
= 0 ;
31680 wxTreeItemId result
;
31681 bool temp3
= false ;
31684 PyObject
* obj0
= 0 ;
31685 PyObject
* obj1
= 0 ;
31686 PyObject
* obj2
= 0 ;
31687 char *kwnames
[] = {
31688 (char *) "self",(char *) "parentId",(char *) "path", NULL
31691 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31694 if (SWIG_arg_fail(1)) SWIG_fail
;
31696 wxTreeItemId
* argp
;
31697 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31698 if (SWIG_arg_fail(2)) SWIG_fail
;
31699 if (argp
== NULL
) {
31700 SWIG_null_ref("wxTreeItemId");
31702 if (SWIG_arg_fail(2)) SWIG_fail
;
31706 arg3
= wxString_in_helper(obj2
);
31707 if (arg3
== NULL
) SWIG_fail
;
31711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31712 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31718 wxTreeItemId
* resultptr
;
31719 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31722 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31723 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31738 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31739 PyObject
*resultobj
;
31740 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31741 PyObject
* obj0
= 0 ;
31742 char *kwnames
[] = {
31743 (char *) "self", NULL
31746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31748 if (SWIG_arg_fail(1)) SWIG_fail
;
31750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31751 (arg1
)->DoResize();
31753 wxPyEndAllowThreads(__tstate
);
31754 if (PyErr_Occurred()) SWIG_fail
;
31756 Py_INCREF(Py_None
); resultobj
= Py_None
;
31763 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31764 PyObject
*resultobj
;
31765 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31766 PyObject
* obj0
= 0 ;
31767 char *kwnames
[] = {
31768 (char *) "self", NULL
31771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31773 if (SWIG_arg_fail(1)) SWIG_fail
;
31775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31776 (arg1
)->ReCreateTree();
31778 wxPyEndAllowThreads(__tstate
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31781 Py_INCREF(Py_None
); resultobj
= Py_None
;
31788 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31791 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31793 return Py_BuildValue((char *)"");
31795 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31796 PyObject
*resultobj
;
31797 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31798 int arg2
= (int) (int)-1 ;
31799 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31800 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31801 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31802 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31803 long arg5
= (long) 0 ;
31804 wxDirFilterListCtrl
*result
;
31807 PyObject
* obj0
= 0 ;
31808 PyObject
* obj1
= 0 ;
31809 PyObject
* obj2
= 0 ;
31810 PyObject
* obj3
= 0 ;
31811 PyObject
* obj4
= 0 ;
31812 char *kwnames
[] = {
31813 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31818 if (SWIG_arg_fail(1)) SWIG_fail
;
31821 arg2
= (int const)(SWIG_As_int(obj1
));
31822 if (SWIG_arg_fail(2)) SWIG_fail
;
31828 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31834 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31839 arg5
= (long)(SWIG_As_long(obj4
));
31840 if (SWIG_arg_fail(5)) SWIG_fail
;
31844 if (!wxPyCheckForApp()) SWIG_fail
;
31845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31846 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31848 wxPyEndAllowThreads(__tstate
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31858 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31859 PyObject
*resultobj
;
31860 wxDirFilterListCtrl
*result
;
31861 char *kwnames
[] = {
31865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31867 if (!wxPyCheckForApp()) SWIG_fail
;
31868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31869 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31881 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31882 PyObject
*resultobj
;
31883 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31884 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31885 int arg3
= (int) (int)-1 ;
31886 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31887 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31888 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31889 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31890 long arg6
= (long) 0 ;
31894 PyObject
* obj0
= 0 ;
31895 PyObject
* obj1
= 0 ;
31896 PyObject
* obj2
= 0 ;
31897 PyObject
* obj3
= 0 ;
31898 PyObject
* obj4
= 0 ;
31899 PyObject
* obj5
= 0 ;
31900 char *kwnames
[] = {
31901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31906 if (SWIG_arg_fail(1)) SWIG_fail
;
31907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31908 if (SWIG_arg_fail(2)) SWIG_fail
;
31911 arg3
= (int const)(SWIG_As_int(obj2
));
31912 if (SWIG_arg_fail(3)) SWIG_fail
;
31918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31929 arg6
= (long)(SWIG_As_long(obj5
));
31930 if (SWIG_arg_fail(6)) SWIG_fail
;
31934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31935 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31949 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31950 PyObject
*resultobj
;
31951 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31952 wxString
*arg2
= 0 ;
31954 bool temp2
= false ;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 PyObject
* obj2
= 0 ;
31958 char *kwnames
[] = {
31959 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31964 if (SWIG_arg_fail(1)) SWIG_fail
;
31966 arg2
= wxString_in_helper(obj1
);
31967 if (arg2
== NULL
) SWIG_fail
;
31971 arg3
= (int)(SWIG_As_int(obj2
));
31972 if (SWIG_arg_fail(3)) SWIG_fail
;
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31976 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
31978 wxPyEndAllowThreads(__tstate
);
31979 if (PyErr_Occurred()) SWIG_fail
;
31981 Py_INCREF(Py_None
); resultobj
= Py_None
;
31996 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
31998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31999 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32001 return Py_BuildValue((char *)"");
32003 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32004 PyObject
*resultobj
;
32005 wxWindow
*arg1
= (wxWindow
*) 0 ;
32006 int arg2
= (int) (int)-1 ;
32007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32011 long arg5
= (long) 0 ;
32012 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32013 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32014 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32015 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32016 wxPyControl
*result
;
32019 bool temp7
= false ;
32020 PyObject
* obj0
= 0 ;
32021 PyObject
* obj1
= 0 ;
32022 PyObject
* obj2
= 0 ;
32023 PyObject
* obj3
= 0 ;
32024 PyObject
* obj4
= 0 ;
32025 PyObject
* obj5
= 0 ;
32026 PyObject
* obj6
= 0 ;
32027 char *kwnames
[] = {
32028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32033 if (SWIG_arg_fail(1)) SWIG_fail
;
32036 arg2
= (int const)(SWIG_As_int(obj1
));
32037 if (SWIG_arg_fail(2)) SWIG_fail
;
32043 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32049 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32054 arg5
= (long)(SWIG_As_long(obj4
));
32055 if (SWIG_arg_fail(5)) SWIG_fail
;
32060 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32061 if (SWIG_arg_fail(6)) SWIG_fail
;
32062 if (arg6
== NULL
) {
32063 SWIG_null_ref("wxValidator");
32065 if (SWIG_arg_fail(6)) SWIG_fail
;
32070 arg7
= wxString_in_helper(obj6
);
32071 if (arg7
== NULL
) SWIG_fail
;
32076 if (!wxPyCheckForApp()) SWIG_fail
;
32077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32078 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32098 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32099 PyObject
*resultobj
;
32100 wxPyControl
*result
;
32101 char *kwnames
[] = {
32105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32107 if (!wxPyCheckForApp()) SWIG_fail
;
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (wxPyControl
*)new wxPyControl();
32111 wxPyEndAllowThreads(__tstate
);
32112 if (PyErr_Occurred()) SWIG_fail
;
32114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32121 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32122 PyObject
*resultobj
;
32123 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32124 PyObject
*arg2
= (PyObject
*) 0 ;
32125 PyObject
*arg3
= (PyObject
*) 0 ;
32126 PyObject
* obj0
= 0 ;
32127 PyObject
* obj1
= 0 ;
32128 PyObject
* obj2
= 0 ;
32129 char *kwnames
[] = {
32130 (char *) "self",(char *) "self",(char *) "_class", NULL
32133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32135 if (SWIG_arg_fail(1)) SWIG_fail
;
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32140 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32142 wxPyEndAllowThreads(__tstate
);
32143 if (PyErr_Occurred()) SWIG_fail
;
32145 Py_INCREF(Py_None
); resultobj
= Py_None
;
32152 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32153 PyObject
*resultobj
;
32154 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 char *kwnames
[] = {
32160 (char *) "self",(char *) "size", NULL
32163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32165 if (SWIG_arg_fail(1)) SWIG_fail
;
32168 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32172 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 Py_INCREF(Py_None
); resultobj
= Py_None
;
32184 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
;
32186 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32191 PyObject
* obj0
= 0 ;
32192 PyObject
* obj1
= 0 ;
32193 PyObject
* obj2
= 0 ;
32194 PyObject
* obj3
= 0 ;
32195 PyObject
* obj4
= 0 ;
32196 char *kwnames
[] = {
32197 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32202 if (SWIG_arg_fail(1)) SWIG_fail
;
32204 arg2
= (int)(SWIG_As_int(obj1
));
32205 if (SWIG_arg_fail(2)) SWIG_fail
;
32208 arg3
= (int)(SWIG_As_int(obj2
));
32209 if (SWIG_arg_fail(3)) SWIG_fail
;
32212 arg4
= (int)(SWIG_As_int(obj3
));
32213 if (SWIG_arg_fail(4)) SWIG_fail
;
32216 arg5
= (int)(SWIG_As_int(obj4
));
32217 if (SWIG_arg_fail(5)) SWIG_fail
;
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 Py_INCREF(Py_None
); resultobj
= Py_None
;
32233 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
;
32235 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32240 int arg6
= (int) wxSIZE_AUTO
;
32241 PyObject
* obj0
= 0 ;
32242 PyObject
* obj1
= 0 ;
32243 PyObject
* obj2
= 0 ;
32244 PyObject
* obj3
= 0 ;
32245 PyObject
* obj4
= 0 ;
32246 PyObject
* obj5
= 0 ;
32247 char *kwnames
[] = {
32248 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32253 if (SWIG_arg_fail(1)) SWIG_fail
;
32255 arg2
= (int)(SWIG_As_int(obj1
));
32256 if (SWIG_arg_fail(2)) SWIG_fail
;
32259 arg3
= (int)(SWIG_As_int(obj2
));
32260 if (SWIG_arg_fail(3)) SWIG_fail
;
32263 arg4
= (int)(SWIG_As_int(obj3
));
32264 if (SWIG_arg_fail(4)) SWIG_fail
;
32267 arg5
= (int)(SWIG_As_int(obj4
));
32268 if (SWIG_arg_fail(5)) SWIG_fail
;
32272 arg6
= (int)(SWIG_As_int(obj5
));
32273 if (SWIG_arg_fail(6)) SWIG_fail
;
32277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32278 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32280 wxPyEndAllowThreads(__tstate
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32283 Py_INCREF(Py_None
); resultobj
= Py_None
;
32290 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32291 PyObject
*resultobj
;
32292 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32295 PyObject
* obj0
= 0 ;
32296 PyObject
* obj1
= 0 ;
32297 PyObject
* obj2
= 0 ;
32298 char *kwnames
[] = {
32299 (char *) "self",(char *) "width",(char *) "height", NULL
32302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32304 if (SWIG_arg_fail(1)) SWIG_fail
;
32306 arg2
= (int)(SWIG_As_int(obj1
));
32307 if (SWIG_arg_fail(2)) SWIG_fail
;
32310 arg3
= (int)(SWIG_As_int(obj2
));
32311 if (SWIG_arg_fail(3)) SWIG_fail
;
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 Py_INCREF(Py_None
); resultobj
= Py_None
;
32327 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
;
32329 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32332 PyObject
* obj0
= 0 ;
32333 PyObject
* obj1
= 0 ;
32334 PyObject
* obj2
= 0 ;
32335 char *kwnames
[] = {
32336 (char *) "self",(char *) "x",(char *) "y", NULL
32339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32341 if (SWIG_arg_fail(1)) SWIG_fail
;
32343 arg2
= (int)(SWIG_As_int(obj1
));
32344 if (SWIG_arg_fail(2)) SWIG_fail
;
32347 arg3
= (int)(SWIG_As_int(obj2
));
32348 if (SWIG_arg_fail(3)) SWIG_fail
;
32351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32352 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32354 wxPyEndAllowThreads(__tstate
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32357 Py_INCREF(Py_None
); resultobj
= Py_None
;
32364 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32365 PyObject
*resultobj
;
32366 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32367 int *arg2
= (int *) 0 ;
32368 int *arg3
= (int *) 0 ;
32373 PyObject
* obj0
= 0 ;
32374 char *kwnames
[] = {
32375 (char *) "self", NULL
32378 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32379 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32382 if (SWIG_arg_fail(1)) SWIG_fail
;
32384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32385 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32387 wxPyEndAllowThreads(__tstate
);
32388 if (PyErr_Occurred()) SWIG_fail
;
32390 Py_INCREF(Py_None
); resultobj
= Py_None
;
32391 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32392 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32393 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32394 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32401 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32402 PyObject
*resultobj
;
32403 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32404 int *arg2
= (int *) 0 ;
32405 int *arg3
= (int *) 0 ;
32410 PyObject
* obj0
= 0 ;
32411 char *kwnames
[] = {
32412 (char *) "self", NULL
32415 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32416 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32419 if (SWIG_arg_fail(1)) SWIG_fail
;
32421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32422 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32424 wxPyEndAllowThreads(__tstate
);
32425 if (PyErr_Occurred()) SWIG_fail
;
32427 Py_INCREF(Py_None
); resultobj
= Py_None
;
32428 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32429 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32430 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32431 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32438 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32439 PyObject
*resultobj
;
32440 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32441 int *arg2
= (int *) 0 ;
32442 int *arg3
= (int *) 0 ;
32447 PyObject
* obj0
= 0 ;
32448 char *kwnames
[] = {
32449 (char *) "self", NULL
32452 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32453 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32456 if (SWIG_arg_fail(1)) SWIG_fail
;
32458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32459 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32464 Py_INCREF(Py_None
); resultobj
= Py_None
;
32465 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32466 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32467 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32468 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32475 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32476 PyObject
*resultobj
;
32477 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32479 PyObject
* obj0
= 0 ;
32480 char *kwnames
[] = {
32481 (char *) "self", NULL
32484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32486 if (SWIG_arg_fail(1)) SWIG_fail
;
32488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32491 wxPyEndAllowThreads(__tstate
);
32492 if (PyErr_Occurred()) SWIG_fail
;
32495 wxSize
* resultptr
;
32496 resultptr
= new wxSize((wxSize
&)(result
));
32497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32505 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32506 PyObject
*resultobj
;
32507 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32509 PyObject
* obj0
= 0 ;
32510 char *kwnames
[] = {
32511 (char *) "self", NULL
32514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32516 if (SWIG_arg_fail(1)) SWIG_fail
;
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32525 wxSize
* resultptr
;
32526 resultptr
= new wxSize((wxSize
&)(result
));
32527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32535 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32536 PyObject
*resultobj
;
32537 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32538 PyObject
* obj0
= 0 ;
32539 char *kwnames
[] = {
32540 (char *) "self", NULL
32543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32545 if (SWIG_arg_fail(1)) SWIG_fail
;
32547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32548 (arg1
)->base_InitDialog();
32550 wxPyEndAllowThreads(__tstate
);
32551 if (PyErr_Occurred()) SWIG_fail
;
32553 Py_INCREF(Py_None
); resultobj
= Py_None
;
32560 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32561 PyObject
*resultobj
;
32562 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32564 PyObject
* obj0
= 0 ;
32565 char *kwnames
[] = {
32566 (char *) "self", NULL
32569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32571 if (SWIG_arg_fail(1)) SWIG_fail
;
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32574 result
= (bool)(arg1
)->base_TransferDataToWindow();
32576 wxPyEndAllowThreads(__tstate
);
32577 if (PyErr_Occurred()) SWIG_fail
;
32580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32588 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32589 PyObject
*resultobj
;
32590 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32592 PyObject
* obj0
= 0 ;
32593 char *kwnames
[] = {
32594 (char *) "self", NULL
32597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32599 if (SWIG_arg_fail(1)) SWIG_fail
;
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32616 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32617 PyObject
*resultobj
;
32618 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32620 PyObject
* obj0
= 0 ;
32621 char *kwnames
[] = {
32622 (char *) "self", NULL
32625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32627 if (SWIG_arg_fail(1)) SWIG_fail
;
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 result
= (bool)(arg1
)->base_Validate();
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32644 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
;
32646 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32648 PyObject
* obj0
= 0 ;
32649 char *kwnames
[] = {
32650 (char *) "self", NULL
32653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32655 if (SWIG_arg_fail(1)) SWIG_fail
;
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32660 wxPyEndAllowThreads(__tstate
);
32661 if (PyErr_Occurred()) SWIG_fail
;
32664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32672 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32673 PyObject
*resultobj
;
32674 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32676 PyObject
* obj0
= 0 ;
32677 char *kwnames
[] = {
32678 (char *) "self", NULL
32681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32683 if (SWIG_arg_fail(1)) SWIG_fail
;
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32700 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32701 PyObject
*resultobj
;
32702 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32704 PyObject
* obj0
= 0 ;
32705 char *kwnames
[] = {
32706 (char *) "self", NULL
32709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32711 if (SWIG_arg_fail(1)) SWIG_fail
;
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32720 wxSize
* resultptr
;
32721 resultptr
= new wxSize((wxSize
&)(result
));
32722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32730 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32731 PyObject
*resultobj
;
32732 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32733 wxWindow
*arg2
= (wxWindow
*) 0 ;
32734 PyObject
* obj0
= 0 ;
32735 PyObject
* obj1
= 0 ;
32736 char *kwnames
[] = {
32737 (char *) "self",(char *) "child", NULL
32740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32742 if (SWIG_arg_fail(1)) SWIG_fail
;
32743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32744 if (SWIG_arg_fail(2)) SWIG_fail
;
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32747 (arg1
)->base_AddChild(arg2
);
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 Py_INCREF(Py_None
); resultobj
= Py_None
;
32759 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32760 PyObject
*resultobj
;
32761 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32762 wxWindow
*arg2
= (wxWindow
*) 0 ;
32763 PyObject
* obj0
= 0 ;
32764 PyObject
* obj1
= 0 ;
32765 char *kwnames
[] = {
32766 (char *) "self",(char *) "child", NULL
32769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32771 if (SWIG_arg_fail(1)) SWIG_fail
;
32772 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32773 if (SWIG_arg_fail(2)) SWIG_fail
;
32775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32776 (arg1
)->base_RemoveChild(arg2
);
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32781 Py_INCREF(Py_None
); resultobj
= Py_None
;
32788 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32789 PyObject
*resultobj
;
32790 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32792 PyObject
* obj0
= 0 ;
32793 char *kwnames
[] = {
32794 (char *) "self", NULL
32797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32799 if (SWIG_arg_fail(1)) SWIG_fail
;
32801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32802 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32804 wxPyEndAllowThreads(__tstate
);
32805 if (PyErr_Occurred()) SWIG_fail
;
32808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32816 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
;
32818 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32819 wxColour
*arg2
= 0 ;
32821 PyObject
* obj0
= 0 ;
32822 PyObject
* obj1
= 0 ;
32823 char *kwnames
[] = {
32824 (char *) "self",(char *) "c", NULL
32827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32829 if (SWIG_arg_fail(1)) SWIG_fail
;
32832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32836 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
32838 wxPyEndAllowThreads(__tstate
);
32839 if (PyErr_Occurred()) SWIG_fail
;
32841 Py_INCREF(Py_None
); resultobj
= Py_None
;
32848 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32849 PyObject
*resultobj
;
32850 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32851 wxVisualAttributes result
;
32852 PyObject
* obj0
= 0 ;
32853 char *kwnames
[] = {
32854 (char *) "self", NULL
32857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32859 if (SWIG_arg_fail(1)) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 result
= (arg1
)->base_GetDefaultAttributes();
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32868 wxVisualAttributes
* resultptr
;
32869 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32878 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32881 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32883 return Py_BuildValue((char *)"");
32885 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32886 PyObject
*resultobj
;
32887 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32888 int arg2
= (int) 0 ;
32889 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32890 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32891 wxHelpEvent
*result
;
32893 PyObject
* obj0
= 0 ;
32894 PyObject
* obj1
= 0 ;
32895 PyObject
* obj2
= 0 ;
32896 char *kwnames
[] = {
32897 (char *) "type",(char *) "winid",(char *) "pt", NULL
32900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32903 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32904 if (SWIG_arg_fail(1)) SWIG_fail
;
32909 arg2
= (int)(SWIG_As_int(obj1
));
32910 if (SWIG_arg_fail(2)) SWIG_fail
;
32916 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32933 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32934 PyObject
*resultobj
;
32935 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32937 PyObject
* obj0
= 0 ;
32938 char *kwnames
[] = {
32939 (char *) "self", NULL
32942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32944 if (SWIG_arg_fail(1)) SWIG_fail
;
32946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32947 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32953 wxPoint
* resultptr
;
32954 resultptr
= new wxPoint((wxPoint
const &)(result
));
32955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
32963 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32964 PyObject
*resultobj
;
32965 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32966 wxPoint
*arg2
= 0 ;
32968 PyObject
* obj0
= 0 ;
32969 PyObject
* obj1
= 0 ;
32970 char *kwnames
[] = {
32971 (char *) "self",(char *) "pos", NULL
32974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
32975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32976 if (SWIG_arg_fail(1)) SWIG_fail
;
32979 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32983 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
32985 wxPyEndAllowThreads(__tstate
);
32986 if (PyErr_Occurred()) SWIG_fail
;
32988 Py_INCREF(Py_None
); resultobj
= Py_None
;
32995 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32996 PyObject
*resultobj
;
32997 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32999 PyObject
* obj0
= 0 ;
33000 char *kwnames
[] = {
33001 (char *) "self", NULL
33004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33006 if (SWIG_arg_fail(1)) SWIG_fail
;
33008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33011 result
= (wxString
*) &_result_ref
;
33014 wxPyEndAllowThreads(__tstate
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33030 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33031 PyObject
*resultobj
;
33032 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33033 wxString
*arg2
= 0 ;
33034 bool temp2
= false ;
33035 PyObject
* obj0
= 0 ;
33036 PyObject
* obj1
= 0 ;
33037 char *kwnames
[] = {
33038 (char *) "self",(char *) "link", NULL
33041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33043 if (SWIG_arg_fail(1)) SWIG_fail
;
33045 arg2
= wxString_in_helper(obj1
);
33046 if (arg2
== NULL
) SWIG_fail
;
33050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33051 (arg1
)->SetLink((wxString
const &)*arg2
);
33053 wxPyEndAllowThreads(__tstate
);
33054 if (PyErr_Occurred()) SWIG_fail
;
33056 Py_INCREF(Py_None
); resultobj
= Py_None
;
33071 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33072 PyObject
*resultobj
;
33073 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33075 PyObject
* obj0
= 0 ;
33076 char *kwnames
[] = {
33077 (char *) "self", NULL
33080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33082 if (SWIG_arg_fail(1)) SWIG_fail
;
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33086 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33087 result
= (wxString
*) &_result_ref
;
33090 wxPyEndAllowThreads(__tstate
);
33091 if (PyErr_Occurred()) SWIG_fail
;
33095 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33097 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33106 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33107 PyObject
*resultobj
;
33108 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33109 wxString
*arg2
= 0 ;
33110 bool temp2
= false ;
33111 PyObject
* obj0
= 0 ;
33112 PyObject
* obj1
= 0 ;
33113 char *kwnames
[] = {
33114 (char *) "self",(char *) "target", NULL
33117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33119 if (SWIG_arg_fail(1)) SWIG_fail
;
33121 arg2
= wxString_in_helper(obj1
);
33122 if (arg2
== NULL
) SWIG_fail
;
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 (arg1
)->SetTarget((wxString
const &)*arg2
);
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33132 Py_INCREF(Py_None
); resultobj
= Py_None
;
33147 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33150 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33152 return Py_BuildValue((char *)"");
33154 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33155 PyObject
*resultobj
;
33156 wxWindow
*arg1
= (wxWindow
*) NULL
;
33157 bool arg2
= (bool) true ;
33158 wxContextHelp
*result
;
33159 PyObject
* obj0
= 0 ;
33160 PyObject
* obj1
= 0 ;
33161 char *kwnames
[] = {
33162 (char *) "window",(char *) "doNow", NULL
33165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33168 if (SWIG_arg_fail(1)) SWIG_fail
;
33172 arg2
= (bool)(SWIG_As_bool(obj1
));
33173 if (SWIG_arg_fail(2)) SWIG_fail
;
33177 if (!wxPyCheckForApp()) SWIG_fail
;
33178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33179 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33181 wxPyEndAllowThreads(__tstate
);
33182 if (PyErr_Occurred()) SWIG_fail
;
33184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33191 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33192 PyObject
*resultobj
;
33193 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33194 PyObject
* obj0
= 0 ;
33195 char *kwnames
[] = {
33196 (char *) "self", NULL
33199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33201 if (SWIG_arg_fail(1)) SWIG_fail
;
33203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33209 Py_INCREF(Py_None
); resultobj
= Py_None
;
33216 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33217 PyObject
*resultobj
;
33218 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33219 wxWindow
*arg2
= (wxWindow
*) NULL
;
33221 PyObject
* obj0
= 0 ;
33222 PyObject
* obj1
= 0 ;
33223 char *kwnames
[] = {
33224 (char *) "self",(char *) "window", NULL
33227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33229 if (SWIG_arg_fail(1)) SWIG_fail
;
33231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33232 if (SWIG_arg_fail(2)) SWIG_fail
;
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33250 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33251 PyObject
*resultobj
;
33252 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33254 PyObject
* obj0
= 0 ;
33255 char *kwnames
[] = {
33256 (char *) "self", NULL
33259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33261 if (SWIG_arg_fail(1)) SWIG_fail
;
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 result
= (bool)(arg1
)->EndContextHelp();
33266 wxPyEndAllowThreads(__tstate
);
33267 if (PyErr_Occurred()) SWIG_fail
;
33270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33278 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33281 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33283 return Py_BuildValue((char *)"");
33285 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33286 PyObject
*resultobj
;
33287 wxWindow
*arg1
= (wxWindow
*) 0 ;
33288 int arg2
= (int) wxID_CONTEXT_HELP
;
33289 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33290 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33291 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33292 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33293 long arg5
= (long) wxBU_AUTODRAW
;
33294 wxContextHelpButton
*result
;
33297 PyObject
* obj0
= 0 ;
33298 PyObject
* obj1
= 0 ;
33299 PyObject
* obj2
= 0 ;
33300 PyObject
* obj3
= 0 ;
33301 PyObject
* obj4
= 0 ;
33302 char *kwnames
[] = {
33303 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33308 if (SWIG_arg_fail(1)) SWIG_fail
;
33311 arg2
= (int)(SWIG_As_int(obj1
));
33312 if (SWIG_arg_fail(2)) SWIG_fail
;
33318 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33324 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33329 arg5
= (long)(SWIG_As_long(obj4
));
33330 if (SWIG_arg_fail(5)) SWIG_fail
;
33334 if (!wxPyCheckForApp()) SWIG_fail
;
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33348 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33351 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33353 return Py_BuildValue((char *)"");
33355 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33356 PyObject
*resultobj
;
33357 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33358 wxHelpProvider
*result
;
33359 PyObject
* obj0
= 0 ;
33360 char *kwnames
[] = {
33361 (char *) "helpProvider", NULL
33364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33366 if (SWIG_arg_fail(1)) SWIG_fail
;
33368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33369 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33371 wxPyEndAllowThreads(__tstate
);
33372 if (PyErr_Occurred()) SWIG_fail
;
33374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33381 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33382 PyObject
*resultobj
;
33383 wxHelpProvider
*result
;
33384 char *kwnames
[] = {
33388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33391 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33393 wxPyEndAllowThreads(__tstate
);
33394 if (PyErr_Occurred()) SWIG_fail
;
33396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33403 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33404 PyObject
*resultobj
;
33405 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33406 wxWindow
*arg2
= (wxWindow
*) 0 ;
33408 PyObject
* obj0
= 0 ;
33409 PyObject
* obj1
= 0 ;
33410 char *kwnames
[] = {
33411 (char *) "self",(char *) "window", NULL
33414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33416 if (SWIG_arg_fail(1)) SWIG_fail
;
33417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33418 if (SWIG_arg_fail(2)) SWIG_fail
;
33420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33421 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33423 wxPyEndAllowThreads(__tstate
);
33424 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33439 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33440 PyObject
*resultobj
;
33441 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33442 wxWindow
*arg2
= (wxWindow
*) 0 ;
33444 PyObject
* obj0
= 0 ;
33445 PyObject
* obj1
= 0 ;
33446 char *kwnames
[] = {
33447 (char *) "self",(char *) "window", NULL
33450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33452 if (SWIG_arg_fail(1)) SWIG_fail
;
33453 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33454 if (SWIG_arg_fail(2)) SWIG_fail
;
33456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33457 result
= (bool)(arg1
)->ShowHelp(arg2
);
33459 wxPyEndAllowThreads(__tstate
);
33460 if (PyErr_Occurred()) SWIG_fail
;
33463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33471 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33472 PyObject
*resultobj
;
33473 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33474 wxWindow
*arg2
= (wxWindow
*) 0 ;
33475 wxString
*arg3
= 0 ;
33476 bool temp3
= false ;
33477 PyObject
* obj0
= 0 ;
33478 PyObject
* obj1
= 0 ;
33479 PyObject
* obj2
= 0 ;
33480 char *kwnames
[] = {
33481 (char *) "self",(char *) "window",(char *) "text", NULL
33484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33486 if (SWIG_arg_fail(1)) SWIG_fail
;
33487 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33488 if (SWIG_arg_fail(2)) SWIG_fail
;
33490 arg3
= wxString_in_helper(obj2
);
33491 if (arg3
== NULL
) SWIG_fail
;
33495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33496 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33498 wxPyEndAllowThreads(__tstate
);
33499 if (PyErr_Occurred()) SWIG_fail
;
33501 Py_INCREF(Py_None
); resultobj
= Py_None
;
33516 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33517 PyObject
*resultobj
;
33518 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33520 wxString
*arg3
= 0 ;
33521 bool temp3
= false ;
33522 PyObject
* obj0
= 0 ;
33523 PyObject
* obj1
= 0 ;
33524 PyObject
* obj2
= 0 ;
33525 char *kwnames
[] = {
33526 (char *) "self",(char *) "id",(char *) "text", NULL
33529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33531 if (SWIG_arg_fail(1)) SWIG_fail
;
33533 arg2
= (int)(SWIG_As_int(obj1
));
33534 if (SWIG_arg_fail(2)) SWIG_fail
;
33537 arg3
= wxString_in_helper(obj2
);
33538 if (arg3
== NULL
) SWIG_fail
;
33542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33543 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33545 wxPyEndAllowThreads(__tstate
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33548 Py_INCREF(Py_None
); resultobj
= Py_None
;
33563 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
;
33565 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33566 wxWindow
*arg2
= (wxWindow
*) 0 ;
33567 PyObject
* obj0
= 0 ;
33568 PyObject
* obj1
= 0 ;
33569 char *kwnames
[] = {
33570 (char *) "self",(char *) "window", NULL
33573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33575 if (SWIG_arg_fail(1)) SWIG_fail
;
33576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33577 if (SWIG_arg_fail(2)) SWIG_fail
;
33579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33580 (arg1
)->RemoveHelp(arg2
);
33582 wxPyEndAllowThreads(__tstate
);
33583 if (PyErr_Occurred()) SWIG_fail
;
33585 Py_INCREF(Py_None
); resultobj
= Py_None
;
33592 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33593 PyObject
*resultobj
;
33594 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33595 PyObject
* obj0
= 0 ;
33596 char *kwnames
[] = {
33597 (char *) "self", NULL
33600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33602 if (SWIG_arg_fail(1)) SWIG_fail
;
33604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33605 wxHelpProvider_Destroy(arg1
);
33607 wxPyEndAllowThreads(__tstate
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33610 Py_INCREF(Py_None
); resultobj
= Py_None
;
33617 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33620 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33622 return Py_BuildValue((char *)"");
33624 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33625 PyObject
*resultobj
;
33626 wxSimpleHelpProvider
*result
;
33627 char *kwnames
[] = {
33631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33634 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33636 wxPyEndAllowThreads(__tstate
);
33637 if (PyErr_Occurred()) SWIG_fail
;
33639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33646 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33649 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33651 return Py_BuildValue((char *)"");
33653 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33654 PyObject
*resultobj
;
33655 wxBitmap
*arg1
= 0 ;
33656 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33657 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33658 wxGenericDragImage
*result
;
33659 PyObject
* obj0
= 0 ;
33660 PyObject
* obj1
= 0 ;
33661 char *kwnames
[] = {
33662 (char *) "image",(char *) "cursor", NULL
33665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33668 if (SWIG_arg_fail(1)) SWIG_fail
;
33669 if (arg1
== NULL
) {
33670 SWIG_null_ref("wxBitmap");
33672 if (SWIG_arg_fail(1)) SWIG_fail
;
33676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33677 if (SWIG_arg_fail(2)) SWIG_fail
;
33678 if (arg2
== NULL
) {
33679 SWIG_null_ref("wxCursor");
33681 if (SWIG_arg_fail(2)) SWIG_fail
;
33685 if (!wxPyCheckForApp()) SWIG_fail
;
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33699 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
;
33702 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33703 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33704 wxGenericDragImage
*result
;
33705 PyObject
* obj0
= 0 ;
33706 PyObject
* obj1
= 0 ;
33707 char *kwnames
[] = {
33708 (char *) "image",(char *) "cursor", NULL
33711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33714 if (SWIG_arg_fail(1)) SWIG_fail
;
33715 if (arg1
== NULL
) {
33716 SWIG_null_ref("wxIcon");
33718 if (SWIG_arg_fail(1)) SWIG_fail
;
33722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33723 if (SWIG_arg_fail(2)) SWIG_fail
;
33724 if (arg2
== NULL
) {
33725 SWIG_null_ref("wxCursor");
33727 if (SWIG_arg_fail(2)) SWIG_fail
;
33731 if (!wxPyCheckForApp()) SWIG_fail
;
33732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33733 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33745 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33746 PyObject
*resultobj
;
33747 wxString
*arg1
= 0 ;
33748 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33749 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33750 wxGenericDragImage
*result
;
33751 bool temp1
= false ;
33752 PyObject
* obj0
= 0 ;
33753 PyObject
* obj1
= 0 ;
33754 char *kwnames
[] = {
33755 (char *) "str",(char *) "cursor", NULL
33758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33760 arg1
= wxString_in_helper(obj0
);
33761 if (arg1
== NULL
) SWIG_fail
;
33766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33767 if (SWIG_arg_fail(2)) SWIG_fail
;
33768 if (arg2
== NULL
) {
33769 SWIG_null_ref("wxCursor");
33771 if (SWIG_arg_fail(2)) SWIG_fail
;
33775 if (!wxPyCheckForApp()) SWIG_fail
;
33776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33777 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33797 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33798 PyObject
*resultobj
;
33799 wxPyTreeCtrl
*arg1
= 0 ;
33800 wxTreeItemId
*arg2
= 0 ;
33801 wxGenericDragImage
*result
;
33802 PyObject
* obj0
= 0 ;
33803 PyObject
* obj1
= 0 ;
33804 char *kwnames
[] = {
33805 (char *) "treeCtrl",(char *) "id", NULL
33808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33811 if (SWIG_arg_fail(1)) SWIG_fail
;
33812 if (arg1
== NULL
) {
33813 SWIG_null_ref("wxPyTreeCtrl");
33815 if (SWIG_arg_fail(1)) SWIG_fail
;
33818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33819 if (SWIG_arg_fail(2)) SWIG_fail
;
33820 if (arg2
== NULL
) {
33821 SWIG_null_ref("wxTreeItemId");
33823 if (SWIG_arg_fail(2)) SWIG_fail
;
33826 if (!wxPyCheckForApp()) SWIG_fail
;
33827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33828 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33830 wxPyEndAllowThreads(__tstate
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33840 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33841 PyObject
*resultobj
;
33842 wxPyListCtrl
*arg1
= 0 ;
33844 wxGenericDragImage
*result
;
33845 PyObject
* obj0
= 0 ;
33846 PyObject
* obj1
= 0 ;
33847 char *kwnames
[] = {
33848 (char *) "listCtrl",(char *) "id", NULL
33851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33854 if (SWIG_arg_fail(1)) SWIG_fail
;
33855 if (arg1
== NULL
) {
33856 SWIG_null_ref("wxPyListCtrl");
33858 if (SWIG_arg_fail(1)) SWIG_fail
;
33861 arg2
= (long)(SWIG_As_long(obj1
));
33862 if (SWIG_arg_fail(2)) SWIG_fail
;
33865 if (!wxPyCheckForApp()) SWIG_fail
;
33866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33867 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33869 wxPyEndAllowThreads(__tstate
);
33870 if (PyErr_Occurred()) SWIG_fail
;
33872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33879 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33880 PyObject
*resultobj
;
33881 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33882 PyObject
* obj0
= 0 ;
33883 char *kwnames
[] = {
33884 (char *) "self", NULL
33887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33889 if (SWIG_arg_fail(1)) SWIG_fail
;
33891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 Py_INCREF(Py_None
); resultobj
= Py_None
;
33904 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33905 PyObject
*resultobj
;
33906 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33907 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33908 PyObject
* obj0
= 0 ;
33909 PyObject
* obj1
= 0 ;
33910 char *kwnames
[] = {
33911 (char *) "self",(char *) "bitmap", NULL
33914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33916 if (SWIG_arg_fail(1)) SWIG_fail
;
33917 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33918 if (SWIG_arg_fail(2)) SWIG_fail
;
33920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33921 (arg1
)->SetBackingBitmap(arg2
);
33923 wxPyEndAllowThreads(__tstate
);
33924 if (PyErr_Occurred()) SWIG_fail
;
33926 Py_INCREF(Py_None
); resultobj
= Py_None
;
33933 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33934 PyObject
*resultobj
;
33935 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33936 wxPoint
*arg2
= 0 ;
33937 wxWindow
*arg3
= (wxWindow
*) 0 ;
33938 bool arg4
= (bool) false ;
33939 wxRect
*arg5
= (wxRect
*) NULL
;
33942 PyObject
* obj0
= 0 ;
33943 PyObject
* obj1
= 0 ;
33944 PyObject
* obj2
= 0 ;
33945 PyObject
* obj3
= 0 ;
33946 PyObject
* obj4
= 0 ;
33947 char *kwnames
[] = {
33948 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33953 if (SWIG_arg_fail(1)) SWIG_fail
;
33956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33958 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33959 if (SWIG_arg_fail(3)) SWIG_fail
;
33962 arg4
= (bool)(SWIG_As_bool(obj3
));
33963 if (SWIG_arg_fail(4)) SWIG_fail
;
33967 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
33968 if (SWIG_arg_fail(5)) SWIG_fail
;
33971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33972 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
33974 wxPyEndAllowThreads(__tstate
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33986 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33987 PyObject
*resultobj
;
33988 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33989 wxPoint
*arg2
= 0 ;
33990 wxWindow
*arg3
= (wxWindow
*) 0 ;
33991 wxWindow
*arg4
= (wxWindow
*) 0 ;
33994 PyObject
* obj0
= 0 ;
33995 PyObject
* obj1
= 0 ;
33996 PyObject
* obj2
= 0 ;
33997 PyObject
* obj3
= 0 ;
33998 char *kwnames
[] = {
33999 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34004 if (SWIG_arg_fail(1)) SWIG_fail
;
34007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34009 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34010 if (SWIG_arg_fail(3)) SWIG_fail
;
34011 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34012 if (SWIG_arg_fail(4)) SWIG_fail
;
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34017 wxPyEndAllowThreads(__tstate
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34029 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34030 PyObject
*resultobj
;
34031 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34033 PyObject
* obj0
= 0 ;
34034 char *kwnames
[] = {
34035 (char *) "self", NULL
34038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34040 if (SWIG_arg_fail(1)) SWIG_fail
;
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 result
= (bool)(arg1
)->EndDrag();
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34057 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
;
34059 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34060 wxPoint
*arg2
= 0 ;
34063 PyObject
* obj0
= 0 ;
34064 PyObject
* obj1
= 0 ;
34065 char *kwnames
[] = {
34066 (char *) "self",(char *) "pt", NULL
34069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34071 if (SWIG_arg_fail(1)) SWIG_fail
;
34074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34080 wxPyEndAllowThreads(__tstate
);
34081 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34092 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34093 PyObject
*resultobj
;
34094 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34096 PyObject
* obj0
= 0 ;
34097 char *kwnames
[] = {
34098 (char *) "self", NULL
34101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail
;
34105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34106 result
= (bool)(arg1
)->Show();
34108 wxPyEndAllowThreads(__tstate
);
34109 if (PyErr_Occurred()) SWIG_fail
;
34112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34120 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34121 PyObject
*resultobj
;
34122 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34124 PyObject
* obj0
= 0 ;
34125 char *kwnames
[] = {
34126 (char *) "self", NULL
34129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34131 if (SWIG_arg_fail(1)) SWIG_fail
;
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34134 result
= (bool)(arg1
)->Hide();
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34148 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34149 PyObject
*resultobj
;
34150 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34151 wxPoint
*arg2
= 0 ;
34154 PyObject
* obj0
= 0 ;
34155 PyObject
* obj1
= 0 ;
34156 char *kwnames
[] = {
34157 (char *) "self",(char *) "pos", NULL
34160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34162 if (SWIG_arg_fail(1)) SWIG_fail
;
34165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34169 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34171 wxPyEndAllowThreads(__tstate
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34175 wxRect
* resultptr
;
34176 resultptr
= new wxRect((wxRect
&)(result
));
34177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34185 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34186 PyObject
*resultobj
;
34187 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34189 wxPoint
*arg3
= 0 ;
34192 PyObject
* obj0
= 0 ;
34193 PyObject
* obj1
= 0 ;
34194 PyObject
* obj2
= 0 ;
34195 char *kwnames
[] = {
34196 (char *) "self",(char *) "dc",(char *) "pos", NULL
34199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34201 if (SWIG_arg_fail(1)) SWIG_fail
;
34203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34204 if (SWIG_arg_fail(2)) SWIG_fail
;
34205 if (arg2
== NULL
) {
34206 SWIG_null_ref("wxDC");
34208 if (SWIG_arg_fail(2)) SWIG_fail
;
34212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34216 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34218 wxPyEndAllowThreads(__tstate
);
34219 if (PyErr_Occurred()) SWIG_fail
;
34222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34230 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34231 PyObject
*resultobj
;
34232 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34234 wxMemoryDC
*arg3
= 0 ;
34240 PyObject
* obj0
= 0 ;
34241 PyObject
* obj1
= 0 ;
34242 PyObject
* obj2
= 0 ;
34243 PyObject
* obj3
= 0 ;
34244 PyObject
* obj4
= 0 ;
34245 char *kwnames
[] = {
34246 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34251 if (SWIG_arg_fail(1)) SWIG_fail
;
34253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34254 if (SWIG_arg_fail(2)) SWIG_fail
;
34255 if (arg2
== NULL
) {
34256 SWIG_null_ref("wxDC");
34258 if (SWIG_arg_fail(2)) SWIG_fail
;
34261 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34262 if (SWIG_arg_fail(3)) SWIG_fail
;
34263 if (arg3
== NULL
) {
34264 SWIG_null_ref("wxMemoryDC");
34266 if (SWIG_arg_fail(3)) SWIG_fail
;
34270 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34274 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34278 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34292 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34293 PyObject
*resultobj
;
34294 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34295 wxPoint
*arg2
= 0 ;
34296 wxPoint
*arg3
= 0 ;
34302 PyObject
* obj0
= 0 ;
34303 PyObject
* obj1
= 0 ;
34304 PyObject
* obj2
= 0 ;
34305 PyObject
* obj3
= 0 ;
34306 PyObject
* obj4
= 0 ;
34307 char *kwnames
[] = {
34308 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34313 if (SWIG_arg_fail(1)) SWIG_fail
;
34316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34323 arg4
= (bool)(SWIG_As_bool(obj3
));
34324 if (SWIG_arg_fail(4)) SWIG_fail
;
34327 arg5
= (bool)(SWIG_As_bool(obj4
));
34328 if (SWIG_arg_fail(5)) SWIG_fail
;
34331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34332 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34334 wxPyEndAllowThreads(__tstate
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34346 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34349 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34351 return Py_BuildValue((char *)"");
34353 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34354 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34359 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34364 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34366 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34373 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34374 PyObject
*resultobj
;
34375 wxWindow
*arg1
= (wxWindow
*) 0 ;
34376 int arg2
= (int) -1 ;
34377 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34378 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34379 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34380 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34381 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34382 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34383 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34384 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34385 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34386 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34387 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34388 wxDatePickerCtrl
*result
;
34391 bool temp8
= false ;
34392 PyObject
* obj0
= 0 ;
34393 PyObject
* obj1
= 0 ;
34394 PyObject
* obj2
= 0 ;
34395 PyObject
* obj3
= 0 ;
34396 PyObject
* obj4
= 0 ;
34397 PyObject
* obj5
= 0 ;
34398 PyObject
* obj6
= 0 ;
34399 PyObject
* obj7
= 0 ;
34400 char *kwnames
[] = {
34401 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34406 if (SWIG_arg_fail(1)) SWIG_fail
;
34409 arg2
= (int)(SWIG_As_int(obj1
));
34410 if (SWIG_arg_fail(2)) SWIG_fail
;
34415 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34416 if (SWIG_arg_fail(3)) SWIG_fail
;
34417 if (arg3
== NULL
) {
34418 SWIG_null_ref("wxDateTime");
34420 if (SWIG_arg_fail(3)) SWIG_fail
;
34426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34437 arg6
= (long)(SWIG_As_long(obj5
));
34438 if (SWIG_arg_fail(6)) SWIG_fail
;
34443 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34444 if (SWIG_arg_fail(7)) SWIG_fail
;
34445 if (arg7
== NULL
) {
34446 SWIG_null_ref("wxValidator");
34448 if (SWIG_arg_fail(7)) SWIG_fail
;
34453 arg8
= wxString_in_helper(obj7
);
34454 if (arg8
== NULL
) SWIG_fail
;
34459 if (!wxPyCheckForApp()) SWIG_fail
;
34460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34461 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34463 wxPyEndAllowThreads(__tstate
);
34464 if (PyErr_Occurred()) SWIG_fail
;
34466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34481 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
;
34483 wxDatePickerCtrl
*result
;
34484 char *kwnames
[] = {
34488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34490 if (!wxPyCheckForApp()) SWIG_fail
;
34491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34492 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34504 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34505 PyObject
*resultobj
;
34506 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34507 wxWindow
*arg2
= (wxWindow
*) 0 ;
34508 int arg3
= (int) -1 ;
34509 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34510 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34511 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34512 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34513 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34514 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34515 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34516 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34517 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34518 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34519 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34523 bool temp9
= false ;
34524 PyObject
* obj0
= 0 ;
34525 PyObject
* obj1
= 0 ;
34526 PyObject
* obj2
= 0 ;
34527 PyObject
* obj3
= 0 ;
34528 PyObject
* obj4
= 0 ;
34529 PyObject
* obj5
= 0 ;
34530 PyObject
* obj6
= 0 ;
34531 PyObject
* obj7
= 0 ;
34532 PyObject
* obj8
= 0 ;
34533 char *kwnames
[] = {
34534 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34539 if (SWIG_arg_fail(1)) SWIG_fail
;
34540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34541 if (SWIG_arg_fail(2)) SWIG_fail
;
34544 arg3
= (int)(SWIG_As_int(obj2
));
34545 if (SWIG_arg_fail(3)) SWIG_fail
;
34550 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34551 if (SWIG_arg_fail(4)) SWIG_fail
;
34552 if (arg4
== NULL
) {
34553 SWIG_null_ref("wxDateTime");
34555 if (SWIG_arg_fail(4)) SWIG_fail
;
34561 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34567 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34572 arg7
= (long)(SWIG_As_long(obj6
));
34573 if (SWIG_arg_fail(7)) SWIG_fail
;
34578 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34579 if (SWIG_arg_fail(8)) SWIG_fail
;
34580 if (arg8
== NULL
) {
34581 SWIG_null_ref("wxValidator");
34583 if (SWIG_arg_fail(8)) SWIG_fail
;
34588 arg9
= wxString_in_helper(obj8
);
34589 if (arg9
== NULL
) SWIG_fail
;
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34597 wxPyEndAllowThreads(__tstate
);
34598 if (PyErr_Occurred()) SWIG_fail
;
34601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34617 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34618 PyObject
*resultobj
;
34619 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34620 wxDateTime
*arg2
= 0 ;
34621 PyObject
* obj0
= 0 ;
34622 PyObject
* obj1
= 0 ;
34623 char *kwnames
[] = {
34624 (char *) "self",(char *) "dt", NULL
34627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34629 if (SWIG_arg_fail(1)) SWIG_fail
;
34631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34632 if (SWIG_arg_fail(2)) SWIG_fail
;
34633 if (arg2
== NULL
) {
34634 SWIG_null_ref("wxDateTime");
34636 if (SWIG_arg_fail(2)) SWIG_fail
;
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34640 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34642 wxPyEndAllowThreads(__tstate
);
34643 if (PyErr_Occurred()) SWIG_fail
;
34645 Py_INCREF(Py_None
); resultobj
= Py_None
;
34652 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34653 PyObject
*resultobj
;
34654 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34656 PyObject
* obj0
= 0 ;
34657 char *kwnames
[] = {
34658 (char *) "self", NULL
34661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34663 if (SWIG_arg_fail(1)) SWIG_fail
;
34665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34666 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34668 wxPyEndAllowThreads(__tstate
);
34669 if (PyErr_Occurred()) SWIG_fail
;
34672 wxDateTime
* resultptr
;
34673 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34682 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34683 PyObject
*resultobj
;
34684 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34685 wxDateTime
*arg2
= 0 ;
34686 wxDateTime
*arg3
= 0 ;
34687 PyObject
* obj0
= 0 ;
34688 PyObject
* obj1
= 0 ;
34689 PyObject
* obj2
= 0 ;
34690 char *kwnames
[] = {
34691 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34696 if (SWIG_arg_fail(1)) SWIG_fail
;
34698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34699 if (SWIG_arg_fail(2)) SWIG_fail
;
34700 if (arg2
== NULL
) {
34701 SWIG_null_ref("wxDateTime");
34703 if (SWIG_arg_fail(2)) SWIG_fail
;
34706 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34707 if (SWIG_arg_fail(3)) SWIG_fail
;
34708 if (arg3
== NULL
) {
34709 SWIG_null_ref("wxDateTime");
34711 if (SWIG_arg_fail(3)) SWIG_fail
;
34714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34715 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34717 wxPyEndAllowThreads(__tstate
);
34718 if (PyErr_Occurred()) SWIG_fail
;
34720 Py_INCREF(Py_None
); resultobj
= Py_None
;
34727 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34728 PyObject
*resultobj
;
34729 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34731 PyObject
* obj0
= 0 ;
34732 char *kwnames
[] = {
34733 (char *) "self", NULL
34736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34738 if (SWIG_arg_fail(1)) SWIG_fail
;
34740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34741 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34743 wxPyEndAllowThreads(__tstate
);
34744 if (PyErr_Occurred()) SWIG_fail
;
34747 wxDateTime
* resultptr
;
34748 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34757 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34758 PyObject
*resultobj
;
34759 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34761 PyObject
* obj0
= 0 ;
34762 char *kwnames
[] = {
34763 (char *) "self", NULL
34766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34768 if (SWIG_arg_fail(1)) SWIG_fail
;
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34771 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34773 wxPyEndAllowThreads(__tstate
);
34774 if (PyErr_Occurred()) SWIG_fail
;
34777 wxDateTime
* resultptr
;
34778 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34787 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34790 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34792 return Py_BuildValue((char *)"");
34794 static PyMethodDef SwigMethods
[] = {
34795 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34802 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34817 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34829 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34834 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34864 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34878 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34883 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34890 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34895 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34903 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34926 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34934 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34965 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35021 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35026 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35038 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35051 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35063 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35067 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35085 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35092 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35118 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35126 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35148 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35154 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35165 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35167 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35173 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35175 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35181 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35183 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35188 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35193 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35223 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35268 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35274 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35286 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35338 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35365 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35436 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35448 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35456 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35463 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35479 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35555 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35577 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35582 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35608 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35616 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35621 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35623 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35632 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35634 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35652 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35661 { NULL
, NULL
, 0, NULL
}
35665 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35667 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35668 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35670 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35671 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35673 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35674 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35676 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35677 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35679 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35680 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35682 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35683 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35685 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35686 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35688 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35689 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35691 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35692 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35694 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35695 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35697 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35698 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35700 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35701 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35703 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35704 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35706 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35707 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35709 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35710 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35712 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35713 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35715 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35716 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35718 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35719 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35721 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35722 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35724 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35725 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35727 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35728 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35730 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35731 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35733 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35734 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35736 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35737 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35739 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35740 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35742 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35743 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35745 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35746 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35748 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35749 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35751 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35752 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35754 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35755 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35757 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35758 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35760 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35761 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35763 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35764 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35766 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35767 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35769 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35770 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35772 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35773 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35775 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35776 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35778 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35779 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35781 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35782 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35784 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35785 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35787 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35788 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35790 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35791 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35793 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35794 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35796 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35797 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35799 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35800 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35802 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35803 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35805 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35806 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35808 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35809 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35811 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35812 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35814 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35815 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35817 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35818 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35820 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35821 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35823 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35824 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35826 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35827 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35829 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35830 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35832 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35833 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35835 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35836 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35838 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35839 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35841 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35842 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35844 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35845 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35847 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35848 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35850 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35851 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35853 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35854 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35856 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35857 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35859 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35860 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35862 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35863 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35865 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35866 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35868 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35869 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35871 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35872 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35874 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35875 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35877 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35878 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35880 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35881 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35883 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35884 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35886 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35887 return (void *)((wxControl
*) ((wxGauge
*) x
));
35889 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35890 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35892 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35893 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35895 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35896 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35898 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35899 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35901 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35902 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35904 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35905 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35907 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35908 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35910 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35911 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35913 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35914 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35916 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35917 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35919 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35920 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35922 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35923 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35925 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35926 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35928 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35929 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35931 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35932 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35934 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35935 return (void *)((wxControl
*) ((wxSlider
*) x
));
35937 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35938 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35940 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35941 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35943 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35944 return (void *)((wxControl
*) ((wxButton
*) x
));
35946 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35947 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35949 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
35950 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
35952 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35953 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35955 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35956 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35958 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35959 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35961 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35962 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35964 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35965 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35967 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35968 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35970 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35971 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35973 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35974 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35976 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35977 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35979 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
35980 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35982 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
35983 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35985 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
35986 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
35988 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
35989 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
35991 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35992 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35994 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
35995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35997 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35998 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36000 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36001 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36003 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36006 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36007 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36009 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36010 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36012 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36013 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36015 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36016 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36018 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36019 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36021 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36022 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36024 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36025 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36027 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36028 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36030 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36031 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36033 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36034 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36036 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36037 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36039 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36042 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36045 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36048 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36051 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36054 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36057 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36060 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36063 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36066 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36069 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36072 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36075 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36078 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36081 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36084 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36087 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36090 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36093 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36096 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36099 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36102 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36105 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36108 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36111 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36114 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36117 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36118 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36120 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36121 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36123 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36124 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36126 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36127 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36129 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36130 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36132 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36133 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36135 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36136 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36138 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36139 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36141 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36142 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36144 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36145 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36147 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36150 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36151 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36153 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36154 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36156 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36157 return (void *)((wxObject
*) ((wxSizer
*) x
));
36159 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36160 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36162 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36165 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36168 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36169 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36171 static void *_p_wxEventTo_p_wxObject(void *x
) {
36172 return (void *)((wxObject
*) ((wxEvent
*) x
));
36174 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36175 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36177 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36178 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36180 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36181 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36183 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36186 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36189 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36192 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36193 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36195 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36196 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36198 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36199 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36201 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36202 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36204 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36205 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36207 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36208 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36210 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36213 static void *_p_wxControlTo_p_wxObject(void *x
) {
36214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36216 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36219 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36222 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36225 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36228 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36231 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36232 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36234 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36237 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36238 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36240 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36241 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36243 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36246 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36249 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36252 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36253 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36255 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36256 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36258 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36261 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36264 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36265 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36267 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36270 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36273 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36274 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36276 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36279 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36280 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36282 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36285 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36286 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36288 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36289 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36291 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36292 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36294 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36295 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36297 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36298 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36300 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36301 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36303 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36306 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36307 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36309 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36312 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36313 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36315 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36316 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36318 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36319 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36321 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36322 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36324 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36325 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36327 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36328 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36330 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36331 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36333 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36334 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36336 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36337 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36339 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36340 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36342 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36343 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36345 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36346 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36348 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36349 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36351 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36354 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36357 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36360 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36363 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36366 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36369 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36372 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36373 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36375 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36376 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36378 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36381 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36384 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36387 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36390 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36391 return (void *)((wxObject
*) ((wxListItem
*) x
));
36393 static void *_p_wxImageTo_p_wxObject(void *x
) {
36394 return (void *)((wxObject
*) ((wxImage
*) x
));
36396 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36397 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36399 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36400 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36402 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36405 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36406 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36408 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36411 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36412 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36414 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36415 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36417 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36418 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36420 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36423 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36424 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36426 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36427 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36429 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36430 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36432 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36433 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36435 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36438 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36439 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36441 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36444 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36445 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36447 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36448 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36450 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36451 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36453 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36454 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36456 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36457 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36459 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36462 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36465 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36468 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36469 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36471 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36474 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36475 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36477 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36478 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36480 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36483 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36486 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36489 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36490 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36492 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36495 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36498 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36499 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36501 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36502 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36504 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36505 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36507 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36508 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36510 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36511 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36513 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36514 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36516 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36517 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36519 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36520 return (void *)((wxWindow
*) ((wxControl
*) x
));
36522 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36523 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36525 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36526 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36528 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36529 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36531 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36532 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36534 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36535 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36537 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36538 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36540 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36541 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36543 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36544 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36546 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36547 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36549 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36550 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36552 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36553 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36555 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36556 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36558 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36559 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36561 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36562 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36564 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36565 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36567 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36568 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36570 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36571 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36573 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36574 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36576 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36577 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36579 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36580 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36582 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36583 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36585 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36586 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36588 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36589 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36591 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36592 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36594 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36595 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36597 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36598 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36600 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36601 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36603 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36604 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36606 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36607 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36609 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36610 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36612 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36613 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36615 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36616 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36618 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36619 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36621 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36622 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36624 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36625 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36627 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36628 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36630 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36631 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36633 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36634 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36636 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36637 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36639 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36640 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36642 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36643 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36645 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36646 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36648 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36649 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36651 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36652 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36654 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36655 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36657 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36658 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36660 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36661 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36663 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36664 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36666 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36667 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36669 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36670 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36672 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36673 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36675 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36676 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36678 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36679 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36681 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36682 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36684 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36685 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36687 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36688 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36690 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36691 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36693 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}};
36694 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}};
36695 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}};
36696 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}};
36697 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}};
36698 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}};
36699 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}};
36700 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}};
36701 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}};
36702 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}};
36703 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}};
36704 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}};
36705 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}};
36706 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}};
36707 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}};
36708 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}};
36709 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}};
36710 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}};
36711 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}};
36712 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36713 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}};
36714 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}};
36715 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}};
36716 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}};
36717 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}};
36718 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}};
36719 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}};
36720 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}};
36721 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}};
36722 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}};
36723 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}};
36724 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}};
36725 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}};
36726 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}};
36727 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}};
36728 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}};
36729 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}};
36730 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}};
36731 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}};
36732 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}};
36733 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}};
36734 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}};
36735 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}};
36736 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}};
36737 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}};
36738 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}};
36739 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}};
36740 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}};
36741 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}};
36742 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}};
36743 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}};
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 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}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 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}};
36756 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}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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}};
36784 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}};
36785 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36792 static swig_type_info
*swig_types_initial
[] = {
36793 _swigt__p_wxTextUrlEvent
,
36795 _swigt__p_wxCheckBox
,
36796 _swigt__p_wxPyTreeCtrl
,
36798 _swigt__p_wxGenericDirCtrl
,
36800 _swigt__p_wxItemContainer
,
36801 _swigt__p_wxPyListCtrl
,
36802 _swigt__p_wxPyTreeItemData
,
36803 _swigt__p_wxDirFilterListCtrl
,
36804 _swigt__p_wxStaticLine
,
36805 _swigt__p_wxControl
,
36806 _swigt__p_wxPyControl
,
36808 _swigt__p_wxToolBarBase
,
36810 _swigt__p_wxToggleButton
,
36811 _swigt__p_wxRadioButton
,
36812 _swigt__p_wxChoice
,
36813 _swigt__p_wxMemoryDC
,
36815 _swigt__std__ptrdiff_t
,
36816 _swigt__p_wxListItemAttr
,
36821 _swigt__p_wxListView
,
36823 _swigt__p_wxVisualAttributes
,
36824 _swigt__p_wxTextCtrl
,
36825 _swigt__p_wxNotebook
,
36826 _swigt__p_wxChoicebook
,
36827 _swigt__p_wxNotifyEvent
,
36828 _swigt__p_wxArrayString
,
36829 _swigt__p_form_ops_t
,
36830 _swigt__p_wxListbook
,
36831 _swigt__p_wxStaticBitmap
,
36832 _swigt__p_wxSlider
,
36833 _swigt__p_wxStaticBox
,
36834 _swigt__p_wxArrayInt
,
36835 _swigt__p_wxContextHelp
,
36837 _swigt__p_wxDuplexMode
,
36838 _swigt__p_wxBookCtrlBase
,
36839 _swigt__p_wxEvtHandler
,
36840 _swigt__p_wxListEvent
,
36841 _swigt__p_wxCheckListBox
,
36842 _swigt__p_wxListBox
,
36843 _swigt__p_wxSpinButton
,
36844 _swigt__p_wxButton
,
36845 _swigt__p_wxBitmapButton
,
36847 _swigt__p_wxContextHelpButton
,
36848 _swigt__p_wxRadioBox
,
36849 _swigt__p_wxScrollBar
,
36851 _swigt__p_wxComboBox
,
36852 _swigt__p_wxTreeItemId
,
36853 _swigt__p_wxHelpEvent
,
36854 _swigt__p_wxListItem
,
36855 _swigt__p_wxNotebookSizer
,
36856 _swigt__p_wxSpinEvent
,
36857 _swigt__p_wxGenericDragImage
,
36858 _swigt__p_wxSpinCtrl
,
36859 _swigt__p_wxPaperSize
,
36860 _swigt__p_wxImageList
,
36861 _swigt__p_wxHelpProvider
,
36862 _swigt__p_wxTextAttr
,
36863 _swigt__p_wxSimpleHelpProvider
,
36864 _swigt__p_wxChoicebookEvent
,
36865 _swigt__p_wxListbookEvent
,
36866 _swigt__p_wxNotebookEvent
,
36868 _swigt__p_wxObject
,
36869 _swigt__p_wxCursor
,
36870 _swigt__p_wxDateTime
,
36871 _swigt__p_wxKeyEvent
,
36872 _swigt__p_unsigned_long
,
36873 _swigt__p_wxWindow
,
36874 _swigt__p_wxString
,
36875 _swigt__p_wxBitmap
,
36876 _swigt__unsigned_int
,
36877 _swigt__p_unsigned_int
,
36878 _swigt__p_unsigned_char
,
36879 _swigt__p_wxMouseEvent
,
36880 _swigt__p_wxBookCtrlBaseEvent
,
36881 _swigt__p_wxTreeEvent
,
36882 _swigt__p_wxCommandEvent
,
36883 _swigt__p_wxStaticText
,
36884 _swigt__p_wxDatePickerCtrl
,
36885 _swigt__p_wxControlWithItems
,
36886 _swigt__p_wxToolBarToolBase
,
36887 _swigt__p_wxColour
,
36888 _swigt__p_wxToolBar
,
36889 _swigt__p_wxBookCtrlSizer
,
36890 _swigt__p_wxValidator
,
36895 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36897 static swig_const_info swig_const_table
[] = {
36898 {0, 0, 0, 0.0, 0, 0}};
36909 /* Python-specific SWIG API */
36910 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36911 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36912 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36914 /* -----------------------------------------------------------------------------
36915 * global variable support code.
36916 * ----------------------------------------------------------------------------- */
36918 typedef struct swig_globalvar
{
36919 char *name
; /* Name of global variable */
36920 PyObject
*(*get_attr
)(); /* Return the current value */
36921 int (*set_attr
)(PyObject
*); /* Set the value */
36922 struct swig_globalvar
*next
;
36925 typedef struct swig_varlinkobject
{
36927 swig_globalvar
*vars
;
36928 } swig_varlinkobject
;
36931 swig_varlink_repr(swig_varlinkobject
*v
) {
36933 return PyString_FromString("<Swig global variables>");
36937 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36938 swig_globalvar
*var
;
36940 fprintf(fp
,"Swig global variables { ");
36941 for (var
= v
->vars
; var
; var
=var
->next
) {
36942 fprintf(fp
,"%s", var
->name
);
36943 if (var
->next
) fprintf(fp
,", ");
36945 fprintf(fp
," }\n");
36950 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36951 swig_globalvar
*var
= v
->vars
;
36953 if (strcmp(var
->name
,n
) == 0) {
36954 return (*var
->get_attr
)();
36958 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36963 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36964 swig_globalvar
*var
= v
->vars
;
36966 if (strcmp(var
->name
,n
) == 0) {
36967 return (*var
->set_attr
)(p
);
36971 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36975 static PyTypeObject varlinktype
= {
36976 PyObject_HEAD_INIT(0)
36977 0, /* Number of items in variable part (ob_size) */
36978 (char *)"swigvarlink", /* Type name (tp_name) */
36979 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36980 0, /* Itemsize (tp_itemsize) */
36981 0, /* Deallocator (tp_dealloc) */
36982 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36983 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36984 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36985 0, /* tp_compare */
36986 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36987 0, /* tp_as_number */
36988 0, /* tp_as_sequence */
36989 0, /* tp_as_mapping */
36993 0, /* tp_getattro */
36994 0, /* tp_setattro */
36995 0, /* tp_as_buffer */
36998 #if PY_VERSION_HEX >= 0x02000000
36999 0, /* tp_traverse */
37002 #if PY_VERSION_HEX >= 0x02010000
37003 0, /* tp_richcompare */
37004 0, /* tp_weaklistoffset */
37006 #if PY_VERSION_HEX >= 0x02020000
37007 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37009 #if PY_VERSION_HEX >= 0x02030000
37012 #ifdef COUNT_ALLOCS
37013 0,0,0,0 /* tp_alloc -> tp_next */
37017 /* Create a variable linking object for use later */
37019 SWIG_Python_newvarlink(void) {
37020 swig_varlinkobject
*result
= 0;
37021 result
= PyMem_NEW(swig_varlinkobject
,1);
37022 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37023 result
->ob_type
= &varlinktype
;
37025 result
->ob_refcnt
= 0;
37026 Py_XINCREF((PyObject
*) result
);
37027 return ((PyObject
*) result
);
37031 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37032 swig_varlinkobject
*v
;
37033 swig_globalvar
*gv
;
37034 v
= (swig_varlinkobject
*) p
;
37035 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37036 gv
->name
= (char *) malloc(strlen(name
)+1);
37037 strcpy(gv
->name
,name
);
37038 gv
->get_attr
= get_attr
;
37039 gv
->set_attr
= set_attr
;
37040 gv
->next
= v
->vars
;
37044 /* -----------------------------------------------------------------------------
37045 * constants/methods manipulation
37046 * ----------------------------------------------------------------------------- */
37048 /* Install Constants */
37050 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37053 for (i
= 0; constants
[i
].type
; i
++) {
37054 switch(constants
[i
].type
) {
37056 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37058 case SWIG_PY_FLOAT
:
37059 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37061 case SWIG_PY_STRING
:
37062 if (constants
[i
].pvalue
) {
37063 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37065 Py_INCREF(Py_None
);
37069 case SWIG_PY_POINTER
:
37070 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37072 case SWIG_PY_BINARY
:
37073 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37080 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37086 /* -----------------------------------------------------------------------------*/
37087 /* Fix SwigMethods to carry the callback ptrs when needed */
37088 /* -----------------------------------------------------------------------------*/
37091 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37092 swig_const_info
*const_table
,
37093 swig_type_info
**types
,
37094 swig_type_info
**types_initial
) {
37096 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37097 char *c
= methods
[i
].ml_doc
;
37098 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37100 swig_const_info
*ci
= 0;
37101 char *name
= c
+ 10;
37102 for (j
= 0; const_table
[j
].type
; j
++) {
37103 if (strncmp(const_table
[j
].name
, name
,
37104 strlen(const_table
[j
].name
)) == 0) {
37105 ci
= &(const_table
[j
]);
37110 size_t shift
= (ci
->ptype
) - types
;
37111 swig_type_info
*ty
= types_initial
[shift
];
37112 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37113 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37114 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37116 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37117 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37119 strncpy(buff
, "swig_ptr: ", 10);
37121 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37122 methods
[i
].ml_doc
= ndoc
;
37128 /* -----------------------------------------------------------------------------*
37129 * Initialize type list
37130 * -----------------------------------------------------------------------------*/
37132 #if PY_MAJOR_VERSION < 2
37133 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37134 is copied out of Python/modsupport.c in python version 2.3.4 */
37136 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37139 if (!PyModule_Check(m
)) {
37140 PyErr_SetString(PyExc_TypeError
,
37141 "PyModule_AddObject() needs module as first arg");
37145 PyErr_SetString(PyExc_TypeError
,
37146 "PyModule_AddObject() needs non-NULL value");
37150 dict
= PyModule_GetDict(m
);
37151 if (dict
== NULL
) {
37152 /* Internal error -- modules must have a dict! */
37153 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37154 PyModule_GetName(m
));
37157 if (PyDict_SetItemString(dict
, name
, o
))
37164 static swig_type_info
**
37165 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37166 static PyMethodDef swig_empty_runtime_method_table
[] = {
37168 NULL
, NULL
, 0, NULL
37172 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37173 swig_empty_runtime_method_table
);
37174 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37175 if (pointer
&& module) {
37176 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37178 return type_list_handle
;
37181 static swig_type_info
**
37182 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37183 swig_type_info
**type_pointer
;
37185 /* first check if module already created */
37186 type_pointer
= SWIG_Python_GetTypeListHandle();
37187 if (type_pointer
) {
37188 return type_pointer
;
37190 /* create a new module and variable */
37191 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37199 /* -----------------------------------------------------------------------------*
37200 * Partial Init method
37201 * -----------------------------------------------------------------------------*/
37203 #ifdef SWIG_LINK_RUNTIME
37207 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37213 SWIGEXPORT(void) SWIG_init(void) {
37214 static PyObject
*SWIG_globals
= 0;
37215 static int typeinit
= 0;
37218 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37220 /* Fix SwigMethods to carry the callback ptrs when needed */
37221 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37223 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37224 d
= PyModule_GetDict(m
);
37227 #ifdef SWIG_LINK_RUNTIME
37228 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37230 # ifndef SWIG_STATIC_RUNTIME
37231 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37234 for (i
= 0; swig_types_initial
[i
]; i
++) {
37235 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37239 SWIG_InstallConstants(d
,swig_const_table
);
37241 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37242 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37244 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37247 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37250 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37253 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37256 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37259 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37262 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37264 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37266 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37269 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37272 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37275 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37278 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37281 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37283 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37284 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37285 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37287 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37290 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37293 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37296 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37298 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37299 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37300 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37301 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37302 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37304 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37307 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37310 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37313 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37316 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37319 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37322 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37325 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37328 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37331 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37334 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37337 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37340 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37343 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37346 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37349 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37352 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37355 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37358 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37361 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37364 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37367 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37370 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37373 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37376 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37379 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37382 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37385 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37388 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37391 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37394 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37397 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37400 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37403 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37406 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37409 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37412 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37415 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37418 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37421 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37424 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37427 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37430 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37432 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37433 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37434 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37435 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37436 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37437 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37438 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37440 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37443 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37446 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37449 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37451 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37452 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37453 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37454 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37456 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37459 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37462 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37465 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37468 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37471 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37474 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37477 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37480 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37483 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37486 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37488 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37489 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37490 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37492 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37495 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37498 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37501 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37504 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37507 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37510 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37513 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37516 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37519 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37522 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37524 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37525 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37527 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37530 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37533 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37536 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37539 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37542 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37544 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37545 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37547 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37550 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37553 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37556 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37559 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37562 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37564 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37565 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37567 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37570 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37573 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37576 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37579 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37582 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37585 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37588 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37591 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37594 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37597 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37600 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37603 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37606 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37608 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37610 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37613 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37616 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37619 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37622 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37625 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37628 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37631 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37634 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37637 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37640 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37643 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37646 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37649 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37652 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37655 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37658 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37661 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37664 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37667 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37670 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37673 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37676 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37679 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37682 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37685 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37688 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37691 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37694 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37697 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37700 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37703 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37706 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37709 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37712 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37715 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37718 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37721 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37724 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37727 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37730 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37733 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37736 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37739 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37742 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37745 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37748 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37751 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37754 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37757 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37760 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37763 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37766 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37769 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37772 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37775 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37778 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37781 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37784 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37787 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37790 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37793 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37796 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37799 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37802 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37805 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37808 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37811 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37813 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37814 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37815 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37816 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37817 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37818 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37819 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37820 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37821 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37822 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37823 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37824 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37825 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37826 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37827 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37828 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37829 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37830 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37831 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37832 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37833 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37834 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37836 // Map renamed classes back to their common name for OOR
37837 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37839 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37841 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37844 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37847 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37850 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37853 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37856 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37859 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37862 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37865 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37868 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37871 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37874 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37877 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37880 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37883 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37886 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37889 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37892 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37895 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37898 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37901 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37904 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37907 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37910 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37913 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37916 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37919 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37922 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37925 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37928 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37931 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37934 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37937 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37940 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37943 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37945 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37946 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37947 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37948 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37949 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37950 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37951 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37952 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37953 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37954 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37955 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37956 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37957 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37958 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37959 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37960 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37961 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37962 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37963 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37964 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37965 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37967 // Map renamed classes back to their common name for OOR
37968 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37969 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37971 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37973 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37976 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
37979 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
37982 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
37985 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
37988 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
37991 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
37993 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
37994 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
37996 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
37998 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38000 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38003 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38006 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38009 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38012 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));