1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1633 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1634 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1635 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1636 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1638 #include <wx/checklst.h>
1641 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1642 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1644 wxPyClientData
* data
= new wxPyClientData(clientData
);
1645 self
->Insert(item
, pos
, data
);
1647 self
->Insert(item
, pos
);
1649 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1651 self
->GetSelections(lst
);
1652 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1653 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1654 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1658 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1660 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1661 self
->GetItem(item
)->SetTextColour(c
);
1664 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1666 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1667 self
->GetItem(item
)->SetBackgroundColour(c
);
1670 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1672 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1673 self
->GetItem(item
)->SetFont(f
);
1676 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1678 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1684 } else if (target
== Py_None
) {
1688 if (!PyTuple_Check(target
)) {
1690 target
= PyTuple_New(1);
1691 PyTuple_SetItem(target
, 0, o2
);
1693 o3
= PyTuple_New(1);
1694 PyTuple_SetItem(o3
, 0, o
);
1697 target
= PySequence_Concat(o2
, o3
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1751 #include <wx/slider.h>
1754 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1755 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1757 #if !wxUSE_TOGGLEBTN
1758 // implement dummy items for platforms that don't have this class
1760 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1762 class wxToggleButton
: public wxControl
1765 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1766 const wxPoint
&, const wxSize
&, long,
1767 const wxValidator
&, const wxString
&)
1768 { wxPyRaiseNotImplemented(); }
1771 { wxPyRaiseNotImplemented(); }
1775 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1777 SWIGINTERNSHORT PyObject
*
1778 SWIG_From_unsigned_SS_long(unsigned long value
)
1780 return (value
> LONG_MAX
) ?
1781 PyLong_FromUnsignedLong(value
)
1782 : PyInt_FromLong((long)(value
));
1785 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1786 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1787 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1789 Py_INCREF(udata
->m_obj
);
1790 return udata
->m_obj
;
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1797 self
->SetClientData(new wxPyUserData(clientData
));
1799 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1800 wxPyUserData
* udata
= NULL
;
1801 if (clientData
&& clientData
!= Py_None
)
1802 udata
= new wxPyUserData(clientData
);
1803 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1804 shortHelp
, longHelp
, udata
);
1806 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1807 wxPyUserData
* udata
= NULL
;
1808 if (clientData
&& clientData
!= Py_None
)
1809 udata
= new wxPyUserData(clientData
);
1810 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1811 shortHelp
, longHelp
, udata
);
1813 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1814 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1816 Py_INCREF(udata
->m_obj
);
1817 return udata
->m_obj
;
1823 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1824 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1827 #include <wx/listctrl.h>
1829 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1830 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1834 PyObject
* func
= (PyObject
*)funcPtr
;
1835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1837 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1838 PyObject
* result
= PyEval_CallObject(func
, args
);
1841 retval
= PyInt_AsLong(result
);
1845 wxPyEndBlockThreads(blocked
);
1849 // C++ Version of a Python aware class
1850 class wxPyListCtrl
: public wxListCtrl
{
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1858 const wxValidator
& validator
,
1859 const wxString
& name
) :
1860 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1862 bool Create(wxWindow
* parent
, wxWindowID id
,
1866 const wxValidator
& validator
,
1867 const wxString
& name
) {
1868 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1887 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1889 item
.SetMask( wxLIST_MASK_STATE
|
1897 if (self
->GetColumn(col
, item
))
1898 return new wxListItem(item
);
1902 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1903 wxListItem
* info
= new wxListItem
;
1904 info
->m_itemId
= itemId
;
1906 info
->m_mask
= 0xFFFF;
1907 self
->GetItem(*info
);
1910 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1912 self
->GetItemPosition(item
, pos
);
1915 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1917 self
->GetItemRect(item
, rect
, code
);
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1922 if (!PyCallable_Check(func
))
1924 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1926 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1930 return (wxWindow
*)self
->m_mainWin
;
1934 #include <wx/treectrl.h>
1935 #include "wx/wxPython/pytree.h"
1937 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl
: public wxTreeCtrl
{
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1950 const wxValidator
& validator
,
1951 const wxString
& name
) :
1952 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1954 bool Create(wxWindow
*parent
, wxWindowID id
,
1958 const wxValidator
& validator
,
1959 const wxString
& name
) {
1960 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1964 int OnCompareItems(const wxTreeItemId
& item1
,
1965 const wxTreeItemId
& item2
) {
1968 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1969 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1970 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1971 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1972 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1976 wxPyEndBlockThreads(blocked
);
1978 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1988 #if UINT_MAX < LONG_MAX
1989 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2000 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2001 unsigned long max_value
,
2004 if (value
> max_value
) {
2006 PyErr_Format(PyExc_OverflowError
,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value
, errmsg
, max_value
);
2016 #if UINT_MAX != ULONG_MAX
2018 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2020 const char* errmsg
= val
? "unsigned int" : (char*)0;
2022 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2023 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2024 if (val
) *val
= (unsigned int)(v
);
2031 SWIG_type_error(errmsg
, obj
);
2036 SWIGINTERNSHORT
unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2039 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2044 SWIGINTERNSHORT
unsigned int
2045 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2048 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2050 this is needed to make valgrind/purify happier.
2052 memset((void*)&v
, 0, sizeof(unsigned int));
2059 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2061 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2064 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2065 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2067 data
= new wxPyTreeItemData();
2068 data
->SetId(item
); // set the id
2069 self
->SetItemData(item
, data
);
2073 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2074 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2076 data
= new wxPyTreeItemData();
2077 data
->SetId(item
); // set the id
2078 self
->SetItemData(item
, data
);
2080 return data
->GetData();
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2083 data
->SetId(item
); // set the id
2084 self
->SetItemData(item
, data
);
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2087 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2089 data
= new wxPyTreeItemData(obj
);
2090 data
->SetId(item
); // set the id
2091 self
->SetItemData(item
, data
);
2095 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2097 PyObject
* rval
= PyList_New(0);
2098 wxArrayTreeItemIds array
;
2100 num
= self
->GetSelections(array
);
2101 for (x
=0; x
< num
; x
++) {
2102 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2103 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval
, item
);
2107 wxPyEndBlockThreads(blocked
);
2110 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2112 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2114 PyObject
* tup
= PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2117 wxPyEndBlockThreads(blocked
);
2120 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2121 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2122 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2123 PyObject
* tup
= PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2126 wxPyEndBlockThreads(blocked
);
2129 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2131 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2132 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2133 wxRect
* r
= new wxRect(rect
);
2134 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked
);
2141 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2143 SWIGINTERNSHORT PyObject
*
2144 SWIG_From_bool(bool value
)
2146 PyObject
*obj
= value
? Py_True
: Py_False
;
2152 // C++ version of Python aware wxControl
2153 class wxPyControl
: public wxControl
2155 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2159 const wxPoint
& pos
= wxDefaultPosition
,
2160 const wxSize
& size
= wxDefaultSize
,
2162 const wxValidator
& validator
=wxDefaultValidator
,
2163 const wxString
& name
= wxPyControlNameStr
)
2164 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2166 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2168 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2169 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2171 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2177 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2178 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2180 DEC_PYCALLBACK__(InitDialog
);
2181 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2182 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2183 DEC_PYCALLBACK_BOOL_(Validate
);
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2186 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2187 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2189 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2190 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2192 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2193 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2195 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2200 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2202 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2203 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2204 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2205 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2208 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2209 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2211 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2212 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2214 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2215 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2216 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2217 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2219 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2220 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2223 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2224 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2226 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2227 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2233 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2235 #include <wx/generic/dragimgg.h>
2237 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2238 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2240 self
->GetRange(&rv
, NULL
);
2243 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2245 self
->GetRange(NULL
, &rv
);
2251 static int _wrap_ButtonNameStr_set(PyObject
*) {
2252 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2257 static PyObject
*_wrap_ButtonNameStr_get(void) {
2262 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2264 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2271 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 wxWindow
*arg1
= (wxWindow
*) 0 ;
2274 int arg2
= (int) -1 ;
2275 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2276 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2277 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2278 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2279 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2280 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2281 long arg6
= (long) 0 ;
2282 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2283 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2284 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2285 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2287 bool temp3
= false ;
2290 bool temp8
= false ;
2291 PyObject
* obj0
= 0 ;
2292 PyObject
* obj1
= 0 ;
2293 PyObject
* obj2
= 0 ;
2294 PyObject
* obj3
= 0 ;
2295 PyObject
* obj4
= 0 ;
2296 PyObject
* obj5
= 0 ;
2297 PyObject
* obj6
= 0 ;
2298 PyObject
* obj7
= 0 ;
2300 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2305 if (SWIG_arg_fail(1)) SWIG_fail
;
2308 arg2
= (int)(SWIG_As_int(obj1
));
2309 if (SWIG_arg_fail(2)) SWIG_fail
;
2314 arg3
= wxString_in_helper(obj2
);
2315 if (arg3
== NULL
) SWIG_fail
;
2322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2333 arg6
= (long)(SWIG_As_long(obj5
));
2334 if (SWIG_arg_fail(6)) SWIG_fail
;
2339 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2340 if (SWIG_arg_fail(7)) SWIG_fail
;
2342 SWIG_null_ref("wxValidator");
2344 if (SWIG_arg_fail(7)) SWIG_fail
;
2349 arg8
= wxString_in_helper(obj7
);
2350 if (arg8
== NULL
) SWIG_fail
;
2355 if (!wxPyCheckForApp()) SWIG_fail
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2385 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2394 if (!wxPyCheckForApp()) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 result
= (wxButton
*)new wxButton();
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2408 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2410 wxButton
*arg1
= (wxButton
*) 0 ;
2411 wxWindow
*arg2
= (wxWindow
*) 0 ;
2412 int arg3
= (int) -1 ;
2413 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2414 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2415 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2416 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2417 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2418 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2419 long arg7
= (long) 0 ;
2420 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2421 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2422 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2423 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2425 bool temp4
= false ;
2428 bool temp9
= false ;
2429 PyObject
* obj0
= 0 ;
2430 PyObject
* obj1
= 0 ;
2431 PyObject
* obj2
= 0 ;
2432 PyObject
* obj3
= 0 ;
2433 PyObject
* obj4
= 0 ;
2434 PyObject
* obj5
= 0 ;
2435 PyObject
* obj6
= 0 ;
2436 PyObject
* obj7
= 0 ;
2437 PyObject
* obj8
= 0 ;
2439 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2444 if (SWIG_arg_fail(1)) SWIG_fail
;
2445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2446 if (SWIG_arg_fail(2)) SWIG_fail
;
2449 arg3
= (int)(SWIG_As_int(obj2
));
2450 if (SWIG_arg_fail(3)) SWIG_fail
;
2455 arg4
= wxString_in_helper(obj3
);
2456 if (arg4
== NULL
) SWIG_fail
;
2463 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2469 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2474 arg7
= (long)(SWIG_As_long(obj6
));
2475 if (SWIG_arg_fail(7)) SWIG_fail
;
2480 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2481 if (SWIG_arg_fail(8)) SWIG_fail
;
2483 SWIG_null_ref("wxValidator");
2485 if (SWIG_arg_fail(8)) SWIG_fail
;
2490 arg9
= wxString_in_helper(obj8
);
2491 if (arg9
== NULL
) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2527 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxButton
*arg1
= (wxButton
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2532 (char *) "self", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2537 if (SWIG_arg_fail(1)) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 (arg1
)->SetDefault();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2552 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= wxButton::GetDefaultSize();
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2569 resultptr
= new wxSize((wxSize
&)(result
));
2570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2578 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2581 wxVisualAttributes result
;
2582 PyObject
* obj0
= 0 ;
2584 (char *) "variant", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2590 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2591 if (SWIG_arg_fail(1)) SWIG_fail
;
2595 if (!wxPyCheckForApp()) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2603 wxVisualAttributes
* resultptr
;
2604 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2613 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2616 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2618 return Py_BuildValue((char *)"");
2620 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
*resultobj
;
2622 wxWindow
*arg1
= (wxWindow
*) 0 ;
2623 int arg2
= (int) -1 ;
2624 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2625 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2626 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2627 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2628 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2629 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2630 long arg6
= (long) wxBU_AUTODRAW
;
2631 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2632 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2633 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2634 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2635 wxBitmapButton
*result
;
2638 bool temp8
= false ;
2639 PyObject
* obj0
= 0 ;
2640 PyObject
* obj1
= 0 ;
2641 PyObject
* obj2
= 0 ;
2642 PyObject
* obj3
= 0 ;
2643 PyObject
* obj4
= 0 ;
2644 PyObject
* obj5
= 0 ;
2645 PyObject
* obj6
= 0 ;
2646 PyObject
* obj7
= 0 ;
2648 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2653 if (SWIG_arg_fail(1)) SWIG_fail
;
2656 arg2
= (int)(SWIG_As_int(obj1
));
2657 if (SWIG_arg_fail(2)) SWIG_fail
;
2662 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2663 if (SWIG_arg_fail(3)) SWIG_fail
;
2665 SWIG_null_ref("wxBitmap");
2667 if (SWIG_arg_fail(3)) SWIG_fail
;
2673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2684 arg6
= (long)(SWIG_As_long(obj5
));
2685 if (SWIG_arg_fail(6)) SWIG_fail
;
2690 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2691 if (SWIG_arg_fail(7)) SWIG_fail
;
2693 SWIG_null_ref("wxValidator");
2695 if (SWIG_arg_fail(7)) SWIG_fail
;
2700 arg8
= wxString_in_helper(obj7
);
2701 if (arg8
== NULL
) SWIG_fail
;
2706 if (!wxPyCheckForApp()) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2728 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2730 wxBitmapButton
*result
;
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2737 if (!wxPyCheckForApp()) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 result
= (wxBitmapButton
*)new wxBitmapButton();
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2751 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2754 wxWindow
*arg2
= (wxWindow
*) 0 ;
2755 int arg3
= (int) -1 ;
2756 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2757 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2758 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2759 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2760 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2761 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2762 long arg7
= (long) wxBU_AUTODRAW
;
2763 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2764 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2765 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2766 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2770 bool temp9
= false ;
2771 PyObject
* obj0
= 0 ;
2772 PyObject
* obj1
= 0 ;
2773 PyObject
* obj2
= 0 ;
2774 PyObject
* obj3
= 0 ;
2775 PyObject
* obj4
= 0 ;
2776 PyObject
* obj5
= 0 ;
2777 PyObject
* obj6
= 0 ;
2778 PyObject
* obj7
= 0 ;
2779 PyObject
* obj8
= 0 ;
2781 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail
;
2787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2788 if (SWIG_arg_fail(2)) SWIG_fail
;
2791 arg3
= (int)(SWIG_As_int(obj2
));
2792 if (SWIG_arg_fail(3)) SWIG_fail
;
2797 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2798 if (SWIG_arg_fail(4)) SWIG_fail
;
2800 SWIG_null_ref("wxBitmap");
2802 if (SWIG_arg_fail(4)) SWIG_fail
;
2808 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2814 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2819 arg7
= (long)(SWIG_As_long(obj6
));
2820 if (SWIG_arg_fail(7)) SWIG_fail
;
2825 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2826 if (SWIG_arg_fail(8)) SWIG_fail
;
2828 SWIG_null_ref("wxValidator");
2830 if (SWIG_arg_fail(8)) SWIG_fail
;
2835 arg9
= wxString_in_helper(obj8
);
2836 if (arg9
== NULL
) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2864 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2868 PyObject
* obj0
= 0 ;
2870 (char *) "self", NULL
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2875 if (SWIG_arg_fail(1)) SWIG_fail
;
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 result
= (arg1
)->GetBitmapLabel();
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) SWIG_fail
;
2884 wxBitmap
* resultptr
;
2885 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2894 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2898 PyObject
* obj0
= 0 ;
2900 (char *) "self", NULL
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2905 if (SWIG_arg_fail(1)) SWIG_fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 result
= (arg1
)->GetBitmapDisabled();
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2914 wxBitmap
* resultptr
;
2915 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2924 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
*resultobj
;
2926 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2928 PyObject
* obj0
= 0 ;
2930 (char *) "self", NULL
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2935 if (SWIG_arg_fail(1)) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 result
= (arg1
)->GetBitmapFocus();
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2944 wxBitmap
* resultptr
;
2945 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2954 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2958 PyObject
* obj0
= 0 ;
2960 (char *) "self", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2965 if (SWIG_arg_fail(1)) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= (arg1
)->GetBitmapSelected();
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2974 wxBitmap
* resultptr
;
2975 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2984 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2987 wxBitmap
*arg2
= 0 ;
2988 PyObject
* obj0
= 0 ;
2989 PyObject
* obj1
= 0 ;
2991 (char *) "self",(char *) "bitmap", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2996 if (SWIG_arg_fail(1)) SWIG_fail
;
2998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2999 if (SWIG_arg_fail(2)) SWIG_fail
;
3001 SWIG_null_ref("wxBitmap");
3003 if (SWIG_arg_fail(2)) SWIG_fail
;
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3012 Py_INCREF(Py_None
); resultobj
= Py_None
;
3019 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3022 wxBitmap
*arg2
= 0 ;
3023 PyObject
* obj0
= 0 ;
3024 PyObject
* obj1
= 0 ;
3026 (char *) "self",(char *) "bitmap", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3031 if (SWIG_arg_fail(1)) SWIG_fail
;
3033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3034 if (SWIG_arg_fail(2)) SWIG_fail
;
3036 SWIG_null_ref("wxBitmap");
3038 if (SWIG_arg_fail(2)) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3047 Py_INCREF(Py_None
); resultobj
= Py_None
;
3054 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
*resultobj
;
3056 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3057 wxBitmap
*arg2
= 0 ;
3058 PyObject
* obj0
= 0 ;
3059 PyObject
* obj1
= 0 ;
3061 (char *) "self",(char *) "bitmap", NULL
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3066 if (SWIG_arg_fail(1)) SWIG_fail
;
3068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3069 if (SWIG_arg_fail(2)) SWIG_fail
;
3071 SWIG_null_ref("wxBitmap");
3073 if (SWIG_arg_fail(2)) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3082 Py_INCREF(Py_None
); resultobj
= Py_None
;
3089 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
;
3091 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3092 wxBitmap
*arg2
= 0 ;
3093 PyObject
* obj0
= 0 ;
3094 PyObject
* obj1
= 0 ;
3096 (char *) "self",(char *) "bitmap", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3101 if (SWIG_arg_fail(1)) SWIG_fail
;
3103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3104 if (SWIG_arg_fail(2)) SWIG_fail
;
3106 SWIG_null_ref("wxBitmap");
3108 if (SWIG_arg_fail(2)) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 Py_INCREF(Py_None
); resultobj
= Py_None
;
3124 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3129 PyObject
* obj0
= 0 ;
3130 PyObject
* obj1
= 0 ;
3131 PyObject
* obj2
= 0 ;
3133 (char *) "self",(char *) "x",(char *) "y", NULL
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3138 if (SWIG_arg_fail(1)) SWIG_fail
;
3140 arg2
= (int)(SWIG_As_int(obj1
));
3141 if (SWIG_arg_fail(2)) SWIG_fail
;
3144 arg3
= (int)(SWIG_As_int(obj2
));
3145 if (SWIG_arg_fail(3)) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 (arg1
)->SetMargins(arg2
,arg3
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3154 Py_INCREF(Py_None
); resultobj
= Py_None
;
3161 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3167 (char *) "self", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3181 resultobj
= SWIG_From_int((int)(result
));
3189 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
;
3191 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3193 PyObject
* obj0
= 0 ;
3195 (char *) "self", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3209 resultobj
= SWIG_From_int((int)(result
));
3217 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3220 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3222 return Py_BuildValue((char *)"");
3224 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3225 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3230 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3235 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3237 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3244 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxWindow
*arg1
= (wxWindow
*) 0 ;
3247 int arg2
= (int) -1 ;
3248 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3249 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3250 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3251 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3252 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3253 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3254 long arg6
= (long) 0 ;
3255 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3256 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3257 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3258 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3260 bool temp3
= false ;
3263 bool temp8
= false ;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3266 PyObject
* obj2
= 0 ;
3267 PyObject
* obj3
= 0 ;
3268 PyObject
* obj4
= 0 ;
3269 PyObject
* obj5
= 0 ;
3270 PyObject
* obj6
= 0 ;
3271 PyObject
* obj7
= 0 ;
3273 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail
;
3281 arg2
= (int)(SWIG_As_int(obj1
));
3282 if (SWIG_arg_fail(2)) SWIG_fail
;
3287 arg3
= wxString_in_helper(obj2
);
3288 if (arg3
== NULL
) SWIG_fail
;
3295 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3301 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3306 arg6
= (long)(SWIG_As_long(obj5
));
3307 if (SWIG_arg_fail(6)) SWIG_fail
;
3312 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3313 if (SWIG_arg_fail(7)) SWIG_fail
;
3315 SWIG_null_ref("wxValidator");
3317 if (SWIG_arg_fail(7)) SWIG_fail
;
3322 arg8
= wxString_in_helper(obj7
);
3323 if (arg8
== NULL
) SWIG_fail
;
3328 if (!wxPyCheckForApp()) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3358 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3367 if (!wxPyCheckForApp()) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 result
= (wxCheckBox
*)new wxCheckBox();
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3381 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3384 wxWindow
*arg2
= (wxWindow
*) 0 ;
3385 int arg3
= (int) -1 ;
3386 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3387 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3388 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3389 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3390 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3391 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3392 long arg7
= (long) 0 ;
3393 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3394 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3395 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3396 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3398 bool temp4
= false ;
3401 bool temp9
= false ;
3402 PyObject
* obj0
= 0 ;
3403 PyObject
* obj1
= 0 ;
3404 PyObject
* obj2
= 0 ;
3405 PyObject
* obj3
= 0 ;
3406 PyObject
* obj4
= 0 ;
3407 PyObject
* obj5
= 0 ;
3408 PyObject
* obj6
= 0 ;
3409 PyObject
* obj7
= 0 ;
3410 PyObject
* obj8
= 0 ;
3412 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3417 if (SWIG_arg_fail(1)) SWIG_fail
;
3418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3419 if (SWIG_arg_fail(2)) SWIG_fail
;
3422 arg3
= (int)(SWIG_As_int(obj2
));
3423 if (SWIG_arg_fail(3)) SWIG_fail
;
3428 arg4
= wxString_in_helper(obj3
);
3429 if (arg4
== NULL
) SWIG_fail
;
3436 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3442 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3447 arg7
= (long)(SWIG_As_long(obj6
));
3448 if (SWIG_arg_fail(7)) SWIG_fail
;
3453 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3454 if (SWIG_arg_fail(8)) SWIG_fail
;
3456 SWIG_null_ref("wxValidator");
3458 if (SWIG_arg_fail(8)) SWIG_fail
;
3463 arg9
= wxString_in_helper(obj8
);
3464 if (arg9
== NULL
) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3500 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3506 (char *) "self", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (bool)(arg1
)->GetValue();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3528 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3532 PyObject
* obj0
= 0 ;
3534 (char *) "self", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3539 if (SWIG_arg_fail(1)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (bool)(arg1
)->IsChecked();
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3556 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3563 (char *) "self",(char *) "state", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail
;
3570 arg2
= (bool const)(SWIG_As_bool(obj1
));
3571 if (SWIG_arg_fail(2)) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 (arg1
)->SetValue(arg2
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 Py_INCREF(Py_None
); resultobj
= Py_None
;
3587 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3590 wxCheckBoxState result
;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= SWIG_From_int((result
));
3613 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3616 wxCheckBoxState arg2
;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3620 (char *) "self",(char *) "state", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3625 if (SWIG_arg_fail(1)) SWIG_fail
;
3627 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3628 if (SWIG_arg_fail(2)) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3644 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 (char *) "self", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3655 if (SWIG_arg_fail(1)) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3672 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3678 (char *) "self", NULL
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3700 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
;
3702 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3703 wxVisualAttributes result
;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "variant", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3712 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3713 if (SWIG_arg_fail(1)) SWIG_fail
;
3717 if (!wxPyCheckForApp()) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3725 wxVisualAttributes
* resultptr
;
3726 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3735 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3738 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3740 return Py_BuildValue((char *)"");
3742 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3743 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3748 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3753 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3755 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3762 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxWindow
*arg1
= (wxWindow
*) 0 ;
3765 int arg2
= (int) -1 ;
3766 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3767 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3768 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3769 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3770 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3771 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3772 long arg6
= (long) 0 ;
3773 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3774 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3775 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3776 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3780 bool temp5
= false ;
3781 bool temp8
= false ;
3782 PyObject
* obj0
= 0 ;
3783 PyObject
* obj1
= 0 ;
3784 PyObject
* obj2
= 0 ;
3785 PyObject
* obj3
= 0 ;
3786 PyObject
* obj4
= 0 ;
3787 PyObject
* obj5
= 0 ;
3788 PyObject
* obj6
= 0 ;
3789 PyObject
* obj7
= 0 ;
3791 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3796 if (SWIG_arg_fail(1)) SWIG_fail
;
3799 arg2
= (int)(SWIG_As_int(obj1
));
3800 if (SWIG_arg_fail(2)) SWIG_fail
;
3806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3817 if (! PySequence_Check(obj4
)) {
3818 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3821 arg5
= new wxArrayString
;
3823 int i
, len
=PySequence_Length(obj4
);
3824 for (i
=0; i
<len
; i
++) {
3825 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3826 wxString
* s
= wxString_in_helper(item
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3836 arg6
= (long)(SWIG_As_long(obj5
));
3837 if (SWIG_arg_fail(6)) SWIG_fail
;
3842 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3843 if (SWIG_arg_fail(7)) SWIG_fail
;
3845 SWIG_null_ref("wxValidator");
3847 if (SWIG_arg_fail(7)) SWIG_fail
;
3852 arg8
= wxString_in_helper(obj7
);
3853 if (arg8
== NULL
) SWIG_fail
;
3858 if (!wxPyCheckForApp()) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3867 if (temp5
) delete arg5
;
3876 if (temp5
) delete arg5
;
3886 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3895 if (!wxPyCheckForApp()) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (wxChoice
*)new wxChoice();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3909 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxChoice
*arg1
= (wxChoice
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3918 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3919 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3920 long arg7
= (long) 0 ;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3928 bool temp6
= false ;
3929 bool temp9
= false ;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3932 PyObject
* obj2
= 0 ;
3933 PyObject
* obj3
= 0 ;
3934 PyObject
* obj4
= 0 ;
3935 PyObject
* obj5
= 0 ;
3936 PyObject
* obj6
= 0 ;
3937 PyObject
* obj7
= 0 ;
3938 PyObject
* obj8
= 0 ;
3940 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3945 if (SWIG_arg_fail(1)) SWIG_fail
;
3946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3947 if (SWIG_arg_fail(2)) SWIG_fail
;
3950 arg3
= (int)(SWIG_As_int(obj2
));
3951 if (SWIG_arg_fail(3)) SWIG_fail
;
3957 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3963 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3968 if (! PySequence_Check(obj5
)) {
3969 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3972 arg6
= new wxArrayString
;
3974 int i
, len
=PySequence_Length(obj5
);
3975 for (i
=0; i
<len
; i
++) {
3976 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3977 wxString
* s
= wxString_in_helper(item
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3987 arg7
= (long)(SWIG_As_long(obj6
));
3988 if (SWIG_arg_fail(7)) SWIG_fail
;
3993 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3994 if (SWIG_arg_fail(8)) SWIG_fail
;
3996 SWIG_null_ref("wxValidator");
3998 if (SWIG_arg_fail(8)) SWIG_fail
;
4003 arg9
= wxString_in_helper(obj8
);
4004 if (arg9
== NULL
) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4019 if (temp6
) delete arg6
;
4028 if (temp6
) delete arg6
;
4038 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4040 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4041 wxVisualAttributes result
;
4042 PyObject
* obj0
= 0 ;
4044 (char *) "variant", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4050 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4051 if (SWIG_arg_fail(1)) SWIG_fail
;
4055 if (!wxPyCheckForApp()) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4063 wxVisualAttributes
* resultptr
;
4064 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4073 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4076 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4078 return Py_BuildValue((char *)"");
4080 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4081 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4086 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4091 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4093 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4100 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxWindow
*arg1
= (wxWindow
*) 0 ;
4103 int arg2
= (int) -1 ;
4104 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4105 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4106 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4107 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4108 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4109 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4110 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4111 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4112 long arg7
= (long) 0 ;
4113 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4114 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4115 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4116 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4118 bool temp3
= false ;
4121 bool temp6
= false ;
4122 bool temp9
= false ;
4123 PyObject
* obj0
= 0 ;
4124 PyObject
* obj1
= 0 ;
4125 PyObject
* obj2
= 0 ;
4126 PyObject
* obj3
= 0 ;
4127 PyObject
* obj4
= 0 ;
4128 PyObject
* obj5
= 0 ;
4129 PyObject
* obj6
= 0 ;
4130 PyObject
* obj7
= 0 ;
4131 PyObject
* obj8
= 0 ;
4133 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4138 if (SWIG_arg_fail(1)) SWIG_fail
;
4141 arg2
= (int)(SWIG_As_int(obj1
));
4142 if (SWIG_arg_fail(2)) SWIG_fail
;
4147 arg3
= wxString_in_helper(obj2
);
4148 if (arg3
== NULL
) SWIG_fail
;
4155 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4161 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4166 if (! PySequence_Check(obj5
)) {
4167 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4170 arg6
= new wxArrayString
;
4172 int i
, len
=PySequence_Length(obj5
);
4173 for (i
=0; i
<len
; i
++) {
4174 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4175 wxString
* s
= wxString_in_helper(item
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4185 arg7
= (long)(SWIG_As_long(obj6
));
4186 if (SWIG_arg_fail(7)) SWIG_fail
;
4191 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4192 if (SWIG_arg_fail(8)) SWIG_fail
;
4194 SWIG_null_ref("wxValidator");
4196 if (SWIG_arg_fail(8)) SWIG_fail
;
4201 arg9
= wxString_in_helper(obj8
);
4202 if (arg9
== NULL
) SWIG_fail
;
4207 if (!wxPyCheckForApp()) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 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
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4220 if (temp6
) delete arg6
;
4233 if (temp6
) delete arg6
;
4243 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4252 if (!wxPyCheckForApp()) SWIG_fail
;
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 result
= (wxComboBox
*)new wxComboBox();
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4266 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
;
4268 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4269 wxWindow
*arg2
= (wxWindow
*) 0 ;
4270 int arg3
= (int) -1 ;
4271 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4272 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4273 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4274 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4275 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4276 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4277 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4278 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4279 long arg8
= (long) 0 ;
4280 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4281 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4282 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4283 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4285 bool temp4
= false ;
4288 bool temp7
= false ;
4289 bool temp10
= false ;
4290 PyObject
* obj0
= 0 ;
4291 PyObject
* obj1
= 0 ;
4292 PyObject
* obj2
= 0 ;
4293 PyObject
* obj3
= 0 ;
4294 PyObject
* obj4
= 0 ;
4295 PyObject
* obj5
= 0 ;
4296 PyObject
* obj6
= 0 ;
4297 PyObject
* obj7
= 0 ;
4298 PyObject
* obj8
= 0 ;
4299 PyObject
* obj9
= 0 ;
4301 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4306 if (SWIG_arg_fail(1)) SWIG_fail
;
4307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4308 if (SWIG_arg_fail(2)) SWIG_fail
;
4311 arg3
= (int)(SWIG_As_int(obj2
));
4312 if (SWIG_arg_fail(3)) SWIG_fail
;
4317 arg4
= wxString_in_helper(obj3
);
4318 if (arg4
== NULL
) SWIG_fail
;
4325 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4331 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4336 if (! PySequence_Check(obj6
)) {
4337 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4340 arg7
= new wxArrayString
;
4342 int i
, len
=PySequence_Length(obj6
);
4343 for (i
=0; i
<len
; i
++) {
4344 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4345 wxString
* s
= wxString_in_helper(item
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4355 arg8
= (long)(SWIG_As_long(obj7
));
4356 if (SWIG_arg_fail(8)) SWIG_fail
;
4361 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4362 if (SWIG_arg_fail(9)) SWIG_fail
;
4364 SWIG_null_ref("wxValidator");
4366 if (SWIG_arg_fail(9)) SWIG_fail
;
4371 arg10
= wxString_in_helper(obj9
);
4372 if (arg10
== NULL
) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 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
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4391 if (temp7
) delete arg7
;
4404 if (temp7
) delete arg7
;
4414 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4420 (char *) "self", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4425 if (SWIG_arg_fail(1)) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= ((wxComboBox
const *)arg1
)->GetValue();
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4446 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4449 wxString
*arg2
= 0 ;
4450 bool temp2
= false ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4454 (char *) "self",(char *) "value", NULL
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4459 if (SWIG_arg_fail(1)) SWIG_fail
;
4461 arg2
= wxString_in_helper(obj1
);
4462 if (arg2
== NULL
) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->SetValue((wxString
const &)*arg2
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 Py_INCREF(Py_None
); resultobj
= Py_None
;
4487 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4492 (char *) "self", NULL
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4497 if (SWIG_arg_fail(1)) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4515 PyObject
* obj0
= 0 ;
4517 (char *) "self", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4522 if (SWIG_arg_fail(1)) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4530 Py_INCREF(Py_None
); resultobj
= Py_None
;
4537 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
;
4539 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "self", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4547 if (SWIG_arg_fail(1)) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 Py_INCREF(Py_None
); resultobj
= Py_None
;
4562 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4566 PyObject
* obj0
= 0 ;
4567 PyObject
* obj1
= 0 ;
4569 (char *) "self",(char *) "pos", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4574 if (SWIG_arg_fail(1)) SWIG_fail
;
4576 arg2
= (long)(SWIG_As_long(obj1
));
4577 if (SWIG_arg_fail(2)) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 (arg1
)->SetInsertionPoint(arg2
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 Py_INCREF(Py_None
); resultobj
= Py_None
;
4593 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "self", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4604 if (SWIG_arg_fail(1)) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_From_long((long)(result
));
4621 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "self", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= SWIG_From_long((long)(result
));
4649 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4654 wxString
*arg4
= 0 ;
4655 bool temp4
= false ;
4656 PyObject
* obj0
= 0 ;
4657 PyObject
* obj1
= 0 ;
4658 PyObject
* obj2
= 0 ;
4659 PyObject
* obj3
= 0 ;
4661 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4666 if (SWIG_arg_fail(1)) SWIG_fail
;
4668 arg2
= (long)(SWIG_As_long(obj1
));
4669 if (SWIG_arg_fail(2)) SWIG_fail
;
4672 arg3
= (long)(SWIG_As_long(obj2
));
4673 if (SWIG_arg_fail(3)) SWIG_fail
;
4676 arg4
= wxString_in_helper(obj3
);
4677 if (arg4
== NULL
) SWIG_fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 Py_INCREF(Py_None
); resultobj
= Py_None
;
4702 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4706 PyObject
* obj0
= 0 ;
4707 PyObject
* obj1
= 0 ;
4709 (char *) "self",(char *) "n", NULL
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4714 if (SWIG_arg_fail(1)) SWIG_fail
;
4716 arg2
= (int)(SWIG_As_int(obj1
));
4717 if (SWIG_arg_fail(2)) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 (arg1
)->SetSelection(arg2
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 Py_INCREF(Py_None
); resultobj
= Py_None
;
4733 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
;
4735 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4738 PyObject
* obj0
= 0 ;
4739 PyObject
* obj1
= 0 ;
4740 PyObject
* obj2
= 0 ;
4742 (char *) "self",(char *) "from",(char *) "to", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4747 if (SWIG_arg_fail(1)) SWIG_fail
;
4749 arg2
= (long)(SWIG_As_long(obj1
));
4750 if (SWIG_arg_fail(2)) SWIG_fail
;
4753 arg3
= (long)(SWIG_As_long(obj2
));
4754 if (SWIG_arg_fail(3)) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 (arg1
)->SetSelection(arg2
,arg3
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 Py_INCREF(Py_None
); resultobj
= Py_None
;
4770 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4773 wxString
*arg2
= 0 ;
4775 bool temp2
= false ;
4776 PyObject
* obj0
= 0 ;
4777 PyObject
* obj1
= 0 ;
4779 (char *) "self",(char *) "string", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4784 if (SWIG_arg_fail(1)) SWIG_fail
;
4786 arg2
= wxString_in_helper(obj1
);
4787 if (arg2
== NULL
) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4814 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4818 wxString
*arg3
= 0 ;
4819 bool temp3
= false ;
4820 PyObject
* obj0
= 0 ;
4821 PyObject
* obj1
= 0 ;
4822 PyObject
* obj2
= 0 ;
4824 (char *) "self",(char *) "n",(char *) "string", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4829 if (SWIG_arg_fail(1)) SWIG_fail
;
4831 arg2
= (int)(SWIG_As_int(obj1
));
4832 if (SWIG_arg_fail(2)) SWIG_fail
;
4835 arg3
= wxString_in_helper(obj2
);
4836 if (arg3
== NULL
) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 Py_INCREF(Py_None
); resultobj
= Py_None
;
4861 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4866 PyObject
* obj1
= 0 ;
4868 (char *) "self",(char *) "editable", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail
;
4875 arg2
= (bool)(SWIG_As_bool(obj1
));
4876 if (SWIG_arg_fail(2)) SWIG_fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 (arg1
)->SetEditable(arg2
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 Py_INCREF(Py_None
); resultobj
= Py_None
;
4892 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4902 if (SWIG_arg_fail(1)) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 (arg1
)->SetInsertionPointEnd();
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 Py_INCREF(Py_None
); resultobj
= Py_None
;
4917 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
;
4919 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4922 PyObject
* obj0
= 0 ;
4923 PyObject
* obj1
= 0 ;
4924 PyObject
* obj2
= 0 ;
4926 (char *) "self",(char *) "from",(char *) "to", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4931 if (SWIG_arg_fail(1)) SWIG_fail
;
4933 arg2
= (long)(SWIG_As_long(obj1
));
4934 if (SWIG_arg_fail(2)) SWIG_fail
;
4937 arg3
= (long)(SWIG_As_long(obj2
));
4938 if (SWIG_arg_fail(3)) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 (arg1
)->Remove(arg2
,arg3
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 Py_INCREF(Py_None
); resultobj
= Py_None
;
4954 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
4964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4965 if (SWIG_arg_fail(1)) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4982 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4987 (char *) "self", NULL
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
4991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4992 if (SWIG_arg_fail(1)) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 Py_INCREF(Py_None
); resultobj
= Py_None
;
5007 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
;
5009 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5010 PyObject
* obj0
= 0 ;
5012 (char *) "self", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5017 if (SWIG_arg_fail(1)) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 Py_INCREF(Py_None
); resultobj
= Py_None
;
5032 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5037 (char *) "self", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5042 if (SWIG_arg_fail(1)) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 (arg1
)->SelectAll();
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 Py_INCREF(Py_None
); resultobj
= Py_None
;
5057 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
;
5059 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5063 (char *) "self", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5068 if (SWIG_arg_fail(1)) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5085 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
;
5087 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5089 PyObject
* obj0
= 0 ;
5091 (char *) "self", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5113 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5119 (char *) "self", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5141 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5147 (char *) "self", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5152 if (SWIG_arg_fail(1)) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5169 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5180 if (SWIG_arg_fail(1)) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5197 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5200 wxVisualAttributes result
;
5201 PyObject
* obj0
= 0 ;
5203 (char *) "variant", NULL
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5209 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5210 if (SWIG_arg_fail(1)) SWIG_fail
;
5214 if (!wxPyCheckForApp()) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5222 wxVisualAttributes
* resultptr
;
5223 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5232 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5235 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5237 return Py_BuildValue((char *)"");
5239 static int _wrap_GaugeNameStr_set(PyObject
*) {
5240 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5245 static PyObject
*_wrap_GaugeNameStr_get(void) {
5250 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5252 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5259 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxWindow
*arg1
= (wxWindow
*) 0 ;
5262 int arg2
= (int) -1 ;
5263 int arg3
= (int) 100 ;
5264 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5265 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5266 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5267 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5268 long arg6
= (long) wxGA_HORIZONTAL
;
5269 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5270 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5271 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5272 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5276 bool temp8
= false ;
5277 PyObject
* obj0
= 0 ;
5278 PyObject
* obj1
= 0 ;
5279 PyObject
* obj2
= 0 ;
5280 PyObject
* obj3
= 0 ;
5281 PyObject
* obj4
= 0 ;
5282 PyObject
* obj5
= 0 ;
5283 PyObject
* obj6
= 0 ;
5284 PyObject
* obj7
= 0 ;
5286 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5291 if (SWIG_arg_fail(1)) SWIG_fail
;
5294 arg2
= (int)(SWIG_As_int(obj1
));
5295 if (SWIG_arg_fail(2)) SWIG_fail
;
5300 arg3
= (int)(SWIG_As_int(obj2
));
5301 if (SWIG_arg_fail(3)) SWIG_fail
;
5307 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5313 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5318 arg6
= (long)(SWIG_As_long(obj5
));
5319 if (SWIG_arg_fail(6)) SWIG_fail
;
5324 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5325 if (SWIG_arg_fail(7)) SWIG_fail
;
5327 SWIG_null_ref("wxValidator");
5329 if (SWIG_arg_fail(7)) SWIG_fail
;
5334 arg8
= wxString_in_helper(obj7
);
5335 if (arg8
== NULL
) SWIG_fail
;
5340 if (!wxPyCheckForApp()) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5362 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5371 if (!wxPyCheckForApp()) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 result
= (wxGauge
*)new wxGauge();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5385 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxGauge
*arg1
= (wxGauge
*) 0 ;
5388 wxWindow
*arg2
= (wxWindow
*) 0 ;
5389 int arg3
= (int) -1 ;
5390 int arg4
= (int) 100 ;
5391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5395 long arg7
= (long) wxGA_HORIZONTAL
;
5396 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5397 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5398 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5399 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5403 bool temp9
= false ;
5404 PyObject
* obj0
= 0 ;
5405 PyObject
* obj1
= 0 ;
5406 PyObject
* obj2
= 0 ;
5407 PyObject
* obj3
= 0 ;
5408 PyObject
* obj4
= 0 ;
5409 PyObject
* obj5
= 0 ;
5410 PyObject
* obj6
= 0 ;
5411 PyObject
* obj7
= 0 ;
5412 PyObject
* obj8
= 0 ;
5414 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5419 if (SWIG_arg_fail(1)) SWIG_fail
;
5420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5421 if (SWIG_arg_fail(2)) SWIG_fail
;
5424 arg3
= (int)(SWIG_As_int(obj2
));
5425 if (SWIG_arg_fail(3)) SWIG_fail
;
5430 arg4
= (int)(SWIG_As_int(obj3
));
5431 if (SWIG_arg_fail(4)) SWIG_fail
;
5437 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5443 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5448 arg7
= (long)(SWIG_As_long(obj6
));
5449 if (SWIG_arg_fail(7)) SWIG_fail
;
5454 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5455 if (SWIG_arg_fail(8)) SWIG_fail
;
5457 SWIG_null_ref("wxValidator");
5459 if (SWIG_arg_fail(8)) SWIG_fail
;
5464 arg9
= wxString_in_helper(obj8
);
5465 if (arg9
== NULL
) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5493 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxGauge
*arg1
= (wxGauge
*) 0 ;
5497 PyObject
* obj0
= 0 ;
5498 PyObject
* obj1
= 0 ;
5500 (char *) "self",(char *) "range", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5505 if (SWIG_arg_fail(1)) SWIG_fail
;
5507 arg2
= (int)(SWIG_As_int(obj1
));
5508 if (SWIG_arg_fail(2)) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 (arg1
)->SetRange(arg2
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5517 Py_INCREF(Py_None
); resultobj
= Py_None
;
5524 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxGauge
*arg1
= (wxGauge
*) 0 ;
5528 PyObject
* obj0
= 0 ;
5530 (char *) "self", NULL
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5535 if (SWIG_arg_fail(1)) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_From_int((int)(result
));
5552 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
;
5554 wxGauge
*arg1
= (wxGauge
*) 0 ;
5556 PyObject
* obj0
= 0 ;
5557 PyObject
* obj1
= 0 ;
5559 (char *) "self",(char *) "pos", NULL
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5564 if (SWIG_arg_fail(1)) SWIG_fail
;
5566 arg2
= (int)(SWIG_As_int(obj1
));
5567 if (SWIG_arg_fail(2)) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 (arg1
)->SetValue(arg2
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 Py_INCREF(Py_None
); resultobj
= Py_None
;
5583 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5585 wxGauge
*arg1
= (wxGauge
*) 0 ;
5587 PyObject
* obj0
= 0 ;
5589 (char *) "self", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5594 if (SWIG_arg_fail(1)) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_From_int((int)(result
));
5611 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxGauge
*arg1
= (wxGauge
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5617 (char *) "self", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5622 if (SWIG_arg_fail(1)) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5639 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxGauge
*arg1
= (wxGauge
*) 0 ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5646 (char *) "self",(char *) "w", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5651 if (SWIG_arg_fail(1)) SWIG_fail
;
5653 arg2
= (int)(SWIG_As_int(obj1
));
5654 if (SWIG_arg_fail(2)) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 (arg1
)->SetShadowWidth(arg2
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 Py_INCREF(Py_None
); resultobj
= Py_None
;
5670 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxGauge
*arg1
= (wxGauge
*) 0 ;
5674 PyObject
* obj0
= 0 ;
5676 (char *) "self", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5681 if (SWIG_arg_fail(1)) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_From_int((int)(result
));
5698 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxGauge
*arg1
= (wxGauge
*) 0 ;
5702 PyObject
* obj0
= 0 ;
5703 PyObject
* obj1
= 0 ;
5705 (char *) "self",(char *) "w", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5710 if (SWIG_arg_fail(1)) SWIG_fail
;
5712 arg2
= (int)(SWIG_As_int(obj1
));
5713 if (SWIG_arg_fail(2)) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 (arg1
)->SetBezelFace(arg2
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5722 Py_INCREF(Py_None
); resultobj
= Py_None
;
5729 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
*resultobj
;
5731 wxGauge
*arg1
= (wxGauge
*) 0 ;
5733 PyObject
* obj0
= 0 ;
5735 (char *) "self", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5740 if (SWIG_arg_fail(1)) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5749 resultobj
= SWIG_From_int((int)(result
));
5757 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
;
5759 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5760 wxVisualAttributes result
;
5761 PyObject
* obj0
= 0 ;
5763 (char *) "variant", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5769 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5770 if (SWIG_arg_fail(1)) SWIG_fail
;
5774 if (!wxPyCheckForApp()) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5782 wxVisualAttributes
* resultptr
;
5783 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5792 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5795 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5797 return Py_BuildValue((char *)"");
5799 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5800 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5805 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5810 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5812 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5819 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5820 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5825 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5830 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5832 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5839 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5840 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5845 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5850 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5852 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5859 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxWindow
*arg1
= (wxWindow
*) 0 ;
5862 int arg2
= (int) -1 ;
5863 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5864 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5869 long arg6
= (long) 0 ;
5870 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5872 wxStaticBox
*result
;
5873 bool temp3
= false ;
5876 bool temp7
= false ;
5877 PyObject
* obj0
= 0 ;
5878 PyObject
* obj1
= 0 ;
5879 PyObject
* obj2
= 0 ;
5880 PyObject
* obj3
= 0 ;
5881 PyObject
* obj4
= 0 ;
5882 PyObject
* obj5
= 0 ;
5883 PyObject
* obj6
= 0 ;
5885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5890 if (SWIG_arg_fail(1)) SWIG_fail
;
5893 arg2
= (int)(SWIG_As_int(obj1
));
5894 if (SWIG_arg_fail(2)) SWIG_fail
;
5899 arg3
= wxString_in_helper(obj2
);
5900 if (arg3
== NULL
) SWIG_fail
;
5907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5918 arg6
= (long)(SWIG_As_long(obj5
));
5919 if (SWIG_arg_fail(6)) SWIG_fail
;
5924 arg7
= wxString_in_helper(obj6
);
5925 if (arg7
== NULL
) SWIG_fail
;
5930 if (!wxPyCheckForApp()) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5960 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxStaticBox
*result
;
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
5969 if (!wxPyCheckForApp()) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (wxStaticBox
*)new wxStaticBox();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5983 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
5986 wxWindow
*arg2
= (wxWindow
*) 0 ;
5987 int arg3
= (int) -1 ;
5988 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5989 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5990 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5991 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5992 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5993 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5994 long arg7
= (long) 0 ;
5995 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
5996 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5998 bool temp4
= false ;
6001 bool temp8
= false ;
6002 PyObject
* obj0
= 0 ;
6003 PyObject
* obj1
= 0 ;
6004 PyObject
* obj2
= 0 ;
6005 PyObject
* obj3
= 0 ;
6006 PyObject
* obj4
= 0 ;
6007 PyObject
* obj5
= 0 ;
6008 PyObject
* obj6
= 0 ;
6009 PyObject
* obj7
= 0 ;
6011 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6016 if (SWIG_arg_fail(1)) SWIG_fail
;
6017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6018 if (SWIG_arg_fail(2)) SWIG_fail
;
6021 arg3
= (int)(SWIG_As_int(obj2
));
6022 if (SWIG_arg_fail(3)) SWIG_fail
;
6027 arg4
= wxString_in_helper(obj3
);
6028 if (arg4
== NULL
) SWIG_fail
;
6035 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6041 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6046 arg7
= (long)(SWIG_As_long(obj6
));
6047 if (SWIG_arg_fail(7)) SWIG_fail
;
6052 arg8
= wxString_in_helper(obj7
);
6053 if (arg8
== NULL
) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6089 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6092 wxVisualAttributes result
;
6093 PyObject
* obj0
= 0 ;
6095 (char *) "variant", NULL
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6101 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6102 if (SWIG_arg_fail(1)) SWIG_fail
;
6106 if (!wxPyCheckForApp()) SWIG_fail
;
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6114 wxVisualAttributes
* resultptr
;
6115 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6124 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6127 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6129 return Py_BuildValue((char *)"");
6131 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
;
6133 wxWindow
*arg1
= (wxWindow
*) 0 ;
6134 int arg2
= (int) -1 ;
6135 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6136 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6137 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6138 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6139 long arg5
= (long) wxLI_HORIZONTAL
;
6140 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6141 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6142 wxStaticLine
*result
;
6145 bool temp6
= false ;
6146 PyObject
* obj0
= 0 ;
6147 PyObject
* obj1
= 0 ;
6148 PyObject
* obj2
= 0 ;
6149 PyObject
* obj3
= 0 ;
6150 PyObject
* obj4
= 0 ;
6151 PyObject
* obj5
= 0 ;
6153 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6158 if (SWIG_arg_fail(1)) SWIG_fail
;
6161 arg2
= (int)(SWIG_As_int(obj1
));
6162 if (SWIG_arg_fail(2)) SWIG_fail
;
6168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6174 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6179 arg5
= (long)(SWIG_As_long(obj4
));
6180 if (SWIG_arg_fail(5)) SWIG_fail
;
6185 arg6
= wxString_in_helper(obj5
);
6186 if (arg6
== NULL
) SWIG_fail
;
6191 if (!wxPyCheckForApp()) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6213 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxStaticLine
*result
;
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6222 if (!wxPyCheckForApp()) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (wxStaticLine
*)new wxStaticLine();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6236 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6239 wxWindow
*arg2
= (wxWindow
*) 0 ;
6240 int arg3
= (int) -1 ;
6241 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6242 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6243 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6244 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6245 long arg6
= (long) wxLI_HORIZONTAL
;
6246 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6247 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6251 bool temp7
= false ;
6252 PyObject
* obj0
= 0 ;
6253 PyObject
* obj1
= 0 ;
6254 PyObject
* obj2
= 0 ;
6255 PyObject
* obj3
= 0 ;
6256 PyObject
* obj4
= 0 ;
6257 PyObject
* obj5
= 0 ;
6258 PyObject
* obj6
= 0 ;
6260 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6265 if (SWIG_arg_fail(1)) SWIG_fail
;
6266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6267 if (SWIG_arg_fail(2)) SWIG_fail
;
6270 arg3
= (int)(SWIG_As_int(obj2
));
6271 if (SWIG_arg_fail(3)) SWIG_fail
;
6277 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6283 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6288 arg6
= (long)(SWIG_As_long(obj5
));
6289 if (SWIG_arg_fail(6)) SWIG_fail
;
6294 arg7
= wxString_in_helper(obj6
);
6295 if (arg7
== NULL
) SWIG_fail
;
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6323 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6327 PyObject
* obj0
= 0 ;
6329 (char *) "self", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6334 if (SWIG_arg_fail(1)) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6351 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (int)wxStaticLine::GetDefaultSize();
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_From_int((int)(result
));
6375 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6378 wxVisualAttributes result
;
6379 PyObject
* obj0
= 0 ;
6381 (char *) "variant", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6387 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6388 if (SWIG_arg_fail(1)) SWIG_fail
;
6392 if (!wxPyCheckForApp()) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 wxVisualAttributes
* resultptr
;
6401 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6410 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6413 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6415 return Py_BuildValue((char *)"");
6417 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxWindow
*arg1
= (wxWindow
*) 0 ;
6420 int arg2
= (int) -1 ;
6421 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6422 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6427 long arg6
= (long) 0 ;
6428 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6429 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6430 wxStaticText
*result
;
6431 bool temp3
= false ;
6434 bool temp7
= false ;
6435 PyObject
* obj0
= 0 ;
6436 PyObject
* obj1
= 0 ;
6437 PyObject
* obj2
= 0 ;
6438 PyObject
* obj3
= 0 ;
6439 PyObject
* obj4
= 0 ;
6440 PyObject
* obj5
= 0 ;
6441 PyObject
* obj6
= 0 ;
6443 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6448 if (SWIG_arg_fail(1)) SWIG_fail
;
6451 arg2
= (int)(SWIG_As_int(obj1
));
6452 if (SWIG_arg_fail(2)) SWIG_fail
;
6457 arg3
= wxString_in_helper(obj2
);
6458 if (arg3
== NULL
) SWIG_fail
;
6465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6476 arg6
= (long)(SWIG_As_long(obj5
));
6477 if (SWIG_arg_fail(6)) SWIG_fail
;
6482 arg7
= wxString_in_helper(obj6
);
6483 if (arg7
== NULL
) SWIG_fail
;
6488 if (!wxPyCheckForApp()) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6518 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxStaticText
*result
;
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6527 if (!wxPyCheckForApp()) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (wxStaticText
*)new wxStaticText();
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6541 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6544 wxWindow
*arg2
= (wxWindow
*) 0 ;
6545 int arg3
= (int) -1 ;
6546 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6547 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6548 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6549 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6550 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6551 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6552 long arg7
= (long) 0 ;
6553 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6554 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6556 bool temp4
= false ;
6559 bool temp8
= false ;
6560 PyObject
* obj0
= 0 ;
6561 PyObject
* obj1
= 0 ;
6562 PyObject
* obj2
= 0 ;
6563 PyObject
* obj3
= 0 ;
6564 PyObject
* obj4
= 0 ;
6565 PyObject
* obj5
= 0 ;
6566 PyObject
* obj6
= 0 ;
6567 PyObject
* obj7
= 0 ;
6569 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6574 if (SWIG_arg_fail(1)) SWIG_fail
;
6575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6576 if (SWIG_arg_fail(2)) SWIG_fail
;
6579 arg3
= (int)(SWIG_As_int(obj2
));
6580 if (SWIG_arg_fail(3)) SWIG_fail
;
6585 arg4
= wxString_in_helper(obj3
);
6586 if (arg4
== NULL
) SWIG_fail
;
6593 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6599 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6604 arg7
= (long)(SWIG_As_long(obj6
));
6605 if (SWIG_arg_fail(7)) SWIG_fail
;
6610 arg8
= wxString_in_helper(obj7
);
6611 if (arg8
== NULL
) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6647 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6650 wxVisualAttributes result
;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "variant", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6659 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6660 if (SWIG_arg_fail(1)) SWIG_fail
;
6664 if (!wxPyCheckForApp()) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6672 wxVisualAttributes
* resultptr
;
6673 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6682 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6685 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6687 return Py_BuildValue((char *)"");
6689 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxWindow
*arg1
= (wxWindow
*) 0 ;
6692 int arg2
= (int) -1 ;
6693 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6694 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6699 long arg6
= (long) 0 ;
6700 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6701 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6702 wxStaticBitmap
*result
;
6705 bool temp7
= false ;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6708 PyObject
* obj2
= 0 ;
6709 PyObject
* obj3
= 0 ;
6710 PyObject
* obj4
= 0 ;
6711 PyObject
* obj5
= 0 ;
6712 PyObject
* obj6
= 0 ;
6714 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6719 if (SWIG_arg_fail(1)) SWIG_fail
;
6722 arg2
= (int)(SWIG_As_int(obj1
));
6723 if (SWIG_arg_fail(2)) SWIG_fail
;
6728 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6729 if (SWIG_arg_fail(3)) SWIG_fail
;
6731 SWIG_null_ref("wxBitmap");
6733 if (SWIG_arg_fail(3)) SWIG_fail
;
6739 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6745 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6750 arg6
= (long)(SWIG_As_long(obj5
));
6751 if (SWIG_arg_fail(6)) SWIG_fail
;
6756 arg7
= wxString_in_helper(obj6
);
6757 if (arg7
== NULL
) SWIG_fail
;
6762 if (!wxPyCheckForApp()) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6784 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6786 wxStaticBitmap
*result
;
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6793 if (!wxPyCheckForApp()) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6807 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6810 wxWindow
*arg2
= (wxWindow
*) 0 ;
6811 int arg3
= (int) -1 ;
6812 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6813 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6814 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6815 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6816 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6817 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6818 long arg7
= (long) 0 ;
6819 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6820 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6824 bool temp8
= false ;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6827 PyObject
* obj2
= 0 ;
6828 PyObject
* obj3
= 0 ;
6829 PyObject
* obj4
= 0 ;
6830 PyObject
* obj5
= 0 ;
6831 PyObject
* obj6
= 0 ;
6832 PyObject
* obj7
= 0 ;
6834 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6839 if (SWIG_arg_fail(1)) SWIG_fail
;
6840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6841 if (SWIG_arg_fail(2)) SWIG_fail
;
6844 arg3
= (int)(SWIG_As_int(obj2
));
6845 if (SWIG_arg_fail(3)) SWIG_fail
;
6850 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6851 if (SWIG_arg_fail(4)) SWIG_fail
;
6853 SWIG_null_ref("wxBitmap");
6855 if (SWIG_arg_fail(4)) SWIG_fail
;
6861 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6867 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6872 arg7
= (long)(SWIG_As_long(obj6
));
6873 if (SWIG_arg_fail(7)) SWIG_fail
;
6878 arg8
= wxString_in_helper(obj7
);
6879 if (arg8
== NULL
) SWIG_fail
;
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6907 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "self", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (arg1
)->GetBitmap();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6927 wxBitmap
* resultptr
;
6928 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6937 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6940 wxBitmap
*arg2
= 0 ;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6944 (char *) "self",(char *) "bitmap", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6949 if (SWIG_arg_fail(1)) SWIG_fail
;
6951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6952 if (SWIG_arg_fail(2)) SWIG_fail
;
6954 SWIG_null_ref("wxBitmap");
6956 if (SWIG_arg_fail(2)) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 Py_INCREF(Py_None
); resultobj
= Py_None
;
6972 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6976 PyObject
* obj0
= 0 ;
6977 PyObject
* obj1
= 0 ;
6979 (char *) "self",(char *) "icon", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6984 if (SWIG_arg_fail(1)) SWIG_fail
;
6986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6987 if (SWIG_arg_fail(2)) SWIG_fail
;
6989 SWIG_null_ref("wxIcon");
6991 if (SWIG_arg_fail(2)) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 Py_INCREF(Py_None
); resultobj
= Py_None
;
7007 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
;
7009 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7010 wxVisualAttributes result
;
7011 PyObject
* obj0
= 0 ;
7013 (char *) "variant", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7019 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7020 if (SWIG_arg_fail(1)) SWIG_fail
;
7024 if (!wxPyCheckForApp()) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7032 wxVisualAttributes
* resultptr
;
7033 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7042 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7045 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7047 return Py_BuildValue((char *)"");
7049 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7050 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7055 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7060 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7062 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7069 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxWindow
*arg1
= (wxWindow
*) 0 ;
7072 int arg2
= (int) -1 ;
7073 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7074 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7075 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7076 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7077 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7078 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7079 long arg6
= (long) 0 ;
7080 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7081 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7082 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7083 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7087 bool temp5
= false ;
7088 bool temp8
= false ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7091 PyObject
* obj2
= 0 ;
7092 PyObject
* obj3
= 0 ;
7093 PyObject
* obj4
= 0 ;
7094 PyObject
* obj5
= 0 ;
7095 PyObject
* obj6
= 0 ;
7096 PyObject
* obj7
= 0 ;
7098 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7103 if (SWIG_arg_fail(1)) SWIG_fail
;
7106 arg2
= (int)(SWIG_As_int(obj1
));
7107 if (SWIG_arg_fail(2)) SWIG_fail
;
7113 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7119 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7124 if (! PySequence_Check(obj4
)) {
7125 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7128 arg5
= new wxArrayString
;
7130 int i
, len
=PySequence_Length(obj4
);
7131 for (i
=0; i
<len
; i
++) {
7132 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7133 wxString
* s
= wxString_in_helper(item
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7143 arg6
= (long)(SWIG_As_long(obj5
));
7144 if (SWIG_arg_fail(6)) SWIG_fail
;
7149 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7150 if (SWIG_arg_fail(7)) SWIG_fail
;
7152 SWIG_null_ref("wxValidator");
7154 if (SWIG_arg_fail(7)) SWIG_fail
;
7159 arg8
= wxString_in_helper(obj7
);
7160 if (arg8
== NULL
) SWIG_fail
;
7165 if (!wxPyCheckForApp()) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7174 if (temp5
) delete arg5
;
7183 if (temp5
) delete arg5
;
7193 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7202 if (!wxPyCheckForApp()) SWIG_fail
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 result
= (wxListBox
*)new wxListBox();
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7216 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
*resultobj
;
7218 wxListBox
*arg1
= (wxListBox
*) 0 ;
7219 wxWindow
*arg2
= (wxWindow
*) 0 ;
7220 int arg3
= (int) -1 ;
7221 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7222 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7223 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7224 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7225 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7226 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7227 long arg7
= (long) 0 ;
7228 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7229 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7230 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7231 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7235 bool temp6
= false ;
7236 bool temp9
= false ;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7239 PyObject
* obj2
= 0 ;
7240 PyObject
* obj3
= 0 ;
7241 PyObject
* obj4
= 0 ;
7242 PyObject
* obj5
= 0 ;
7243 PyObject
* obj6
= 0 ;
7244 PyObject
* obj7
= 0 ;
7245 PyObject
* obj8
= 0 ;
7247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail
;
7253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7254 if (SWIG_arg_fail(2)) SWIG_fail
;
7257 arg3
= (int)(SWIG_As_int(obj2
));
7258 if (SWIG_arg_fail(3)) SWIG_fail
;
7264 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7270 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7275 if (! PySequence_Check(obj5
)) {
7276 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7279 arg6
= new wxArrayString
;
7281 int i
, len
=PySequence_Length(obj5
);
7282 for (i
=0; i
<len
; i
++) {
7283 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7284 wxString
* s
= wxString_in_helper(item
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7294 arg7
= (long)(SWIG_As_long(obj6
));
7295 if (SWIG_arg_fail(7)) SWIG_fail
;
7300 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7301 if (SWIG_arg_fail(8)) SWIG_fail
;
7303 SWIG_null_ref("wxValidator");
7305 if (SWIG_arg_fail(8)) SWIG_fail
;
7310 arg9
= wxString_in_helper(obj8
);
7311 if (arg9
== NULL
) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7326 if (temp6
) delete arg6
;
7335 if (temp6
) delete arg6
;
7345 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxListBox
*arg1
= (wxListBox
*) 0 ;
7348 wxString
*arg2
= 0 ;
7350 PyObject
*arg4
= (PyObject
*) NULL
;
7351 bool temp2
= false ;
7352 PyObject
* obj0
= 0 ;
7353 PyObject
* obj1
= 0 ;
7354 PyObject
* obj2
= 0 ;
7355 PyObject
* obj3
= 0 ;
7357 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7362 if (SWIG_arg_fail(1)) SWIG_fail
;
7364 arg2
= wxString_in_helper(obj1
);
7365 if (arg2
== NULL
) SWIG_fail
;
7369 arg3
= (int)(SWIG_As_int(obj2
));
7370 if (SWIG_arg_fail(3)) SWIG_fail
;
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 Py_INCREF(Py_None
); resultobj
= Py_None
;
7397 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxListBox
*arg1
= (wxListBox
*) 0 ;
7400 wxArrayString
*arg2
= 0 ;
7402 bool temp2
= false ;
7403 PyObject
* obj0
= 0 ;
7404 PyObject
* obj1
= 0 ;
7405 PyObject
* obj2
= 0 ;
7407 (char *) "self",(char *) "items",(char *) "pos", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7412 if (SWIG_arg_fail(1)) SWIG_fail
;
7414 if (! PySequence_Check(obj1
)) {
7415 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7418 arg2
= new wxArrayString
;
7420 int i
, len
=PySequence_Length(obj1
);
7421 for (i
=0; i
<len
; i
++) {
7422 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7423 wxString
* s
= wxString_in_helper(item
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7431 arg3
= (int)(SWIG_As_int(obj2
));
7432 if (SWIG_arg_fail(3)) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 Py_INCREF(Py_None
); resultobj
= Py_None
;
7443 if (temp2
) delete arg2
;
7448 if (temp2
) delete arg2
;
7454 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxListBox
*arg1
= (wxListBox
*) 0 ;
7457 wxArrayString
*arg2
= 0 ;
7458 bool temp2
= false ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7462 (char *) "self",(char *) "items", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7467 if (SWIG_arg_fail(1)) SWIG_fail
;
7469 if (! PySequence_Check(obj1
)) {
7470 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7473 arg2
= new wxArrayString
;
7475 int i
, len
=PySequence_Length(obj1
);
7476 for (i
=0; i
<len
; i
++) {
7477 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7478 wxString
* s
= wxString_in_helper(item
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 (arg1
)->Set((wxArrayString
const &)*arg2
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7494 if (temp2
) delete arg2
;
7499 if (temp2
) delete arg2
;
7505 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
;
7507 wxListBox
*arg1
= (wxListBox
*) 0 ;
7510 PyObject
* obj0
= 0 ;
7511 PyObject
* obj1
= 0 ;
7513 (char *) "self",(char *) "n", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail
;
7520 arg2
= (int)(SWIG_As_int(obj1
));
7521 if (SWIG_arg_fail(2)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7539 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxListBox
*arg1
= (wxListBox
*) 0 ;
7543 bool arg3
= (bool) true ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7546 PyObject
* obj2
= 0 ;
7548 (char *) "self",(char *) "n",(char *) "select", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7553 if (SWIG_arg_fail(1)) SWIG_fail
;
7555 arg2
= (int)(SWIG_As_int(obj1
));
7556 if (SWIG_arg_fail(2)) SWIG_fail
;
7560 arg3
= (bool)(SWIG_As_bool(obj2
));
7561 if (SWIG_arg_fail(3)) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 (arg1
)->SetSelection(arg2
,arg3
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 Py_INCREF(Py_None
); resultobj
= Py_None
;
7578 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxListBox
*arg1
= (wxListBox
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7585 (char *) "self",(char *) "n", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7590 if (SWIG_arg_fail(1)) SWIG_fail
;
7592 arg2
= (int)(SWIG_As_int(obj1
));
7593 if (SWIG_arg_fail(2)) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 (arg1
)->Select(arg2
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 Py_INCREF(Py_None
); resultobj
= Py_None
;
7609 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxListBox
*arg1
= (wxListBox
*) 0 ;
7613 PyObject
* obj0
= 0 ;
7614 PyObject
* obj1
= 0 ;
7616 (char *) "self",(char *) "n", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7621 if (SWIG_arg_fail(1)) SWIG_fail
;
7623 arg2
= (int)(SWIG_As_int(obj1
));
7624 if (SWIG_arg_fail(2)) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 (arg1
)->Deselect(arg2
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 Py_INCREF(Py_None
); resultobj
= Py_None
;
7640 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxListBox
*arg1
= (wxListBox
*) 0 ;
7643 int arg2
= (int) -1 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7647 (char *) "self",(char *) "itemToLeaveSelected", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7652 if (SWIG_arg_fail(1)) SWIG_fail
;
7655 arg2
= (int)(SWIG_As_int(obj1
));
7656 if (SWIG_arg_fail(2)) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 (arg1
)->DeselectAll(arg2
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 Py_INCREF(Py_None
); resultobj
= Py_None
;
7673 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
*resultobj
;
7675 wxListBox
*arg1
= (wxListBox
*) 0 ;
7676 wxString
*arg2
= 0 ;
7677 bool arg3
= (bool) true ;
7679 bool temp2
= false ;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7682 PyObject
* obj2
= 0 ;
7684 (char *) "self",(char *) "s",(char *) "select", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7689 if (SWIG_arg_fail(1)) SWIG_fail
;
7691 arg2
= wxString_in_helper(obj1
);
7692 if (arg2
== NULL
) SWIG_fail
;
7697 arg3
= (bool)(SWIG_As_bool(obj2
));
7698 if (SWIG_arg_fail(3)) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7725 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxListBox
*arg1
= (wxListBox
*) 0 ;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "self", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7736 if (SWIG_arg_fail(1)) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7751 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxListBox
*arg1
= (wxListBox
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7758 (char *) "self",(char *) "n", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7763 if (SWIG_arg_fail(1)) SWIG_fail
;
7765 arg2
= (int)(SWIG_As_int(obj1
));
7766 if (SWIG_arg_fail(2)) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 (arg1
)->SetFirstItem(arg2
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 Py_INCREF(Py_None
); resultobj
= Py_None
;
7782 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxListBox
*arg1
= (wxListBox
*) 0 ;
7785 wxString
*arg2
= 0 ;
7786 bool temp2
= false ;
7787 PyObject
* obj0
= 0 ;
7788 PyObject
* obj1
= 0 ;
7790 (char *) "self",(char *) "s", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7795 if (SWIG_arg_fail(1)) SWIG_fail
;
7797 arg2
= wxString_in_helper(obj1
);
7798 if (arg2
== NULL
) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7823 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxListBox
*arg1
= (wxListBox
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7828 PyObject
* obj1
= 0 ;
7830 (char *) "self",(char *) "n", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7835 if (SWIG_arg_fail(1)) SWIG_fail
;
7837 arg2
= (int)(SWIG_As_int(obj1
));
7838 if (SWIG_arg_fail(2)) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 (arg1
)->EnsureVisible(arg2
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 Py_INCREF(Py_None
); resultobj
= Py_None
;
7854 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxListBox
*arg1
= (wxListBox
*) 0 ;
7857 wxString
*arg2
= 0 ;
7858 bool temp2
= false ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7862 (char *) "self",(char *) "s", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7867 if (SWIG_arg_fail(1)) SWIG_fail
;
7869 arg2
= wxString_in_helper(obj1
);
7870 if (arg2
== NULL
) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxListBox
*arg1
= (wxListBox
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7901 (char *) "self", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7906 if (SWIG_arg_fail(1)) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7923 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxListBox
*arg1
= (wxListBox
*) 0 ;
7927 wxColour
*arg3
= 0 ;
7929 PyObject
* obj0
= 0 ;
7930 PyObject
* obj1
= 0 ;
7931 PyObject
* obj2
= 0 ;
7933 (char *) "self",(char *) "item",(char *) "c", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail
;
7940 arg2
= (int)(SWIG_As_int(obj1
));
7941 if (SWIG_arg_fail(2)) SWIG_fail
;
7945 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxListBox
*arg1
= (wxListBox
*) 0 ;
7965 wxColour
*arg3
= 0 ;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7969 PyObject
* obj2
= 0 ;
7971 (char *) "self",(char *) "item",(char *) "c", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7976 if (SWIG_arg_fail(1)) SWIG_fail
;
7978 arg2
= (int)(SWIG_As_int(obj1
));
7979 if (SWIG_arg_fail(2)) SWIG_fail
;
7983 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 Py_INCREF(Py_None
); resultobj
= Py_None
;
7999 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxListBox
*arg1
= (wxListBox
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 PyObject
* obj2
= 0 ;
8008 (char *) "self",(char *) "item",(char *) "f", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8013 if (SWIG_arg_fail(1)) SWIG_fail
;
8015 arg2
= (int)(SWIG_As_int(obj1
));
8016 if (SWIG_arg_fail(2)) SWIG_fail
;
8019 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8020 if (SWIG_arg_fail(3)) SWIG_fail
;
8022 SWIG_null_ref("wxFont");
8024 if (SWIG_arg_fail(3)) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 Py_INCREF(Py_None
); resultobj
= Py_None
;
8040 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8043 wxVisualAttributes result
;
8044 PyObject
* obj0
= 0 ;
8046 (char *) "variant", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8052 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8053 if (SWIG_arg_fail(1)) SWIG_fail
;
8057 if (!wxPyCheckForApp()) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8065 wxVisualAttributes
* resultptr
;
8066 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8075 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8078 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8080 return Py_BuildValue((char *)"");
8082 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxWindow
*arg1
= (wxWindow
*) 0 ;
8085 int arg2
= (int) -1 ;
8086 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8087 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8088 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8089 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8090 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8091 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8092 long arg6
= (long) 0 ;
8093 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8094 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8095 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8096 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8097 wxCheckListBox
*result
;
8100 bool temp5
= false ;
8101 bool temp8
= false ;
8102 PyObject
* obj0
= 0 ;
8103 PyObject
* obj1
= 0 ;
8104 PyObject
* obj2
= 0 ;
8105 PyObject
* obj3
= 0 ;
8106 PyObject
* obj4
= 0 ;
8107 PyObject
* obj5
= 0 ;
8108 PyObject
* obj6
= 0 ;
8109 PyObject
* obj7
= 0 ;
8111 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail
;
8119 arg2
= (int)(SWIG_As_int(obj1
));
8120 if (SWIG_arg_fail(2)) SWIG_fail
;
8126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8137 if (! PySequence_Check(obj4
)) {
8138 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8141 arg5
= new wxArrayString
;
8143 int i
, len
=PySequence_Length(obj4
);
8144 for (i
=0; i
<len
; i
++) {
8145 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8146 wxString
* s
= wxString_in_helper(item
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8156 arg6
= (long)(SWIG_As_long(obj5
));
8157 if (SWIG_arg_fail(6)) SWIG_fail
;
8162 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8163 if (SWIG_arg_fail(7)) SWIG_fail
;
8165 SWIG_null_ref("wxValidator");
8167 if (SWIG_arg_fail(7)) SWIG_fail
;
8172 arg8
= wxString_in_helper(obj7
);
8173 if (arg8
== NULL
) SWIG_fail
;
8178 if (!wxPyCheckForApp()) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8187 if (temp5
) delete arg5
;
8196 if (temp5
) delete arg5
;
8206 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxCheckListBox
*result
;
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8215 if (!wxPyCheckForApp()) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (wxCheckListBox
*)new wxCheckListBox();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8229 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8232 wxWindow
*arg2
= (wxWindow
*) 0 ;
8233 int arg3
= (int) -1 ;
8234 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8235 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8236 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8237 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8238 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8239 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8240 long arg7
= (long) 0 ;
8241 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8242 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8243 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8244 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8248 bool temp6
= false ;
8249 bool temp9
= false ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8252 PyObject
* obj2
= 0 ;
8253 PyObject
* obj3
= 0 ;
8254 PyObject
* obj4
= 0 ;
8255 PyObject
* obj5
= 0 ;
8256 PyObject
* obj6
= 0 ;
8257 PyObject
* obj7
= 0 ;
8258 PyObject
* obj8
= 0 ;
8260 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8265 if (SWIG_arg_fail(1)) SWIG_fail
;
8266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8267 if (SWIG_arg_fail(2)) SWIG_fail
;
8270 arg3
= (int)(SWIG_As_int(obj2
));
8271 if (SWIG_arg_fail(3)) SWIG_fail
;
8277 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8283 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8288 if (! PySequence_Check(obj5
)) {
8289 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8292 arg6
= new wxArrayString
;
8294 int i
, len
=PySequence_Length(obj5
);
8295 for (i
=0; i
<len
; i
++) {
8296 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8297 wxString
* s
= wxString_in_helper(item
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8307 arg7
= (long)(SWIG_As_long(obj6
));
8308 if (SWIG_arg_fail(7)) SWIG_fail
;
8313 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8314 if (SWIG_arg_fail(8)) SWIG_fail
;
8316 SWIG_null_ref("wxValidator");
8318 if (SWIG_arg_fail(8)) SWIG_fail
;
8323 arg9
= wxString_in_helper(obj8
);
8324 if (arg9
== NULL
) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8339 if (temp6
) delete arg6
;
8348 if (temp6
) delete arg6
;
8358 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8366 (char *) "self",(char *) "index", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8371 if (SWIG_arg_fail(1)) SWIG_fail
;
8373 arg2
= (int)(SWIG_As_int(obj1
));
8374 if (SWIG_arg_fail(2)) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (bool)(arg1
)->IsChecked(arg2
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8392 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8396 int arg3
= (int) true ;
8397 PyObject
* obj0
= 0 ;
8398 PyObject
* obj1
= 0 ;
8399 PyObject
* obj2
= 0 ;
8401 (char *) "self",(char *) "index",(char *) "check", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8406 if (SWIG_arg_fail(1)) SWIG_fail
;
8408 arg2
= (int)(SWIG_As_int(obj1
));
8409 if (SWIG_arg_fail(2)) SWIG_fail
;
8413 arg3
= (int)(SWIG_As_int(obj2
));
8414 if (SWIG_arg_fail(3)) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 (arg1
)->Check(arg2
,arg3
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 Py_INCREF(Py_None
); resultobj
= Py_None
;
8431 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8440 (char *) "self",(char *) "pt", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8445 if (SWIG_arg_fail(1)) SWIG_fail
;
8448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= SWIG_From_int((int)(result
));
8466 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8472 PyObject
* obj0
= 0 ;
8473 PyObject
* obj1
= 0 ;
8474 PyObject
* obj2
= 0 ;
8476 (char *) "self",(char *) "x",(char *) "y", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8481 if (SWIG_arg_fail(1)) SWIG_fail
;
8483 arg2
= (int)(SWIG_As_int(obj1
));
8484 if (SWIG_arg_fail(2)) SWIG_fail
;
8487 arg3
= (int)(SWIG_As_int(obj2
));
8488 if (SWIG_arg_fail(3)) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_From_int((int)(result
));
8506 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8509 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8511 return Py_BuildValue((char *)"");
8513 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8514 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8519 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8524 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8526 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8533 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxColour
const &arg1_defvalue
= wxNullColour
;
8536 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8537 wxColour
const &arg2_defvalue
= wxNullColour
;
8538 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8539 wxFont
const &arg3_defvalue
= wxNullFont
;
8540 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8541 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8547 PyObject
* obj2
= 0 ;
8548 PyObject
* obj3
= 0 ;
8550 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8557 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8563 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8568 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8569 if (SWIG_arg_fail(3)) SWIG_fail
;
8571 SWIG_null_ref("wxFont");
8573 if (SWIG_arg_fail(3)) SWIG_fail
;
8578 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8579 if (SWIG_arg_fail(4)) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8596 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8601 (char *) "self", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8606 if (SWIG_arg_fail(1)) SWIG_fail
;
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 Py_INCREF(Py_None
); resultobj
= Py_None
;
8621 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
;
8623 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8624 PyObject
* obj0
= 0 ;
8626 (char *) "self", NULL
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8631 if (SWIG_arg_fail(1)) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 Py_INCREF(Py_None
); resultobj
= Py_None
;
8646 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8649 wxColour
*arg2
= 0 ;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8654 (char *) "self",(char *) "colText", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail
;
8662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 Py_INCREF(Py_None
); resultobj
= Py_None
;
8678 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8681 wxColour
*arg2
= 0 ;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8686 (char *) "self",(char *) "colBack", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8691 if (SWIG_arg_fail(1)) SWIG_fail
;
8694 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8710 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8714 long arg3
= (long) wxTEXT_ATTR_FONT
;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 PyObject
* obj2
= 0 ;
8719 (char *) "self",(char *) "font",(char *) "flags", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8724 if (SWIG_arg_fail(1)) SWIG_fail
;
8726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8727 if (SWIG_arg_fail(2)) SWIG_fail
;
8729 SWIG_null_ref("wxFont");
8731 if (SWIG_arg_fail(2)) SWIG_fail
;
8735 arg3
= (long)(SWIG_As_long(obj2
));
8736 if (SWIG_arg_fail(3)) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 Py_INCREF(Py_None
); resultobj
= Py_None
;
8753 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8756 wxTextAttrAlignment arg2
;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8760 (char *) "self",(char *) "alignment", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8765 if (SWIG_arg_fail(1)) SWIG_fail
;
8767 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8768 if (SWIG_arg_fail(2)) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8784 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8787 wxArrayInt
*arg2
= 0 ;
8788 bool temp2
= false ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8792 (char *) "self",(char *) "tabs", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8797 if (SWIG_arg_fail(1)) SWIG_fail
;
8799 if (! PySequence_Check(obj1
)) {
8800 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8803 arg2
= new wxArrayInt
;
8805 int i
, len
=PySequence_Length(obj1
);
8806 for (i
=0; i
<len
; i
++) {
8807 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8808 PyObject
* number
= PyNumber_Int(item
);
8809 arg2
->Add(PyInt_AS_LONG(number
));
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 if (temp2
) delete arg2
;
8828 if (temp2
) delete arg2
;
8834 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8838 int arg3
= (int) 0 ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 PyObject
* obj2
= 0 ;
8843 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8848 if (SWIG_arg_fail(1)) SWIG_fail
;
8850 arg2
= (int)(SWIG_As_int(obj1
));
8851 if (SWIG_arg_fail(2)) SWIG_fail
;
8855 arg3
= (int)(SWIG_As_int(obj2
));
8856 if (SWIG_arg_fail(3)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 (arg1
)->SetLeftIndent(arg2
,arg3
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8880 (char *) "self",(char *) "indent", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8885 if (SWIG_arg_fail(1)) SWIG_fail
;
8887 arg2
= (int)(SWIG_As_int(obj1
));
8888 if (SWIG_arg_fail(2)) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 (arg1
)->SetRightIndent(arg2
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 Py_INCREF(Py_None
); resultobj
= Py_None
;
8904 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8911 (char *) "self",(char *) "flags", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8916 if (SWIG_arg_fail(1)) SWIG_fail
;
8918 arg2
= (long)(SWIG_As_long(obj1
));
8919 if (SWIG_arg_fail(2)) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 (arg1
)->SetFlags(arg2
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 Py_INCREF(Py_None
); resultobj
= Py_None
;
8935 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
;
8937 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8939 PyObject
* obj0
= 0 ;
8941 (char *) "self", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
8945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8946 if (SWIG_arg_fail(1)) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8963 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8967 PyObject
* obj0
= 0 ;
8969 (char *) "self", NULL
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
8973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8974 if (SWIG_arg_fail(1)) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8991 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8995 PyObject
* obj0
= 0 ;
8997 (char *) "self", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9002 if (SWIG_arg_fail(1)) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9019 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "self", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9030 if (SWIG_arg_fail(1)) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9047 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "self", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9058 if (SWIG_arg_fail(1)) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9075 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9079 PyObject
* obj0
= 0 ;
9081 (char *) "self", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9086 if (SWIG_arg_fail(1)) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9103 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9105 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9107 PyObject
* obj0
= 0 ;
9109 (char *) "self", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9114 if (SWIG_arg_fail(1)) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9131 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
*resultobj
;
9133 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9139 (char *) "self",(char *) "flag", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9144 if (SWIG_arg_fail(1)) SWIG_fail
;
9146 arg2
= (long)(SWIG_As_long(obj1
));
9147 if (SWIG_arg_fail(2)) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9165 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9176 if (SWIG_arg_fail(1)) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9181 result
= (wxColour
*) &_result_ref
;
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9194 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9200 (char *) "self", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9205 if (SWIG_arg_fail(1)) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9210 result
= (wxColour
*) &_result_ref
;
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9223 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9227 PyObject
* obj0
= 0 ;
9229 (char *) "self", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9234 if (SWIG_arg_fail(1)) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9239 result
= (wxFont
*) &_result_ref
;
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9246 wxFont
* resultptr
= new wxFont(*result
);
9247 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9255 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9258 wxTextAttrAlignment result
;
9259 PyObject
* obj0
= 0 ;
9261 (char *) "self", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9266 if (SWIG_arg_fail(1)) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_From_int((result
));
9281 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9287 (char *) "self", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9292 if (SWIG_arg_fail(1)) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9297 result
= (wxArrayInt
*) &_result_ref
;
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= PyList_New(0);
9306 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9307 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9308 PyList_Append(resultobj
, val
);
9318 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9324 (char *) "self", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9329 if (SWIG_arg_fail(1)) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= SWIG_From_long((long)(result
));
9346 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9357 if (SWIG_arg_fail(1)) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= SWIG_From_long((long)(result
));
9374 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9378 PyObject
* obj0
= 0 ;
9380 (char *) "self", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9385 if (SWIG_arg_fail(1)) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= SWIG_From_long((long)(result
));
9402 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9408 (char *) "self", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9413 if (SWIG_arg_fail(1)) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= SWIG_From_long((long)(result
));
9430 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9434 PyObject
* obj0
= 0 ;
9436 (char *) "self", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9441 if (SWIG_arg_fail(1)) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9458 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxTextAttr
*arg1
= 0 ;
9461 wxTextAttr
*arg2
= 0 ;
9462 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9466 PyObject
* obj2
= 0 ;
9468 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9474 if (SWIG_arg_fail(1)) SWIG_fail
;
9476 SWIG_null_ref("wxTextAttr");
9478 if (SWIG_arg_fail(1)) SWIG_fail
;
9481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9482 if (SWIG_arg_fail(2)) SWIG_fail
;
9484 SWIG_null_ref("wxTextAttr");
9486 if (SWIG_arg_fail(2)) SWIG_fail
;
9488 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9489 if (SWIG_arg_fail(3)) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9498 wxTextAttr
* resultptr
;
9499 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9508 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9511 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9513 return Py_BuildValue((char *)"");
9515 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
;
9517 wxWindow
*arg1
= (wxWindow
*) 0 ;
9518 int arg2
= (int) -1 ;
9519 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9525 long arg6
= (long) 0 ;
9526 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9527 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9528 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9531 bool temp3
= false ;
9534 bool temp8
= false ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9537 PyObject
* obj2
= 0 ;
9538 PyObject
* obj3
= 0 ;
9539 PyObject
* obj4
= 0 ;
9540 PyObject
* obj5
= 0 ;
9541 PyObject
* obj6
= 0 ;
9542 PyObject
* obj7
= 0 ;
9544 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9549 if (SWIG_arg_fail(1)) SWIG_fail
;
9552 arg2
= (int)(SWIG_As_int(obj1
));
9553 if (SWIG_arg_fail(2)) SWIG_fail
;
9558 arg3
= wxString_in_helper(obj2
);
9559 if (arg3
== NULL
) SWIG_fail
;
9566 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9572 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9577 arg6
= (long)(SWIG_As_long(obj5
));
9578 if (SWIG_arg_fail(6)) SWIG_fail
;
9583 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9584 if (SWIG_arg_fail(7)) SWIG_fail
;
9586 SWIG_null_ref("wxValidator");
9588 if (SWIG_arg_fail(7)) SWIG_fail
;
9593 arg8
= wxString_in_helper(obj7
);
9594 if (arg8
== NULL
) SWIG_fail
;
9599 if (!wxPyCheckForApp()) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9629 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9638 if (!wxPyCheckForApp()) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (wxTextCtrl
*)new wxTextCtrl();
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9652 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9655 wxWindow
*arg2
= (wxWindow
*) 0 ;
9656 int arg3
= (int) -1 ;
9657 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9659 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9660 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9661 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9662 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9663 long arg7
= (long) 0 ;
9664 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9665 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9666 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9667 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9669 bool temp4
= false ;
9672 bool temp9
= false ;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9675 PyObject
* obj2
= 0 ;
9676 PyObject
* obj3
= 0 ;
9677 PyObject
* obj4
= 0 ;
9678 PyObject
* obj5
= 0 ;
9679 PyObject
* obj6
= 0 ;
9680 PyObject
* obj7
= 0 ;
9681 PyObject
* obj8
= 0 ;
9683 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail
;
9689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9690 if (SWIG_arg_fail(2)) SWIG_fail
;
9693 arg3
= (int)(SWIG_As_int(obj2
));
9694 if (SWIG_arg_fail(3)) SWIG_fail
;
9699 arg4
= wxString_in_helper(obj3
);
9700 if (arg4
== NULL
) SWIG_fail
;
9707 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9713 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9718 arg7
= (long)(SWIG_As_long(obj6
));
9719 if (SWIG_arg_fail(7)) SWIG_fail
;
9724 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9725 if (SWIG_arg_fail(8)) SWIG_fail
;
9727 SWIG_null_ref("wxValidator");
9729 if (SWIG_arg_fail(8)) SWIG_fail
;
9734 arg9
= wxString_in_helper(obj8
);
9735 if (arg9
== NULL
) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9771 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "self", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9782 if (SWIG_arg_fail(1)) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9803 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9806 wxString
*arg2
= 0 ;
9807 bool temp2
= false ;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9811 (char *) "self",(char *) "value", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9816 if (SWIG_arg_fail(1)) SWIG_fail
;
9818 arg2
= wxString_in_helper(obj1
);
9819 if (arg2
== NULL
) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 (arg1
)->SetValue((wxString
const &)*arg2
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 Py_INCREF(Py_None
); resultobj
= Py_None
;
9844 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9846 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9851 PyObject
* obj1
= 0 ;
9852 PyObject
* obj2
= 0 ;
9854 (char *) "self",(char *) "from",(char *) "to", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9859 if (SWIG_arg_fail(1)) SWIG_fail
;
9861 arg2
= (long)(SWIG_As_long(obj1
));
9862 if (SWIG_arg_fail(2)) SWIG_fail
;
9865 arg3
= (long)(SWIG_As_long(obj2
));
9866 if (SWIG_arg_fail(3)) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9888 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9894 PyObject
* obj1
= 0 ;
9896 (char *) "self",(char *) "lineNo", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9901 if (SWIG_arg_fail(1)) SWIG_fail
;
9903 arg2
= (long)(SWIG_As_long(obj1
));
9904 if (SWIG_arg_fail(2)) SWIG_fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_From_int((int)(result
));
9922 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9930 (char *) "self",(char *) "lineNo", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
9934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9935 if (SWIG_arg_fail(1)) SWIG_fail
;
9937 arg2
= (long)(SWIG_As_long(obj1
));
9938 if (SWIG_arg_fail(2)) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9960 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9966 (char *) "self", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
9970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9971 if (SWIG_arg_fail(1)) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= SWIG_From_int((int)(result
));
9988 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9992 PyObject
* obj0
= 0 ;
9994 (char *) "self", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
9998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9999 if (SWIG_arg_fail(1)) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10016 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10020 PyObject
* obj0
= 0 ;
10021 char *kwnames
[] = {
10022 (char *) "self", NULL
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10027 if (SWIG_arg_fail(1)) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10044 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10048 PyObject
* obj0
= 0 ;
10049 char *kwnames
[] = {
10050 (char *) "self", NULL
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10055 if (SWIG_arg_fail(1)) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10072 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10076 PyObject
* obj0
= 0 ;
10077 char *kwnames
[] = {
10078 (char *) "self", NULL
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10083 if (SWIG_arg_fail(1)) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10100 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10103 long *arg2
= (long *) 0 ;
10104 long *arg3
= (long *) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self", NULL
10114 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10115 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10118 if (SWIG_arg_fail(1)) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10128 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10129 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10130 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10137 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 char *kwnames
[] = {
10143 (char *) "self", NULL
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10148 if (SWIG_arg_fail(1)) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10169 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
;
10171 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10172 PyObject
* obj0
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "self", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10179 if (SWIG_arg_fail(1)) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 Py_INCREF(Py_None
); resultobj
= Py_None
;
10194 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10199 wxString
*arg4
= 0 ;
10200 bool temp4
= false ;
10201 PyObject
* obj0
= 0 ;
10202 PyObject
* obj1
= 0 ;
10203 PyObject
* obj2
= 0 ;
10204 PyObject
* obj3
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10211 if (SWIG_arg_fail(1)) SWIG_fail
;
10213 arg2
= (long)(SWIG_As_long(obj1
));
10214 if (SWIG_arg_fail(2)) SWIG_fail
;
10217 arg3
= (long)(SWIG_As_long(obj2
));
10218 if (SWIG_arg_fail(3)) SWIG_fail
;
10221 arg4
= wxString_in_helper(obj3
);
10222 if (arg4
== NULL
) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 Py_INCREF(Py_None
); resultobj
= Py_None
;
10247 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10252 PyObject
* obj0
= 0 ;
10253 PyObject
* obj1
= 0 ;
10254 PyObject
* obj2
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self",(char *) "from",(char *) "to", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10261 if (SWIG_arg_fail(1)) SWIG_fail
;
10263 arg2
= (long)(SWIG_As_long(obj1
));
10264 if (SWIG_arg_fail(2)) SWIG_fail
;
10267 arg3
= (long)(SWIG_As_long(obj2
));
10268 if (SWIG_arg_fail(3)) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 (arg1
)->Remove(arg2
,arg3
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10277 Py_INCREF(Py_None
); resultobj
= Py_None
;
10284 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
*resultobj
;
10286 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10287 wxString
*arg2
= 0 ;
10289 bool temp2
= false ;
10290 PyObject
* obj0
= 0 ;
10291 PyObject
* obj1
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self",(char *) "file", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail
;
10300 arg2
= wxString_in_helper(obj1
);
10301 if (arg2
== NULL
) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10328 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10331 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10332 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10334 bool temp2
= false ;
10335 PyObject
* obj0
= 0 ;
10336 PyObject
* obj1
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self",(char *) "file", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10343 if (SWIG_arg_fail(1)) SWIG_fail
;
10346 arg2
= wxString_in_helper(obj1
);
10347 if (arg2
== NULL
) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10375 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10378 PyObject
* obj0
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10385 if (SWIG_arg_fail(1)) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 (arg1
)->MarkDirty();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10410 if (SWIG_arg_fail(1)) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 (arg1
)->DiscardEdits();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10425 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10428 unsigned long arg2
;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self",(char *) "len", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10437 if (SWIG_arg_fail(1)) SWIG_fail
;
10439 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10440 if (SWIG_arg_fail(2)) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 (arg1
)->SetMaxLength(arg2
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10449 Py_INCREF(Py_None
); resultobj
= Py_None
;
10456 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
*resultobj
;
10458 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10459 wxString
*arg2
= 0 ;
10460 bool temp2
= false ;
10461 PyObject
* obj0
= 0 ;
10462 PyObject
* obj1
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self",(char *) "text", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10469 if (SWIG_arg_fail(1)) SWIG_fail
;
10471 arg2
= wxString_in_helper(obj1
);
10472 if (arg2
== NULL
) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 (arg1
)->WriteText((wxString
const &)*arg2
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_TextCtrl_AppendText(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_AppendText",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
)->AppendText((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_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10541 wxKeyEvent
*arg2
= 0 ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "event", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10554 if (SWIG_arg_fail(2)) SWIG_fail
;
10555 if (arg2
== NULL
) {
10556 SWIG_null_ref("wxKeyEvent");
10558 if (SWIG_arg_fail(2)) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10576 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10581 wxTextAttr
*arg4
= 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 PyObject
* obj2
= 0 ;
10586 PyObject
* obj3
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10593 if (SWIG_arg_fail(1)) SWIG_fail
;
10595 arg2
= (long)(SWIG_As_long(obj1
));
10596 if (SWIG_arg_fail(2)) SWIG_fail
;
10599 arg3
= (long)(SWIG_As_long(obj2
));
10600 if (SWIG_arg_fail(3)) SWIG_fail
;
10603 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10604 if (SWIG_arg_fail(4)) SWIG_fail
;
10605 if (arg4
== NULL
) {
10606 SWIG_null_ref("wxTextAttr");
10608 if (SWIG_arg_fail(4)) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10626 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10630 wxTextAttr
*arg3
= 0 ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 PyObject
* obj2
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "position",(char *) "style", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10641 if (SWIG_arg_fail(1)) SWIG_fail
;
10643 arg2
= (long)(SWIG_As_long(obj1
));
10644 if (SWIG_arg_fail(2)) SWIG_fail
;
10647 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10648 if (SWIG_arg_fail(3)) SWIG_fail
;
10649 if (arg3
== NULL
) {
10650 SWIG_null_ref("wxTextAttr");
10652 if (SWIG_arg_fail(3)) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10670 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10673 wxTextAttr
*arg2
= 0 ;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "self",(char *) "style", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10683 if (SWIG_arg_fail(1)) SWIG_fail
;
10685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10686 if (SWIG_arg_fail(2)) SWIG_fail
;
10687 if (arg2
== NULL
) {
10688 SWIG_null_ref("wxTextAttr");
10690 if (SWIG_arg_fail(2)) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10708 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10711 wxTextAttr
*result
;
10712 PyObject
* obj0
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10719 if (SWIG_arg_fail(1)) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10724 result
= (wxTextAttr
*) &_result_ref
;
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10737 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 PyObject
* obj2
= 0 ;
10746 char *kwnames
[] = {
10747 (char *) "self",(char *) "x",(char *) "y", NULL
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10752 if (SWIG_arg_fail(1)) SWIG_fail
;
10754 arg2
= (long)(SWIG_As_long(obj1
));
10755 if (SWIG_arg_fail(2)) SWIG_fail
;
10758 arg3
= (long)(SWIG_As_long(obj2
));
10759 if (SWIG_arg_fail(3)) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= SWIG_From_long((long)(result
));
10777 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10781 long *arg3
= (long *) 0 ;
10782 long *arg4
= (long *) 0 ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "self",(char *) "pos", NULL
10793 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10794 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10797 if (SWIG_arg_fail(1)) SWIG_fail
;
10799 arg2
= (long)(SWIG_As_long(obj1
));
10800 if (SWIG_arg_fail(2)) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 Py_INCREF(Py_None
); resultobj
= Py_None
;
10810 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10811 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10812 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10813 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10820 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self",(char *) "pos", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10832 if (SWIG_arg_fail(1)) SWIG_fail
;
10834 arg2
= (long)(SWIG_As_long(obj1
));
10835 if (SWIG_arg_fail(2)) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 (arg1
)->ShowPosition(arg2
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 Py_INCREF(Py_None
); resultobj
= Py_None
;
10851 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10854 wxPoint
*arg2
= 0 ;
10855 long *arg3
= (long *) 0 ;
10856 long *arg4
= (long *) 0 ;
10857 wxTextCtrlHitTestResult result
;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 char *kwnames
[] = {
10866 (char *) "self",(char *) "pt", NULL
10869 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10870 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",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
;
10876 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= SWIG_From_int((result
));
10886 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10887 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10888 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10889 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10896 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10899 wxPoint
*arg2
= 0 ;
10900 long *arg3
= (long *) 0 ;
10901 wxTextCtrlHitTestResult result
;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self",(char *) "pt", NULL
10911 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",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
);
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)));
10935 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10938 PyObject
* obj0
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
10944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10945 if (SWIG_arg_fail(1)) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 Py_INCREF(Py_None
); resultobj
= Py_None
;
10960 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "self", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
10969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10970 if (SWIG_arg_fail(1)) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10978 Py_INCREF(Py_None
); resultobj
= Py_None
;
10985 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10988 PyObject
* obj0
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
10994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10995 if (SWIG_arg_fail(1)) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 Py_INCREF(Py_None
); resultobj
= Py_None
;
11010 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11014 PyObject
* obj0
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11021 if (SWIG_arg_fail(1)) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11038 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11042 PyObject
* obj0
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11066 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11077 if (SWIG_arg_fail(1)) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11094 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11129 if (SWIG_arg_fail(1)) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 Py_INCREF(Py_None
); resultobj
= Py_None
;
11144 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
;
11146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11172 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11183 if (SWIG_arg_fail(1)) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11200 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self",(char *) "pos", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11212 if (SWIG_arg_fail(1)) SWIG_fail
;
11214 arg2
= (long)(SWIG_As_long(obj1
));
11215 if (SWIG_arg_fail(2)) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 (arg1
)->SetInsertionPoint(arg2
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 Py_INCREF(Py_None
); resultobj
= Py_None
;
11231 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 char *kwnames
[] = {
11236 (char *) "self", NULL
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11241 if (SWIG_arg_fail(1)) SWIG_fail
;
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 (arg1
)->SetInsertionPointEnd();
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11249 Py_INCREF(Py_None
); resultobj
= Py_None
;
11256 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11267 if (SWIG_arg_fail(1)) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 resultobj
= SWIG_From_long((long)(result
));
11284 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11295 if (SWIG_arg_fail(1)) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_From_long((long)(result
));
11312 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11317 PyObject
* obj0
= 0 ;
11318 PyObject
* obj1
= 0 ;
11319 PyObject
* obj2
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self",(char *) "from",(char *) "to", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11326 if (SWIG_arg_fail(1)) SWIG_fail
;
11328 arg2
= (long)(SWIG_As_long(obj1
));
11329 if (SWIG_arg_fail(2)) SWIG_fail
;
11332 arg3
= (long)(SWIG_As_long(obj2
));
11333 if (SWIG_arg_fail(3)) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 (arg1
)->SetSelection(arg2
,arg3
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 Py_INCREF(Py_None
); resultobj
= Py_None
;
11349 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11359 if (SWIG_arg_fail(1)) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 (arg1
)->SelectAll();
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 Py_INCREF(Py_None
); resultobj
= Py_None
;
11374 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
;
11376 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11378 PyObject
* obj0
= 0 ;
11379 PyObject
* obj1
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self",(char *) "editable", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11386 if (SWIG_arg_fail(1)) SWIG_fail
;
11388 arg2
= (bool)(SWIG_As_bool(obj1
));
11389 if (SWIG_arg_fail(2)) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 (arg1
)->SetEditable(arg2
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 Py_INCREF(Py_None
); resultobj
= Py_None
;
11405 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
;
11407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11408 wxString
*arg2
= 0 ;
11409 bool temp2
= false ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "text", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11418 if (SWIG_arg_fail(1)) SWIG_fail
;
11420 arg2
= wxString_in_helper(obj1
);
11421 if (arg2
== NULL
) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 Py_INCREF(Py_None
); resultobj
= Py_None
;
11446 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 PyObject
* obj2
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "from",(char *) "to", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11461 if (SWIG_arg_fail(1)) SWIG_fail
;
11463 arg2
= (long)(SWIG_As_long(obj1
));
11464 if (SWIG_arg_fail(2)) SWIG_fail
;
11467 arg3
= (long)(SWIG_As_long(obj2
));
11468 if (SWIG_arg_fail(3)) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11490 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11493 wxVisualAttributes result
;
11494 PyObject
* obj0
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "variant", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11502 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11503 if (SWIG_arg_fail(1)) SWIG_fail
;
11507 if (!wxPyCheckForApp()) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11515 wxVisualAttributes
* resultptr
;
11516 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11525 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11528 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11530 return Py_BuildValue((char *)"");
11532 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11535 wxMouseEvent
*arg2
= 0 ;
11538 wxTextUrlEvent
*result
;
11539 PyObject
* obj0
= 0 ;
11540 PyObject
* obj1
= 0 ;
11541 PyObject
* obj2
= 0 ;
11542 PyObject
* obj3
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11549 arg1
= (int)(SWIG_As_int(obj0
));
11550 if (SWIG_arg_fail(1)) SWIG_fail
;
11553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11554 if (SWIG_arg_fail(2)) SWIG_fail
;
11555 if (arg2
== NULL
) {
11556 SWIG_null_ref("wxMouseEvent");
11558 if (SWIG_arg_fail(2)) SWIG_fail
;
11561 arg3
= (long)(SWIG_As_long(obj2
));
11562 if (SWIG_arg_fail(3)) SWIG_fail
;
11565 arg4
= (long)(SWIG_As_long(obj3
));
11566 if (SWIG_arg_fail(4)) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11582 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11585 wxMouseEvent
*result
;
11586 PyObject
* obj0
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "self", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11593 if (SWIG_arg_fail(1)) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11598 result
= (wxMouseEvent
*) &_result_ref
;
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11611 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11622 if (SWIG_arg_fail(1)) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= SWIG_From_long((long)(result
));
11639 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11643 PyObject
* obj0
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11650 if (SWIG_arg_fail(1)) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_From_long((long)(result
));
11667 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11670 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11672 return Py_BuildValue((char *)"");
11674 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11675 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11680 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11685 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11687 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11694 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
;
11696 wxWindow
*arg1
= (wxWindow
*) 0 ;
11697 int arg2
= (int) -1 ;
11698 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11699 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11700 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11701 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11702 long arg5
= (long) wxSB_HORIZONTAL
;
11703 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11704 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11705 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11706 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11707 wxScrollBar
*result
;
11710 bool temp7
= false ;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 PyObject
* obj2
= 0 ;
11714 PyObject
* obj3
= 0 ;
11715 PyObject
* obj4
= 0 ;
11716 PyObject
* obj5
= 0 ;
11717 PyObject
* obj6
= 0 ;
11718 char *kwnames
[] = {
11719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11724 if (SWIG_arg_fail(1)) SWIG_fail
;
11727 arg2
= (int)(SWIG_As_int(obj1
));
11728 if (SWIG_arg_fail(2)) SWIG_fail
;
11734 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11740 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11745 arg5
= (long)(SWIG_As_long(obj4
));
11746 if (SWIG_arg_fail(5)) SWIG_fail
;
11751 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11752 if (SWIG_arg_fail(6)) SWIG_fail
;
11753 if (arg6
== NULL
) {
11754 SWIG_null_ref("wxValidator");
11756 if (SWIG_arg_fail(6)) SWIG_fail
;
11761 arg7
= wxString_in_helper(obj6
);
11762 if (arg7
== NULL
) SWIG_fail
;
11767 if (!wxPyCheckForApp()) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11789 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxScrollBar
*result
;
11792 char *kwnames
[] = {
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11798 if (!wxPyCheckForApp()) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (wxScrollBar
*)new wxScrollBar();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11812 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11815 wxWindow
*arg2
= (wxWindow
*) 0 ;
11816 int arg3
= (int) -1 ;
11817 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11818 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11819 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11820 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11821 long arg6
= (long) wxSB_HORIZONTAL
;
11822 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11823 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11824 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11829 bool temp8
= false ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 PyObject
* obj2
= 0 ;
11833 PyObject
* obj3
= 0 ;
11834 PyObject
* obj4
= 0 ;
11835 PyObject
* obj5
= 0 ;
11836 PyObject
* obj6
= 0 ;
11837 PyObject
* obj7
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11844 if (SWIG_arg_fail(1)) SWIG_fail
;
11845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11846 if (SWIG_arg_fail(2)) SWIG_fail
;
11849 arg3
= (int)(SWIG_As_int(obj2
));
11850 if (SWIG_arg_fail(3)) SWIG_fail
;
11856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11867 arg6
= (long)(SWIG_As_long(obj5
));
11868 if (SWIG_arg_fail(6)) SWIG_fail
;
11873 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11874 if (SWIG_arg_fail(7)) SWIG_fail
;
11875 if (arg7
== NULL
) {
11876 SWIG_null_ref("wxValidator");
11878 if (SWIG_arg_fail(7)) SWIG_fail
;
11883 arg8
= wxString_in_helper(obj7
);
11884 if (arg8
== NULL
) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11912 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11916 PyObject
* obj0
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
11922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11923 if (SWIG_arg_fail(1)) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11932 resultobj
= SWIG_From_int((int)(result
));
11940 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11944 PyObject
* obj0
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
11950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11951 if (SWIG_arg_fail(1)) SWIG_fail
;
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= SWIG_From_int((int)(result
));
11968 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11972 PyObject
* obj0
= 0 ;
11973 char *kwnames
[] = {
11974 (char *) "self", NULL
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
11978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11979 if (SWIG_arg_fail(1)) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= SWIG_From_int((int)(result
));
11996 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12000 PyObject
* obj0
= 0 ;
12001 char *kwnames
[] = {
12002 (char *) "self", NULL
12005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12007 if (SWIG_arg_fail(1)) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= SWIG_From_int((int)(result
));
12024 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12035 if (SWIG_arg_fail(1)) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12052 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self",(char *) "viewStart", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail
;
12066 arg2
= (int)(SWIG_As_int(obj1
));
12067 if (SWIG_arg_fail(2)) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 (arg1
)->SetThumbPosition(arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 Py_INCREF(Py_None
); resultobj
= Py_None
;
12083 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12090 bool arg6
= (bool) true ;
12091 PyObject
* obj0
= 0 ;
12092 PyObject
* obj1
= 0 ;
12093 PyObject
* obj2
= 0 ;
12094 PyObject
* obj3
= 0 ;
12095 PyObject
* obj4
= 0 ;
12096 PyObject
* obj5
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12103 if (SWIG_arg_fail(1)) SWIG_fail
;
12105 arg2
= (int)(SWIG_As_int(obj1
));
12106 if (SWIG_arg_fail(2)) SWIG_fail
;
12109 arg3
= (int)(SWIG_As_int(obj2
));
12110 if (SWIG_arg_fail(3)) SWIG_fail
;
12113 arg4
= (int)(SWIG_As_int(obj3
));
12114 if (SWIG_arg_fail(4)) SWIG_fail
;
12117 arg5
= (int)(SWIG_As_int(obj4
));
12118 if (SWIG_arg_fail(5)) SWIG_fail
;
12122 arg6
= (bool)(SWIG_As_bool(obj5
));
12123 if (SWIG_arg_fail(6)) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 Py_INCREF(Py_None
); resultobj
= Py_None
;
12140 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12143 wxVisualAttributes result
;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "variant", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12152 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12153 if (SWIG_arg_fail(1)) SWIG_fail
;
12157 if (!wxPyCheckForApp()) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12165 wxVisualAttributes
* resultptr
;
12166 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12175 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12178 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12180 return Py_BuildValue((char *)"");
12182 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12183 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12188 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12193 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12195 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12202 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12203 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12208 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12213 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12215 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12222 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxWindow
*arg1
= (wxWindow
*) 0 ;
12225 int arg2
= (int) -1 ;
12226 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12227 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12228 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12229 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12230 long arg5
= (long) wxSP_HORIZONTAL
;
12231 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12232 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12233 wxSpinButton
*result
;
12236 bool temp6
= false ;
12237 PyObject
* obj0
= 0 ;
12238 PyObject
* obj1
= 0 ;
12239 PyObject
* obj2
= 0 ;
12240 PyObject
* obj3
= 0 ;
12241 PyObject
* obj4
= 0 ;
12242 PyObject
* obj5
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12249 if (SWIG_arg_fail(1)) SWIG_fail
;
12252 arg2
= (int)(SWIG_As_int(obj1
));
12253 if (SWIG_arg_fail(2)) SWIG_fail
;
12259 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12265 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12270 arg5
= (long)(SWIG_As_long(obj4
));
12271 if (SWIG_arg_fail(5)) SWIG_fail
;
12276 arg6
= wxString_in_helper(obj5
);
12277 if (arg6
== NULL
) SWIG_fail
;
12282 if (!wxPyCheckForApp()) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12304 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxSpinButton
*result
;
12307 char *kwnames
[] = {
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12313 if (!wxPyCheckForApp()) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (wxSpinButton
*)new wxSpinButton();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12327 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12330 wxWindow
*arg2
= (wxWindow
*) 0 ;
12331 int arg3
= (int) -1 ;
12332 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12333 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12334 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12335 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12336 long arg6
= (long) wxSP_HORIZONTAL
;
12337 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12338 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12342 bool temp7
= false ;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 PyObject
* obj2
= 0 ;
12346 PyObject
* obj3
= 0 ;
12347 PyObject
* obj4
= 0 ;
12348 PyObject
* obj5
= 0 ;
12349 PyObject
* obj6
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12358 if (SWIG_arg_fail(2)) SWIG_fail
;
12361 arg3
= (int)(SWIG_As_int(obj2
));
12362 if (SWIG_arg_fail(3)) SWIG_fail
;
12368 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12374 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12379 arg6
= (long)(SWIG_As_long(obj5
));
12380 if (SWIG_arg_fail(6)) SWIG_fail
;
12385 arg7
= wxString_in_helper(obj6
);
12386 if (arg7
== NULL
) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12414 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12425 if (SWIG_arg_fail(1)) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= SWIG_From_int((int)(result
));
12442 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12453 if (SWIG_arg_fail(1)) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= SWIG_From_int((int)(result
));
12470 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= SWIG_From_int((int)(result
));
12498 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
;
12500 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12502 PyObject
* obj0
= 0 ;
12503 PyObject
* obj1
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self",(char *) "val", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12510 if (SWIG_arg_fail(1)) SWIG_fail
;
12512 arg2
= (int)(SWIG_As_int(obj1
));
12513 if (SWIG_arg_fail(2)) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 (arg1
)->SetValue(arg2
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 Py_INCREF(Py_None
); resultobj
= Py_None
;
12529 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self",(char *) "minVal", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12541 if (SWIG_arg_fail(1)) SWIG_fail
;
12543 arg2
= (int)(SWIG_As_int(obj1
));
12544 if (SWIG_arg_fail(2)) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->SetMin(arg2
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self",(char *) "maxVal", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12572 if (SWIG_arg_fail(1)) SWIG_fail
;
12574 arg2
= (int)(SWIG_As_int(obj1
));
12575 if (SWIG_arg_fail(2)) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->SetMax(arg2
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 Py_INCREF(Py_None
); resultobj
= Py_None
;
12591 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 PyObject
* obj1
= 0 ;
12598 PyObject
* obj2
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12605 if (SWIG_arg_fail(1)) SWIG_fail
;
12607 arg2
= (int)(SWIG_As_int(obj1
));
12608 if (SWIG_arg_fail(2)) SWIG_fail
;
12611 arg3
= (int)(SWIG_As_int(obj2
));
12612 if (SWIG_arg_fail(3)) SWIG_fail
;
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12616 (arg1
)->SetRange(arg2
,arg3
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 Py_INCREF(Py_None
); resultobj
= Py_None
;
12628 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12632 PyObject
* obj0
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail
;
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12656 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12659 wxVisualAttributes result
;
12660 PyObject
* obj0
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "variant", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12668 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12669 if (SWIG_arg_fail(1)) SWIG_fail
;
12673 if (!wxPyCheckForApp()) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12681 wxVisualAttributes
* resultptr
;
12682 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12691 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12694 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12696 return Py_BuildValue((char *)"");
12698 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxWindow
*arg1
= (wxWindow
*) 0 ;
12701 int arg2
= (int) -1 ;
12702 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12708 long arg6
= (long) wxSP_ARROW_KEYS
;
12709 int arg7
= (int) 0 ;
12710 int arg8
= (int) 100 ;
12711 int arg9
= (int) 0 ;
12712 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12713 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12714 wxSpinCtrl
*result
;
12715 bool temp3
= false ;
12718 bool temp10
= false ;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 PyObject
* obj2
= 0 ;
12722 PyObject
* obj3
= 0 ;
12723 PyObject
* obj4
= 0 ;
12724 PyObject
* obj5
= 0 ;
12725 PyObject
* obj6
= 0 ;
12726 PyObject
* obj7
= 0 ;
12727 PyObject
* obj8
= 0 ;
12728 PyObject
* obj9
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12735 if (SWIG_arg_fail(1)) SWIG_fail
;
12738 arg2
= (int)(SWIG_As_int(obj1
));
12739 if (SWIG_arg_fail(2)) SWIG_fail
;
12744 arg3
= wxString_in_helper(obj2
);
12745 if (arg3
== NULL
) SWIG_fail
;
12752 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12758 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12763 arg6
= (long)(SWIG_As_long(obj5
));
12764 if (SWIG_arg_fail(6)) SWIG_fail
;
12769 arg7
= (int)(SWIG_As_int(obj6
));
12770 if (SWIG_arg_fail(7)) SWIG_fail
;
12775 arg8
= (int)(SWIG_As_int(obj7
));
12776 if (SWIG_arg_fail(8)) SWIG_fail
;
12781 arg9
= (int)(SWIG_As_int(obj8
));
12782 if (SWIG_arg_fail(9)) SWIG_fail
;
12787 arg10
= wxString_in_helper(obj9
);
12788 if (arg10
== NULL
) SWIG_fail
;
12793 if (!wxPyCheckForApp()) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12823 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
;
12825 wxSpinCtrl
*result
;
12826 char *kwnames
[] = {
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12832 if (!wxPyCheckForApp()) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12846 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12849 wxWindow
*arg2
= (wxWindow
*) 0 ;
12850 int arg3
= (int) -1 ;
12851 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12852 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12853 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12854 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12855 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12856 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12857 long arg7
= (long) wxSP_ARROW_KEYS
;
12858 int arg8
= (int) 0 ;
12859 int arg9
= (int) 100 ;
12860 int arg10
= (int) 0 ;
12861 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12862 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12864 bool temp4
= false ;
12867 bool temp11
= false ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 PyObject
* obj2
= 0 ;
12871 PyObject
* obj3
= 0 ;
12872 PyObject
* obj4
= 0 ;
12873 PyObject
* obj5
= 0 ;
12874 PyObject
* obj6
= 0 ;
12875 PyObject
* obj7
= 0 ;
12876 PyObject
* obj8
= 0 ;
12877 PyObject
* obj9
= 0 ;
12878 PyObject
* obj10
= 0 ;
12879 char *kwnames
[] = {
12880 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12885 if (SWIG_arg_fail(1)) SWIG_fail
;
12886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12887 if (SWIG_arg_fail(2)) SWIG_fail
;
12890 arg3
= (int)(SWIG_As_int(obj2
));
12891 if (SWIG_arg_fail(3)) SWIG_fail
;
12896 arg4
= wxString_in_helper(obj3
);
12897 if (arg4
== NULL
) SWIG_fail
;
12904 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12910 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12915 arg7
= (long)(SWIG_As_long(obj6
));
12916 if (SWIG_arg_fail(7)) SWIG_fail
;
12921 arg8
= (int)(SWIG_As_int(obj7
));
12922 if (SWIG_arg_fail(8)) SWIG_fail
;
12927 arg9
= (int)(SWIG_As_int(obj8
));
12928 if (SWIG_arg_fail(9)) SWIG_fail
;
12933 arg10
= (int)(SWIG_As_int(obj9
));
12934 if (SWIG_arg_fail(10)) SWIG_fail
;
12939 arg11
= wxString_in_helper(obj10
);
12940 if (arg11
== NULL
) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12976 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
;
12978 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12980 PyObject
* obj0
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "self", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
12986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12987 if (SWIG_arg_fail(1)) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= SWIG_From_int((int)(result
));
13004 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13008 PyObject
* obj0
= 0 ;
13009 PyObject
* obj1
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self",(char *) "value", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13016 if (SWIG_arg_fail(1)) SWIG_fail
;
13018 arg2
= (int)(SWIG_As_int(obj1
));
13019 if (SWIG_arg_fail(2)) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 (arg1
)->SetValue(arg2
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 Py_INCREF(Py_None
); resultobj
= Py_None
;
13035 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13038 wxString
*arg2
= 0 ;
13039 bool temp2
= false ;
13040 PyObject
* obj0
= 0 ;
13041 PyObject
* obj1
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self",(char *) "text", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13048 if (SWIG_arg_fail(1)) SWIG_fail
;
13050 arg2
= wxString_in_helper(obj1
);
13051 if (arg2
== NULL
) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 (arg1
)->SetValue((wxString
const &)*arg2
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 Py_INCREF(Py_None
); resultobj
= Py_None
;
13076 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 PyObject
* obj2
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13090 if (SWIG_arg_fail(1)) SWIG_fail
;
13092 arg2
= (int)(SWIG_As_int(obj1
));
13093 if (SWIG_arg_fail(2)) SWIG_fail
;
13096 arg3
= (int)(SWIG_As_int(obj2
));
13097 if (SWIG_arg_fail(3)) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 (arg1
)->SetRange(arg2
,arg3
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 Py_INCREF(Py_None
); resultobj
= Py_None
;
13113 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13124 if (SWIG_arg_fail(1)) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_From_int((int)(result
));
13141 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13152 if (SWIG_arg_fail(1)) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= SWIG_From_int((int)(result
));
13169 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 PyObject
* obj2
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "self",(char *) "from",(char *) "to", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13183 if (SWIG_arg_fail(1)) SWIG_fail
;
13185 arg2
= (long)(SWIG_As_long(obj1
));
13186 if (SWIG_arg_fail(2)) SWIG_fail
;
13189 arg3
= (long)(SWIG_As_long(obj2
));
13190 if (SWIG_arg_fail(3)) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 (arg1
)->SetSelection(arg2
,arg3
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 Py_INCREF(Py_None
); resultobj
= Py_None
;
13206 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
;
13208 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13209 wxVisualAttributes result
;
13210 PyObject
* obj0
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "variant", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13218 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13219 if (SWIG_arg_fail(1)) SWIG_fail
;
13223 if (!wxPyCheckForApp()) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 wxVisualAttributes
* resultptr
;
13232 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13241 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13244 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13246 return Py_BuildValue((char *)"");
13248 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13251 int arg2
= (int) 0 ;
13252 wxSpinEvent
*result
;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "commandType",(char *) "winid", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13262 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13263 if (SWIG_arg_fail(1)) SWIG_fail
;
13268 arg2
= (int)(SWIG_As_int(obj1
));
13269 if (SWIG_arg_fail(2)) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13286 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13290 PyObject
* obj0
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13297 if (SWIG_arg_fail(1)) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= SWIG_From_int((int)(result
));
13314 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "pos", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13326 if (SWIG_arg_fail(1)) SWIG_fail
;
13328 arg2
= (int)(SWIG_As_int(obj1
));
13329 if (SWIG_arg_fail(2)) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 (arg1
)->SetPosition(arg2
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 Py_INCREF(Py_None
); resultobj
= Py_None
;
13345 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13348 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13350 return Py_BuildValue((char *)"");
13352 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13353 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13358 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13363 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13365 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13372 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13373 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13378 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13383 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13385 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13392 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxWindow
*arg1
= (wxWindow
*) 0 ;
13395 int arg2
= (int) -1 ;
13396 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13397 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13398 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13399 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13400 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13401 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13402 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13403 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13404 int arg7
= (int) 0 ;
13405 long arg8
= (long) wxRA_HORIZONTAL
;
13406 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13407 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13408 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13409 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13410 wxRadioBox
*result
;
13411 bool temp3
= false ;
13414 bool temp6
= false ;
13415 bool temp10
= false ;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 PyObject
* obj2
= 0 ;
13419 PyObject
* obj3
= 0 ;
13420 PyObject
* obj4
= 0 ;
13421 PyObject
* obj5
= 0 ;
13422 PyObject
* obj6
= 0 ;
13423 PyObject
* obj7
= 0 ;
13424 PyObject
* obj8
= 0 ;
13425 PyObject
* obj9
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13432 if (SWIG_arg_fail(1)) SWIG_fail
;
13435 arg2
= (int)(SWIG_As_int(obj1
));
13436 if (SWIG_arg_fail(2)) SWIG_fail
;
13441 arg3
= wxString_in_helper(obj2
);
13442 if (arg3
== NULL
) SWIG_fail
;
13449 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13455 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13460 if (! PySequence_Check(obj5
)) {
13461 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13464 arg6
= new wxArrayString
;
13466 int i
, len
=PySequence_Length(obj5
);
13467 for (i
=0; i
<len
; i
++) {
13468 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13469 wxString
* s
= wxString_in_helper(item
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13479 arg7
= (int)(SWIG_As_int(obj6
));
13480 if (SWIG_arg_fail(7)) SWIG_fail
;
13485 arg8
= (long)(SWIG_As_long(obj7
));
13486 if (SWIG_arg_fail(8)) SWIG_fail
;
13491 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13492 if (SWIG_arg_fail(9)) SWIG_fail
;
13493 if (arg9
== NULL
) {
13494 SWIG_null_ref("wxValidator");
13496 if (SWIG_arg_fail(9)) SWIG_fail
;
13501 arg10
= wxString_in_helper(obj9
);
13502 if (arg10
== NULL
) SWIG_fail
;
13507 if (!wxPyCheckForApp()) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 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
);
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13520 if (temp6
) delete arg6
;
13533 if (temp6
) delete arg6
;
13543 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxRadioBox
*result
;
13546 char *kwnames
[] = {
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13552 if (!wxPyCheckForApp()) SWIG_fail
;
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 result
= (wxRadioBox
*)new wxRadioBox();
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13566 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13569 wxWindow
*arg2
= (wxWindow
*) 0 ;
13570 int arg3
= (int) -1 ;
13571 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13572 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13573 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13574 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13575 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13576 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13577 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13578 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13579 int arg8
= (int) 0 ;
13580 long arg9
= (long) wxRA_HORIZONTAL
;
13581 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13582 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13583 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13584 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13586 bool temp4
= false ;
13589 bool temp7
= false ;
13590 bool temp11
= false ;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 PyObject
* obj2
= 0 ;
13594 PyObject
* obj3
= 0 ;
13595 PyObject
* obj4
= 0 ;
13596 PyObject
* obj5
= 0 ;
13597 PyObject
* obj6
= 0 ;
13598 PyObject
* obj7
= 0 ;
13599 PyObject
* obj8
= 0 ;
13600 PyObject
* obj9
= 0 ;
13601 PyObject
* obj10
= 0 ;
13602 char *kwnames
[] = {
13603 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13608 if (SWIG_arg_fail(1)) SWIG_fail
;
13609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13610 if (SWIG_arg_fail(2)) SWIG_fail
;
13613 arg3
= (int)(SWIG_As_int(obj2
));
13614 if (SWIG_arg_fail(3)) SWIG_fail
;
13619 arg4
= wxString_in_helper(obj3
);
13620 if (arg4
== NULL
) SWIG_fail
;
13627 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13633 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13638 if (! PySequence_Check(obj6
)) {
13639 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13642 arg7
= new wxArrayString
;
13644 int i
, len
=PySequence_Length(obj6
);
13645 for (i
=0; i
<len
; i
++) {
13646 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13647 wxString
* s
= wxString_in_helper(item
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13657 arg8
= (int)(SWIG_As_int(obj7
));
13658 if (SWIG_arg_fail(8)) SWIG_fail
;
13663 arg9
= (long)(SWIG_As_long(obj8
));
13664 if (SWIG_arg_fail(9)) SWIG_fail
;
13669 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13670 if (SWIG_arg_fail(10)) SWIG_fail
;
13671 if (arg10
== NULL
) {
13672 SWIG_null_ref("wxValidator");
13674 if (SWIG_arg_fail(10)) SWIG_fail
;
13679 arg11
= wxString_in_helper(obj10
);
13680 if (arg11
== NULL
) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 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
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13699 if (temp7
) delete arg7
;
13712 if (temp7
) delete arg7
;
13722 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self",(char *) "n", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13734 if (SWIG_arg_fail(1)) SWIG_fail
;
13736 arg2
= (int)(SWIG_As_int(obj1
));
13737 if (SWIG_arg_fail(2)) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 (arg1
)->SetSelection(arg2
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 Py_INCREF(Py_None
); resultobj
= Py_None
;
13753 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
;
13755 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13764 if (SWIG_arg_fail(1)) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_From_int((int)(result
));
13781 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13792 if (SWIG_arg_fail(1)) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13813 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13816 wxString
*arg2
= 0 ;
13818 bool temp2
= false ;
13819 PyObject
* obj0
= 0 ;
13820 PyObject
* obj1
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self",(char *) "s", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13827 if (SWIG_arg_fail(1)) SWIG_fail
;
13829 arg2
= wxString_in_helper(obj1
);
13830 if (arg2
== NULL
) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13857 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "self", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13868 if (SWIG_arg_fail(1)) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_From_int((int)(result
));
13885 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13888 wxString
*arg2
= 0 ;
13890 bool temp2
= false ;
13891 PyObject
* obj0
= 0 ;
13892 PyObject
* obj1
= 0 ;
13893 char *kwnames
[] = {
13894 (char *) "self",(char *) "s", NULL
13897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13899 if (SWIG_arg_fail(1)) SWIG_fail
;
13901 arg2
= wxString_in_helper(obj1
);
13902 if (arg2
== NULL
) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= SWIG_From_int((int)(result
));
13929 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "n", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13942 if (SWIG_arg_fail(1)) SWIG_fail
;
13944 arg2
= (int)(SWIG_As_int(obj1
));
13945 if (SWIG_arg_fail(2)) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13967 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13971 wxString
*arg3
= 0 ;
13972 bool temp3
= false ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 PyObject
* obj2
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "self",(char *) "n",(char *) "label", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13982 if (SWIG_arg_fail(1)) SWIG_fail
;
13984 arg2
= (int)(SWIG_As_int(obj1
));
13985 if (SWIG_arg_fail(2)) SWIG_fail
;
13988 arg3
= wxString_in_helper(obj2
);
13989 if (arg3
== NULL
) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 Py_INCREF(Py_None
); resultobj
= Py_None
;
14014 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14018 bool arg3
= (bool) true ;
14019 PyObject
* obj0
= 0 ;
14020 PyObject
* obj1
= 0 ;
14021 PyObject
* obj2
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self",(char *) "n",(char *) "enable", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14028 if (SWIG_arg_fail(1)) SWIG_fail
;
14030 arg2
= (int)(SWIG_As_int(obj1
));
14031 if (SWIG_arg_fail(2)) SWIG_fail
;
14035 arg3
= (bool)(SWIG_As_bool(obj2
));
14036 if (SWIG_arg_fail(3)) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 (arg1
)->Enable(arg2
,arg3
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 Py_INCREF(Py_None
); resultobj
= Py_None
;
14053 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14057 bool arg3
= (bool) true ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 PyObject
* obj2
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self",(char *) "n",(char *) "show", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14067 if (SWIG_arg_fail(1)) SWIG_fail
;
14069 arg2
= (int)(SWIG_As_int(obj1
));
14070 if (SWIG_arg_fail(2)) SWIG_fail
;
14074 arg3
= (bool)(SWIG_As_bool(obj2
));
14075 if (SWIG_arg_fail(3)) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 (arg1
)->Show(arg2
,arg3
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 Py_INCREF(Py_None
); resultobj
= Py_None
;
14092 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14096 PyObject
* obj0
= 0 ;
14097 char *kwnames
[] = {
14098 (char *) "self", NULL
14101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14103 if (SWIG_arg_fail(1)) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= SWIG_From_int((int)(result
));
14120 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14131 if (SWIG_arg_fail(1)) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_From_int((int)(result
));
14148 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14155 PyObject
* obj0
= 0 ;
14156 PyObject
* obj1
= 0 ;
14157 PyObject
* obj2
= 0 ;
14158 PyObject
* obj3
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14165 if (SWIG_arg_fail(1)) SWIG_fail
;
14167 arg2
= (int)(SWIG_As_int(obj1
));
14168 if (SWIG_arg_fail(2)) SWIG_fail
;
14171 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14172 if (SWIG_arg_fail(3)) SWIG_fail
;
14175 arg4
= (long)(SWIG_As_long(obj3
));
14176 if (SWIG_arg_fail(4)) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= SWIG_From_int((int)(result
));
14194 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14197 wxVisualAttributes result
;
14198 PyObject
* obj0
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "variant", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14206 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14207 if (SWIG_arg_fail(1)) SWIG_fail
;
14211 if (!wxPyCheckForApp()) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14219 wxVisualAttributes
* resultptr
;
14220 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14229 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14232 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14234 return Py_BuildValue((char *)"");
14236 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxWindow
*arg1
= (wxWindow
*) 0 ;
14239 int arg2
= (int) -1 ;
14240 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14241 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14242 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14243 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14244 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14245 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14246 long arg6
= (long) 0 ;
14247 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14248 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14249 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14250 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14251 wxRadioButton
*result
;
14252 bool temp3
= false ;
14255 bool temp8
= false ;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 PyObject
* obj2
= 0 ;
14259 PyObject
* obj3
= 0 ;
14260 PyObject
* obj4
= 0 ;
14261 PyObject
* obj5
= 0 ;
14262 PyObject
* obj6
= 0 ;
14263 PyObject
* obj7
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14270 if (SWIG_arg_fail(1)) SWIG_fail
;
14273 arg2
= (int)(SWIG_As_int(obj1
));
14274 if (SWIG_arg_fail(2)) SWIG_fail
;
14279 arg3
= wxString_in_helper(obj2
);
14280 if (arg3
== NULL
) SWIG_fail
;
14287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14298 arg6
= (long)(SWIG_As_long(obj5
));
14299 if (SWIG_arg_fail(6)) SWIG_fail
;
14304 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14305 if (SWIG_arg_fail(7)) SWIG_fail
;
14306 if (arg7
== NULL
) {
14307 SWIG_null_ref("wxValidator");
14309 if (SWIG_arg_fail(7)) SWIG_fail
;
14314 arg8
= wxString_in_helper(obj7
);
14315 if (arg8
== NULL
) SWIG_fail
;
14320 if (!wxPyCheckForApp()) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14350 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxRadioButton
*result
;
14353 char *kwnames
[] = {
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14359 if (!wxPyCheckForApp()) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (wxRadioButton
*)new wxRadioButton();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14373 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14376 wxWindow
*arg2
= (wxWindow
*) 0 ;
14377 int arg3
= (int) -1 ;
14378 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14379 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14380 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14381 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14382 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14383 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14384 long arg7
= (long) 0 ;
14385 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14386 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14387 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14388 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14390 bool temp4
= false ;
14393 bool temp9
= false ;
14394 PyObject
* obj0
= 0 ;
14395 PyObject
* obj1
= 0 ;
14396 PyObject
* obj2
= 0 ;
14397 PyObject
* obj3
= 0 ;
14398 PyObject
* obj4
= 0 ;
14399 PyObject
* obj5
= 0 ;
14400 PyObject
* obj6
= 0 ;
14401 PyObject
* obj7
= 0 ;
14402 PyObject
* obj8
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14409 if (SWIG_arg_fail(1)) SWIG_fail
;
14410 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14411 if (SWIG_arg_fail(2)) SWIG_fail
;
14414 arg3
= (int)(SWIG_As_int(obj2
));
14415 if (SWIG_arg_fail(3)) SWIG_fail
;
14420 arg4
= wxString_in_helper(obj3
);
14421 if (arg4
== NULL
) SWIG_fail
;
14428 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14434 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14439 arg7
= (long)(SWIG_As_long(obj6
));
14440 if (SWIG_arg_fail(7)) SWIG_fail
;
14445 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14446 if (SWIG_arg_fail(8)) SWIG_fail
;
14447 if (arg8
== NULL
) {
14448 SWIG_null_ref("wxValidator");
14450 if (SWIG_arg_fail(8)) SWIG_fail
;
14455 arg9
= wxString_in_helper(obj8
);
14456 if (arg9
== NULL
) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14492 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14503 if (SWIG_arg_fail(1)) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (bool)(arg1
)->GetValue();
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14520 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 PyObject
* obj1
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self",(char *) "value", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14532 if (SWIG_arg_fail(1)) SWIG_fail
;
14534 arg2
= (bool)(SWIG_As_bool(obj1
));
14535 if (SWIG_arg_fail(2)) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 (arg1
)->SetValue(arg2
);
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 Py_INCREF(Py_None
); resultobj
= Py_None
;
14551 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14554 wxVisualAttributes result
;
14555 PyObject
* obj0
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "variant", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14563 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14564 if (SWIG_arg_fail(1)) SWIG_fail
;
14568 if (!wxPyCheckForApp()) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 wxVisualAttributes
* resultptr
;
14577 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14586 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14589 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14591 return Py_BuildValue((char *)"");
14593 static int _wrap_SliderNameStr_set(PyObject
*) {
14594 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14599 static PyObject
*_wrap_SliderNameStr_get(void) {
14604 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14606 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14613 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxWindow
*arg1
= (wxWindow
*) 0 ;
14616 int arg2
= (int) -1 ;
14617 int arg3
= (int) 0 ;
14618 int arg4
= (int) 0 ;
14619 int arg5
= (int) 100 ;
14620 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14621 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14622 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14623 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14624 long arg8
= (long) wxSL_HORIZONTAL
;
14625 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14626 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14627 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14628 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14632 bool temp10
= false ;
14633 PyObject
* obj0
= 0 ;
14634 PyObject
* obj1
= 0 ;
14635 PyObject
* obj2
= 0 ;
14636 PyObject
* obj3
= 0 ;
14637 PyObject
* obj4
= 0 ;
14638 PyObject
* obj5
= 0 ;
14639 PyObject
* obj6
= 0 ;
14640 PyObject
* obj7
= 0 ;
14641 PyObject
* obj8
= 0 ;
14642 PyObject
* obj9
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14649 if (SWIG_arg_fail(1)) SWIG_fail
;
14652 arg2
= (int)(SWIG_As_int(obj1
));
14653 if (SWIG_arg_fail(2)) SWIG_fail
;
14658 arg3
= (int)(SWIG_As_int(obj2
));
14659 if (SWIG_arg_fail(3)) SWIG_fail
;
14664 arg4
= (int)(SWIG_As_int(obj3
));
14665 if (SWIG_arg_fail(4)) SWIG_fail
;
14670 arg5
= (int)(SWIG_As_int(obj4
));
14671 if (SWIG_arg_fail(5)) SWIG_fail
;
14677 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14683 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14688 arg8
= (long)(SWIG_As_long(obj7
));
14689 if (SWIG_arg_fail(8)) SWIG_fail
;
14694 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14695 if (SWIG_arg_fail(9)) SWIG_fail
;
14696 if (arg9
== NULL
) {
14697 SWIG_null_ref("wxValidator");
14699 if (SWIG_arg_fail(9)) SWIG_fail
;
14704 arg10
= wxString_in_helper(obj9
);
14705 if (arg10
== NULL
) SWIG_fail
;
14710 if (!wxPyCheckForApp()) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14732 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14735 char *kwnames
[] = {
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14741 if (!wxPyCheckForApp()) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (wxSlider
*)new wxSlider();
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14755 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxSlider
*arg1
= (wxSlider
*) 0 ;
14758 wxWindow
*arg2
= (wxWindow
*) 0 ;
14759 int arg3
= (int) -1 ;
14760 int arg4
= (int) 0 ;
14761 int arg5
= (int) 0 ;
14762 int arg6
= (int) 100 ;
14763 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14764 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14765 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14766 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14767 long arg9
= (long) wxSL_HORIZONTAL
;
14768 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14769 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14770 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14771 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14775 bool temp11
= false ;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 PyObject
* obj2
= 0 ;
14779 PyObject
* obj3
= 0 ;
14780 PyObject
* obj4
= 0 ;
14781 PyObject
* obj5
= 0 ;
14782 PyObject
* obj6
= 0 ;
14783 PyObject
* obj7
= 0 ;
14784 PyObject
* obj8
= 0 ;
14785 PyObject
* obj9
= 0 ;
14786 PyObject
* obj10
= 0 ;
14787 char *kwnames
[] = {
14788 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14793 if (SWIG_arg_fail(1)) SWIG_fail
;
14794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14795 if (SWIG_arg_fail(2)) SWIG_fail
;
14798 arg3
= (int)(SWIG_As_int(obj2
));
14799 if (SWIG_arg_fail(3)) SWIG_fail
;
14804 arg4
= (int)(SWIG_As_int(obj3
));
14805 if (SWIG_arg_fail(4)) SWIG_fail
;
14810 arg5
= (int)(SWIG_As_int(obj4
));
14811 if (SWIG_arg_fail(5)) SWIG_fail
;
14816 arg6
= (int)(SWIG_As_int(obj5
));
14817 if (SWIG_arg_fail(6)) SWIG_fail
;
14823 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14829 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14834 arg9
= (long)(SWIG_As_long(obj8
));
14835 if (SWIG_arg_fail(9)) SWIG_fail
;
14840 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14841 if (SWIG_arg_fail(10)) SWIG_fail
;
14842 if (arg10
== NULL
) {
14843 SWIG_null_ref("wxValidator");
14845 if (SWIG_arg_fail(10)) SWIG_fail
;
14850 arg11
= wxString_in_helper(obj10
);
14851 if (arg11
== NULL
) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14879 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14880 PyObject
*resultobj
;
14881 wxSlider
*arg1
= (wxSlider
*) 0 ;
14883 PyObject
* obj0
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "self", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14890 if (SWIG_arg_fail(1)) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_From_int((int)(result
));
14907 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
;
14909 wxSlider
*arg1
= (wxSlider
*) 0 ;
14911 PyObject
* obj0
= 0 ;
14912 PyObject
* obj1
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self",(char *) "value", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14919 if (SWIG_arg_fail(1)) SWIG_fail
;
14921 arg2
= (int)(SWIG_As_int(obj1
));
14922 if (SWIG_arg_fail(2)) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 (arg1
)->SetValue(arg2
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 Py_INCREF(Py_None
); resultobj
= Py_None
;
14938 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxSlider
*arg1
= (wxSlider
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 PyObject
* obj1
= 0 ;
14945 PyObject
* obj2
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14952 if (SWIG_arg_fail(1)) SWIG_fail
;
14954 arg2
= (int)(SWIG_As_int(obj1
));
14955 if (SWIG_arg_fail(2)) SWIG_fail
;
14958 arg3
= (int)(SWIG_As_int(obj2
));
14959 if (SWIG_arg_fail(3)) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 (arg1
)->SetRange(arg2
,arg3
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 Py_INCREF(Py_None
); resultobj
= Py_None
;
14975 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxSlider
*arg1
= (wxSlider
*) 0 ;
14979 PyObject
* obj0
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "self", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
14985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14986 if (SWIG_arg_fail(1)) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (int)((wxSlider
const *)arg1
)->GetMin();
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_From_int((int)(result
));
15003 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxSlider
*arg1
= (wxSlider
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15014 if (SWIG_arg_fail(1)) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_From_int((int)(result
));
15031 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxSlider
*arg1
= (wxSlider
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "minValue", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15043 if (SWIG_arg_fail(1)) SWIG_fail
;
15045 arg2
= (int)(SWIG_As_int(obj1
));
15046 if (SWIG_arg_fail(2)) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 (arg1
)->SetMin(arg2
);
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 Py_INCREF(Py_None
); resultobj
= Py_None
;
15062 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
;
15064 wxSlider
*arg1
= (wxSlider
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 PyObject
* obj1
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "self",(char *) "maxValue", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15074 if (SWIG_arg_fail(1)) SWIG_fail
;
15076 arg2
= (int)(SWIG_As_int(obj1
));
15077 if (SWIG_arg_fail(2)) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 (arg1
)->SetMax(arg2
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15086 Py_INCREF(Py_None
); resultobj
= Py_None
;
15093 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxSlider
*arg1
= (wxSlider
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self",(char *) "lineSize", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15105 if (SWIG_arg_fail(1)) SWIG_fail
;
15107 arg2
= (int)(SWIG_As_int(obj1
));
15108 if (SWIG_arg_fail(2)) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 (arg1
)->SetLineSize(arg2
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 Py_INCREF(Py_None
); resultobj
= Py_None
;
15124 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxSlider
*arg1
= (wxSlider
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 PyObject
* obj1
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self",(char *) "pageSize", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15136 if (SWIG_arg_fail(1)) SWIG_fail
;
15138 arg2
= (int)(SWIG_As_int(obj1
));
15139 if (SWIG_arg_fail(2)) SWIG_fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 (arg1
)->SetPageSize(arg2
);
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 Py_INCREF(Py_None
); resultobj
= Py_None
;
15155 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxSlider
*arg1
= (wxSlider
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15166 if (SWIG_arg_fail(1)) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_From_int((int)(result
));
15183 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxSlider
*arg1
= (wxSlider
*) 0 ;
15187 PyObject
* obj0
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15194 if (SWIG_arg_fail(1)) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_From_int((int)(result
));
15211 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxSlider
*arg1
= (wxSlider
*) 0 ;
15215 PyObject
* obj0
= 0 ;
15216 PyObject
* obj1
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self",(char *) "lenPixels", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15223 if (SWIG_arg_fail(1)) SWIG_fail
;
15225 arg2
= (int)(SWIG_As_int(obj1
));
15226 if (SWIG_arg_fail(2)) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 (arg1
)->SetThumbLength(arg2
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 Py_INCREF(Py_None
); resultobj
= Py_None
;
15242 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxSlider
*arg1
= (wxSlider
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15253 if (SWIG_arg_fail(1)) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= SWIG_From_int((int)(result
));
15270 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxSlider
*arg1
= (wxSlider
*) 0 ;
15274 int arg3
= (int) 1 ;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 PyObject
* obj2
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self",(char *) "n",(char *) "pos", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15284 if (SWIG_arg_fail(1)) SWIG_fail
;
15286 arg2
= (int)(SWIG_As_int(obj1
));
15287 if (SWIG_arg_fail(2)) SWIG_fail
;
15291 arg3
= (int)(SWIG_As_int(obj2
));
15292 if (SWIG_arg_fail(3)) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 (arg1
)->SetTickFreq(arg2
,arg3
);
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 Py_INCREF(Py_None
); resultobj
= Py_None
;
15309 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxSlider
*arg1
= (wxSlider
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 char *kwnames
[] = {
15315 (char *) "self", NULL
15318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15320 if (SWIG_arg_fail(1)) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= SWIG_From_int((int)(result
));
15337 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxSlider
*arg1
= (wxSlider
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15347 if (SWIG_arg_fail(1)) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 (arg1
)->ClearTicks();
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15355 Py_INCREF(Py_None
); resultobj
= Py_None
;
15362 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxSlider
*arg1
= (wxSlider
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self",(char *) "tickPos", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15374 if (SWIG_arg_fail(1)) SWIG_fail
;
15376 arg2
= (int)(SWIG_As_int(obj1
));
15377 if (SWIG_arg_fail(2)) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->SetTick(arg2
);
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 Py_INCREF(Py_None
); resultobj
= Py_None
;
15393 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxSlider
*arg1
= (wxSlider
*) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15403 if (SWIG_arg_fail(1)) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 (arg1
)->ClearSel();
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 Py_INCREF(Py_None
); resultobj
= Py_None
;
15418 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxSlider
*arg1
= (wxSlider
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15429 if (SWIG_arg_fail(1)) SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= SWIG_From_int((int)(result
));
15446 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
;
15448 wxSlider
*arg1
= (wxSlider
*) 0 ;
15450 PyObject
* obj0
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15457 if (SWIG_arg_fail(1)) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= SWIG_From_int((int)(result
));
15474 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxSlider
*arg1
= (wxSlider
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 PyObject
* obj2
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self",(char *) "min",(char *) "max", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15488 if (SWIG_arg_fail(1)) SWIG_fail
;
15490 arg2
= (int)(SWIG_As_int(obj1
));
15491 if (SWIG_arg_fail(2)) SWIG_fail
;
15494 arg3
= (int)(SWIG_As_int(obj2
));
15495 if (SWIG_arg_fail(3)) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 (arg1
)->SetSelection(arg2
,arg3
);
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 Py_INCREF(Py_None
); resultobj
= Py_None
;
15511 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
;
15513 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15514 wxVisualAttributes result
;
15515 PyObject
* obj0
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "variant", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15523 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15524 if (SWIG_arg_fail(1)) SWIG_fail
;
15528 if (!wxPyCheckForApp()) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15536 wxVisualAttributes
* resultptr
;
15537 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15546 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15549 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15551 return Py_BuildValue((char *)"");
15553 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15554 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15559 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15564 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15566 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15573 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxWindow
*arg1
= (wxWindow
*) 0 ;
15576 int arg2
= (int) -1 ;
15577 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15578 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15579 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15580 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15581 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15582 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15583 long arg6
= (long) 0 ;
15584 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15585 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15586 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15587 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15588 wxToggleButton
*result
;
15589 bool temp3
= false ;
15592 bool temp8
= false ;
15593 PyObject
* obj0
= 0 ;
15594 PyObject
* obj1
= 0 ;
15595 PyObject
* obj2
= 0 ;
15596 PyObject
* obj3
= 0 ;
15597 PyObject
* obj4
= 0 ;
15598 PyObject
* obj5
= 0 ;
15599 PyObject
* obj6
= 0 ;
15600 PyObject
* obj7
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15607 if (SWIG_arg_fail(1)) SWIG_fail
;
15610 arg2
= (int)(SWIG_As_int(obj1
));
15611 if (SWIG_arg_fail(2)) SWIG_fail
;
15616 arg3
= wxString_in_helper(obj2
);
15617 if (arg3
== NULL
) SWIG_fail
;
15624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15630 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15635 arg6
= (long)(SWIG_As_long(obj5
));
15636 if (SWIG_arg_fail(6)) SWIG_fail
;
15641 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15642 if (SWIG_arg_fail(7)) SWIG_fail
;
15643 if (arg7
== NULL
) {
15644 SWIG_null_ref("wxValidator");
15646 if (SWIG_arg_fail(7)) SWIG_fail
;
15651 arg8
= wxString_in_helper(obj7
);
15652 if (arg8
== NULL
) SWIG_fail
;
15657 if (!wxPyCheckForApp()) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15687 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxToggleButton
*result
;
15690 char *kwnames
[] = {
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15696 if (!wxPyCheckForApp()) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (wxToggleButton
*)new wxToggleButton();
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15710 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15713 wxWindow
*arg2
= (wxWindow
*) 0 ;
15714 int arg3
= (int) -1 ;
15715 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15716 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15717 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15718 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15719 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15720 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15721 long arg7
= (long) 0 ;
15722 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15723 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15724 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15725 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15727 bool temp4
= false ;
15730 bool temp9
= false ;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 PyObject
* obj2
= 0 ;
15734 PyObject
* obj3
= 0 ;
15735 PyObject
* obj4
= 0 ;
15736 PyObject
* obj5
= 0 ;
15737 PyObject
* obj6
= 0 ;
15738 PyObject
* obj7
= 0 ;
15739 PyObject
* obj8
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15746 if (SWIG_arg_fail(1)) SWIG_fail
;
15747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15748 if (SWIG_arg_fail(2)) SWIG_fail
;
15751 arg3
= (int)(SWIG_As_int(obj2
));
15752 if (SWIG_arg_fail(3)) SWIG_fail
;
15757 arg4
= wxString_in_helper(obj3
);
15758 if (arg4
== NULL
) SWIG_fail
;
15765 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15771 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15776 arg7
= (long)(SWIG_As_long(obj6
));
15777 if (SWIG_arg_fail(7)) SWIG_fail
;
15782 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15783 if (SWIG_arg_fail(8)) SWIG_fail
;
15784 if (arg8
== NULL
) {
15785 SWIG_null_ref("wxValidator");
15787 if (SWIG_arg_fail(8)) SWIG_fail
;
15792 arg9
= wxString_in_helper(obj8
);
15793 if (arg9
== NULL
) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15829 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 PyObject
* obj1
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self",(char *) "value", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15841 if (SWIG_arg_fail(1)) SWIG_fail
;
15843 arg2
= (bool)(SWIG_As_bool(obj1
));
15844 if (SWIG_arg_fail(2)) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 (arg1
)->SetValue(arg2
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 Py_INCREF(Py_None
); resultobj
= Py_None
;
15860 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 char *kwnames
[] = {
15866 (char *) "self", NULL
15869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15871 if (SWIG_arg_fail(1)) SWIG_fail
;
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15888 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15891 wxString
*arg2
= 0 ;
15892 bool temp2
= false ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "label", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15901 if (SWIG_arg_fail(1)) SWIG_fail
;
15903 arg2
= wxString_in_helper(obj1
);
15904 if (arg2
== NULL
) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 (arg1
)->SetLabel((wxString
const &)*arg2
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 Py_INCREF(Py_None
); resultobj
= Py_None
;
15929 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15932 wxVisualAttributes result
;
15933 PyObject
* obj0
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "variant", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15941 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15942 if (SWIG_arg_fail(1)) SWIG_fail
;
15946 if (!wxPyCheckForApp()) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15954 wxVisualAttributes
* resultptr
;
15955 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15964 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
15966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15967 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
15969 return Py_BuildValue((char *)"");
15971 static int _wrap_NotebookNameStr_set(PyObject
*) {
15972 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
15977 static PyObject
*_wrap_NotebookNameStr_get(void) {
15982 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
15984 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
15991 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "self", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16002 if (SWIG_arg_fail(1)) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16019 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
;
16021 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16024 PyObject
* obj0
= 0 ;
16025 PyObject
* obj1
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self",(char *) "n", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16032 if (SWIG_arg_fail(1)) SWIG_fail
;
16034 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16035 if (SWIG_arg_fail(2)) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= wxPyMake_wxObject(result
, 0);
16053 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16064 if (SWIG_arg_fail(1)) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= wxPyMake_wxObject(result
, 0);
16081 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
;
16083 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16085 PyObject
* obj0
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16092 if (SWIG_arg_fail(1)) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= SWIG_From_int((int)(result
));
16109 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16113 wxString
*arg3
= 0 ;
16115 bool temp3
= false ;
16116 PyObject
* obj0
= 0 ;
16117 PyObject
* obj1
= 0 ;
16118 PyObject
* obj2
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self",(char *) "n",(char *) "strText", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16125 if (SWIG_arg_fail(1)) SWIG_fail
;
16127 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16128 if (SWIG_arg_fail(2)) SWIG_fail
;
16131 arg3
= wxString_in_helper(obj2
);
16132 if (arg3
== NULL
) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16159 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self",(char *) "n", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16172 if (SWIG_arg_fail(1)) SWIG_fail
;
16174 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16175 if (SWIG_arg_fail(2)) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16197 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16200 wxImageList
*arg2
= (wxImageList
*) 0 ;
16201 PyObject
* obj0
= 0 ;
16202 PyObject
* obj1
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self",(char *) "imageList", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16209 if (SWIG_arg_fail(1)) SWIG_fail
;
16210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16211 if (SWIG_arg_fail(2)) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 (arg1
)->SetImageList(arg2
);
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16219 Py_INCREF(Py_None
); resultobj
= Py_None
;
16226 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16229 wxImageList
*arg2
= (wxImageList
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self",(char *) "imageList", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16238 if (SWIG_arg_fail(1)) SWIG_fail
;
16239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16240 if (SWIG_arg_fail(2)) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 (arg1
)->AssignImageList(arg2
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 Py_INCREF(Py_None
); resultobj
= Py_None
;
16255 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16258 wxImageList
*result
;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= wxPyMake_wxObject(result
, 0);
16283 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 PyObject
* obj1
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self",(char *) "n", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16296 if (SWIG_arg_fail(1)) SWIG_fail
;
16298 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16299 if (SWIG_arg_fail(2)) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_From_int((int)(result
));
16317 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 PyObject
* obj1
= 0 ;
16325 PyObject
* obj2
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self",(char *) "n",(char *) "imageId", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16332 if (SWIG_arg_fail(1)) SWIG_fail
;
16334 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16335 if (SWIG_arg_fail(2)) SWIG_fail
;
16338 arg3
= (int)(SWIG_As_int(obj2
));
16339 if (SWIG_arg_fail(3)) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16357 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16362 PyObject
* obj0
= 0 ;
16363 PyObject
* obj1
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self",(char *) "size", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16370 if (SWIG_arg_fail(1)) SWIG_fail
;
16373 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 Py_INCREF(Py_None
); resultobj
= Py_None
;
16389 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "sizePage", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16403 if (SWIG_arg_fail(1)) SWIG_fail
;
16406 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16416 wxSize
* resultptr
;
16417 resultptr
= new wxSize((wxSize
&)(result
));
16418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16426 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16431 PyObject
* obj0
= 0 ;
16432 PyObject
* obj1
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "self",(char *) "n", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16439 if (SWIG_arg_fail(1)) SWIG_fail
;
16441 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16442 if (SWIG_arg_fail(2)) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (bool)(arg1
)->DeletePage(arg2
);
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16460 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self",(char *) "n", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16473 if (SWIG_arg_fail(1)) SWIG_fail
;
16475 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16476 if (SWIG_arg_fail(2)) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= (bool)(arg1
)->RemovePage(arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16494 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16505 if (SWIG_arg_fail(1)) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (bool)(arg1
)->DeleteAllPages();
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16522 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16525 wxWindow
*arg2
= (wxWindow
*) 0 ;
16526 wxString
*arg3
= 0 ;
16527 bool arg4
= (bool) false ;
16528 int arg5
= (int) -1 ;
16530 bool temp3
= false ;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 PyObject
* obj2
= 0 ;
16534 PyObject
* obj3
= 0 ;
16535 PyObject
* obj4
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16542 if (SWIG_arg_fail(1)) SWIG_fail
;
16543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16544 if (SWIG_arg_fail(2)) SWIG_fail
;
16546 arg3
= wxString_in_helper(obj2
);
16547 if (arg3
== NULL
) SWIG_fail
;
16552 arg4
= (bool)(SWIG_As_bool(obj3
));
16553 if (SWIG_arg_fail(4)) SWIG_fail
;
16558 arg5
= (int)(SWIG_As_int(obj4
));
16559 if (SWIG_arg_fail(5)) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16586 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16590 wxWindow
*arg3
= (wxWindow
*) 0 ;
16591 wxString
*arg4
= 0 ;
16592 bool arg5
= (bool) false ;
16593 int arg6
= (int) -1 ;
16595 bool temp4
= false ;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 PyObject
* obj2
= 0 ;
16599 PyObject
* obj3
= 0 ;
16600 PyObject
* obj4
= 0 ;
16601 PyObject
* obj5
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16608 if (SWIG_arg_fail(1)) SWIG_fail
;
16610 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16611 if (SWIG_arg_fail(2)) SWIG_fail
;
16613 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16614 if (SWIG_arg_fail(3)) SWIG_fail
;
16616 arg4
= wxString_in_helper(obj3
);
16617 if (arg4
== NULL
) SWIG_fail
;
16622 arg5
= (bool)(SWIG_As_bool(obj4
));
16623 if (SWIG_arg_fail(5)) SWIG_fail
;
16628 arg6
= (int)(SWIG_As_int(obj5
));
16629 if (SWIG_arg_fail(6)) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16656 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 PyObject
* obj1
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self",(char *) "n", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16669 if (SWIG_arg_fail(1)) SWIG_fail
;
16671 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16672 if (SWIG_arg_fail(2)) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (int)(arg1
)->SetSelection(arg2
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16682 resultobj
= SWIG_From_int((int)(result
));
16690 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16693 bool arg2
= (bool) true ;
16694 PyObject
* obj0
= 0 ;
16695 PyObject
* obj1
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "self",(char *) "forward", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16702 if (SWIG_arg_fail(1)) SWIG_fail
;
16705 arg2
= (bool)(SWIG_As_bool(obj1
));
16706 if (SWIG_arg_fail(2)) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 (arg1
)->AdvanceSelection(arg2
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 Py_INCREF(Py_None
); resultobj
= Py_None
;
16723 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16726 wxVisualAttributes result
;
16727 PyObject
* obj0
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "variant", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16735 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16736 if (SWIG_arg_fail(1)) SWIG_fail
;
16740 if (!wxPyCheckForApp()) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 wxVisualAttributes
* resultptr
;
16749 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16758 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16761 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16763 return Py_BuildValue((char *)"");
16765 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
;
16767 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16768 int arg2
= (int) 0 ;
16769 int arg3
= (int) -1 ;
16770 int arg4
= (int) -1 ;
16771 wxBookCtrlBaseEvent
*result
;
16772 PyObject
* obj0
= 0 ;
16773 PyObject
* obj1
= 0 ;
16774 PyObject
* obj2
= 0 ;
16775 PyObject
* obj3
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16783 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16789 arg2
= (int)(SWIG_As_int(obj1
));
16790 if (SWIG_arg_fail(2)) SWIG_fail
;
16795 arg3
= (int)(SWIG_As_int(obj2
));
16796 if (SWIG_arg_fail(3)) SWIG_fail
;
16801 arg4
= (int)(SWIG_As_int(obj3
));
16802 if (SWIG_arg_fail(4)) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16819 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16823 PyObject
* obj0
= 0 ;
16824 char *kwnames
[] = {
16825 (char *) "self", NULL
16828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16830 if (SWIG_arg_fail(1)) SWIG_fail
;
16832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16833 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16835 wxPyEndAllowThreads(__tstate
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16839 resultobj
= SWIG_From_int((int)(result
));
16847 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self",(char *) "nSel", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16859 if (SWIG_arg_fail(1)) SWIG_fail
;
16861 arg2
= (int)(SWIG_As_int(obj1
));
16862 if (SWIG_arg_fail(2)) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 (arg1
)->SetSelection(arg2
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 Py_INCREF(Py_None
); resultobj
= Py_None
;
16878 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "self", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16889 if (SWIG_arg_fail(1)) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= SWIG_From_int((int)(result
));
16906 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 PyObject
* obj1
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self",(char *) "nOldSel", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16918 if (SWIG_arg_fail(1)) SWIG_fail
;
16920 arg2
= (int)(SWIG_As_int(obj1
));
16921 if (SWIG_arg_fail(2)) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 (arg1
)->SetOldSelection(arg2
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 Py_INCREF(Py_None
); resultobj
= Py_None
;
16937 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
16939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16940 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
16942 return Py_BuildValue((char *)"");
16944 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxWindow
*arg1
= (wxWindow
*) 0 ;
16947 int arg2
= (int) -1 ;
16948 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16949 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16950 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16951 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16952 long arg5
= (long) 0 ;
16953 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
16954 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16955 wxNotebook
*result
;
16958 bool temp6
= false ;
16959 PyObject
* obj0
= 0 ;
16960 PyObject
* obj1
= 0 ;
16961 PyObject
* obj2
= 0 ;
16962 PyObject
* obj3
= 0 ;
16963 PyObject
* obj4
= 0 ;
16964 PyObject
* obj5
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16971 if (SWIG_arg_fail(1)) SWIG_fail
;
16974 arg2
= (int)(SWIG_As_int(obj1
));
16975 if (SWIG_arg_fail(2)) SWIG_fail
;
16981 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16987 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16992 arg5
= (long)(SWIG_As_long(obj4
));
16993 if (SWIG_arg_fail(5)) SWIG_fail
;
16998 arg6
= wxString_in_helper(obj5
);
16999 if (arg6
== NULL
) SWIG_fail
;
17004 if (!wxPyCheckForApp()) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17026 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxNotebook
*result
;
17029 char *kwnames
[] = {
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17035 if (!wxPyCheckForApp()) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (wxNotebook
*)new wxNotebook();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17049 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17052 wxWindow
*arg2
= (wxWindow
*) 0 ;
17053 int arg3
= (int) -1 ;
17054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17058 long arg6
= (long) 0 ;
17059 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17060 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17064 bool temp7
= false ;
17065 PyObject
* obj0
= 0 ;
17066 PyObject
* obj1
= 0 ;
17067 PyObject
* obj2
= 0 ;
17068 PyObject
* obj3
= 0 ;
17069 PyObject
* obj4
= 0 ;
17070 PyObject
* obj5
= 0 ;
17071 PyObject
* obj6
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17078 if (SWIG_arg_fail(1)) SWIG_fail
;
17079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17080 if (SWIG_arg_fail(2)) SWIG_fail
;
17083 arg3
= (int)(SWIG_As_int(obj2
));
17084 if (SWIG_arg_fail(3)) SWIG_fail
;
17090 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17096 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17101 arg6
= (long)(SWIG_As_long(obj5
));
17102 if (SWIG_arg_fail(6)) SWIG_fail
;
17107 arg7
= wxString_in_helper(obj6
);
17108 if (arg7
== NULL
) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17136 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17140 PyObject
* obj0
= 0 ;
17141 char *kwnames
[] = {
17142 (char *) "self", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17147 if (SWIG_arg_fail(1)) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= SWIG_From_int((int)(result
));
17164 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
;
17166 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 char *kwnames
[] = {
17172 (char *) "self",(char *) "padding", NULL
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17177 if (SWIG_arg_fail(1)) SWIG_fail
;
17180 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17189 Py_INCREF(Py_None
); resultobj
= Py_None
;
17196 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
;
17198 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self",(char *) "sz", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17209 if (SWIG_arg_fail(1)) SWIG_fail
;
17212 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 Py_INCREF(Py_None
); resultobj
= Py_None
;
17228 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17231 wxPoint
*arg2
= 0 ;
17232 long *arg3
= (long *) 0 ;
17237 PyObject
* obj0
= 0 ;
17238 PyObject
* obj1
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self",(char *) "pt", NULL
17243 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17246 if (SWIG_arg_fail(1)) SWIG_fail
;
17249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= SWIG_From_int((int)(result
));
17261 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17262 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17269 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
;
17271 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self",(char *) "sizePage", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17283 if (SWIG_arg_fail(1)) SWIG_fail
;
17286 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 wxSize
* resultptr
;
17297 resultptr
= new wxSize((wxSize
&)(result
));
17298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17306 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17310 PyObject
* obj0
= 0 ;
17311 char *kwnames
[] = {
17312 (char *) "self", NULL
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17317 if (SWIG_arg_fail(1)) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17326 wxColour
* resultptr
;
17327 resultptr
= new wxColour((wxColour
&)(result
));
17328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17336 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17339 wxVisualAttributes result
;
17340 PyObject
* obj0
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "variant", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17348 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17349 if (SWIG_arg_fail(1)) SWIG_fail
;
17353 if (!wxPyCheckForApp()) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 wxVisualAttributes
* resultptr
;
17362 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17371 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17374 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17376 return Py_BuildValue((char *)"");
17378 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17381 int arg2
= (int) 0 ;
17382 int arg3
= (int) -1 ;
17383 int arg4
= (int) -1 ;
17384 wxNotebookEvent
*result
;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 PyObject
* obj2
= 0 ;
17388 PyObject
* obj3
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17396 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17397 if (SWIG_arg_fail(1)) SWIG_fail
;
17402 arg2
= (int)(SWIG_As_int(obj1
));
17403 if (SWIG_arg_fail(2)) SWIG_fail
;
17408 arg3
= (int)(SWIG_As_int(obj2
));
17409 if (SWIG_arg_fail(3)) SWIG_fail
;
17414 arg4
= (int)(SWIG_As_int(obj3
));
17415 if (SWIG_arg_fail(4)) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17432 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17435 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17437 return Py_BuildValue((char *)"");
17439 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxWindow
*arg1
= (wxWindow
*) 0 ;
17442 int arg2
= (int) -1 ;
17443 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17444 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17445 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17446 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17447 long arg5
= (long) 0 ;
17448 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17449 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17450 wxListbook
*result
;
17453 bool temp6
= false ;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 PyObject
* obj2
= 0 ;
17457 PyObject
* obj3
= 0 ;
17458 PyObject
* obj4
= 0 ;
17459 PyObject
* obj5
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17466 if (SWIG_arg_fail(1)) SWIG_fail
;
17469 arg2
= (int)(SWIG_As_int(obj1
));
17470 if (SWIG_arg_fail(2)) SWIG_fail
;
17476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17482 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17487 arg5
= (long)(SWIG_As_long(obj4
));
17488 if (SWIG_arg_fail(5)) SWIG_fail
;
17493 arg6
= wxString_in_helper(obj5
);
17494 if (arg6
== NULL
) SWIG_fail
;
17499 if (!wxPyCheckForApp()) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17521 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxListbook
*result
;
17524 char *kwnames
[] = {
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17530 if (!wxPyCheckForApp()) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 result
= (wxListbook
*)new wxListbook();
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17544 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxListbook
*arg1
= (wxListbook
*) 0 ;
17547 wxWindow
*arg2
= (wxWindow
*) 0 ;
17548 int arg3
= (int) -1 ;
17549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17553 long arg6
= (long) 0 ;
17554 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17559 bool temp7
= false ;
17560 PyObject
* obj0
= 0 ;
17561 PyObject
* obj1
= 0 ;
17562 PyObject
* obj2
= 0 ;
17563 PyObject
* obj3
= 0 ;
17564 PyObject
* obj4
= 0 ;
17565 PyObject
* obj5
= 0 ;
17566 PyObject
* obj6
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17573 if (SWIG_arg_fail(1)) SWIG_fail
;
17574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17575 if (SWIG_arg_fail(2)) SWIG_fail
;
17578 arg3
= (int)(SWIG_As_int(obj2
));
17579 if (SWIG_arg_fail(3)) SWIG_fail
;
17585 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17591 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17596 arg6
= (long)(SWIG_As_long(obj5
));
17597 if (SWIG_arg_fail(6)) SWIG_fail
;
17602 arg7
= wxString_in_helper(obj6
);
17603 if (arg7
== NULL
) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17631 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxListbook
*arg1
= (wxListbook
*) 0 ;
17635 PyObject
* obj0
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "self", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17642 if (SWIG_arg_fail(1)) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17659 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxListbook
*arg1
= (wxListbook
*) 0 ;
17662 wxListView
*result
;
17663 PyObject
* obj0
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "self", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17670 if (SWIG_arg_fail(1)) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= (wxListView
*)(arg1
)->GetListView();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17685 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17688 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17690 return Py_BuildValue((char *)"");
17692 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17695 int arg2
= (int) 0 ;
17696 int arg3
= (int) -1 ;
17697 int arg4
= (int) -1 ;
17698 wxListbookEvent
*result
;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 PyObject
* obj3
= 0 ;
17703 char *kwnames
[] = {
17704 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17710 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17711 if (SWIG_arg_fail(1)) SWIG_fail
;
17716 arg2
= (int)(SWIG_As_int(obj1
));
17717 if (SWIG_arg_fail(2)) SWIG_fail
;
17722 arg3
= (int)(SWIG_As_int(obj2
));
17723 if (SWIG_arg_fail(3)) SWIG_fail
;
17728 arg4
= (int)(SWIG_As_int(obj3
));
17729 if (SWIG_arg_fail(4)) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17746 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17749 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17751 return Py_BuildValue((char *)"");
17753 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxWindow
*arg1
= (wxWindow
*) 0 ;
17757 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17758 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17759 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17760 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17761 long arg5
= (long) 0 ;
17762 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17763 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17764 wxChoicebook
*result
;
17767 bool temp6
= false ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 PyObject
* obj2
= 0 ;
17771 PyObject
* obj3
= 0 ;
17772 PyObject
* obj4
= 0 ;
17773 PyObject
* obj5
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17780 if (SWIG_arg_fail(1)) SWIG_fail
;
17782 arg2
= (int)(SWIG_As_int(obj1
));
17783 if (SWIG_arg_fail(2)) SWIG_fail
;
17788 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17794 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17799 arg5
= (long)(SWIG_As_long(obj4
));
17800 if (SWIG_arg_fail(5)) SWIG_fail
;
17805 arg6
= wxString_in_helper(obj5
);
17806 if (arg6
== NULL
) SWIG_fail
;
17811 if (!wxPyCheckForApp()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17833 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxChoicebook
*result
;
17836 char *kwnames
[] = {
17840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17842 if (!wxPyCheckForApp()) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (wxChoicebook
*)new wxChoicebook();
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17856 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17859 wxWindow
*arg2
= (wxWindow
*) 0 ;
17861 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17862 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17863 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17864 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17865 long arg6
= (long) 0 ;
17866 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17867 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17871 bool temp7
= false ;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 PyObject
* obj2
= 0 ;
17875 PyObject
* obj3
= 0 ;
17876 PyObject
* obj4
= 0 ;
17877 PyObject
* obj5
= 0 ;
17878 PyObject
* obj6
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17885 if (SWIG_arg_fail(1)) SWIG_fail
;
17886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17887 if (SWIG_arg_fail(2)) SWIG_fail
;
17889 arg3
= (int)(SWIG_As_int(obj2
));
17890 if (SWIG_arg_fail(3)) SWIG_fail
;
17895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17906 arg6
= (long)(SWIG_As_long(obj5
));
17907 if (SWIG_arg_fail(6)) SWIG_fail
;
17912 arg7
= wxString_in_helper(obj6
);
17913 if (arg7
== NULL
) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17941 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
17951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17952 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17969 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
17979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17980 if (SWIG_arg_fail(1)) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
17995 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18006 if (SWIG_arg_fail(1)) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (bool)(arg1
)->DeleteAllPages();
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18023 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18026 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18028 return Py_BuildValue((char *)"");
18030 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18033 int arg2
= (int) 0 ;
18034 int arg3
= (int) -1 ;
18035 int arg4
= (int) -1 ;
18036 wxChoicebookEvent
*result
;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 PyObject
* obj2
= 0 ;
18040 PyObject
* obj3
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18048 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18049 if (SWIG_arg_fail(1)) SWIG_fail
;
18054 arg2
= (int)(SWIG_As_int(obj1
));
18055 if (SWIG_arg_fail(2)) SWIG_fail
;
18060 arg3
= (int)(SWIG_As_int(obj2
));
18061 if (SWIG_arg_fail(3)) SWIG_fail
;
18066 arg4
= (int)(SWIG_As_int(obj3
));
18067 if (SWIG_arg_fail(4)) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18084 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18087 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18089 return Py_BuildValue((char *)"");
18091 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18094 wxBookCtrlSizer
*result
;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "nb", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18102 if (SWIG_arg_fail(1)) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18117 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->RecalcSizes();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 Py_INCREF(Py_None
); resultobj
= Py_None
;
18142 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18153 if (SWIG_arg_fail(1)) SWIG_fail
;
18155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 result
= (arg1
)->CalcMin();
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18162 wxSize
* resultptr
;
18163 resultptr
= new wxSize((wxSize
&)(result
));
18164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18172 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18174 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18175 wxBookCtrlBase
*result
;
18176 PyObject
* obj0
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18183 if (SWIG_arg_fail(1)) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18198 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18201 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18203 return Py_BuildValue((char *)"");
18205 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18208 wxNotebookSizer
*result
;
18209 PyObject
* obj0
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "nb", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18216 if (SWIG_arg_fail(1)) SWIG_fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18231 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18234 PyObject
* obj0
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18241 if (SWIG_arg_fail(1)) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 (arg1
)->RecalcSizes();
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 Py_INCREF(Py_None
); resultobj
= Py_None
;
18256 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18260 PyObject
* obj0
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18267 if (SWIG_arg_fail(1)) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 result
= (arg1
)->CalcMin();
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18276 wxSize
* resultptr
;
18277 resultptr
= new wxSize((wxSize
&)(result
));
18278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18286 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18289 wxNotebook
*result
;
18290 PyObject
* obj0
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18297 if (SWIG_arg_fail(1)) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= wxPyMake_wxObject(result
, 0);
18314 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18317 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18319 return Py_BuildValue((char *)"");
18321 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18325 PyObject
* obj0
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "self", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (int)(arg1
)->GetId();
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_From_int((int)(result
));
18349 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18360 if (SWIG_arg_fail(1)) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= (wxControl
*)(arg1
)->GetControl();
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= wxPyMake_wxObject(result
, 0);
18377 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18380 wxToolBarBase
*result
;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18388 if (SWIG_arg_fail(1)) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= wxPyMake_wxObject(result
, 0);
18405 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18416 if (SWIG_arg_fail(1)) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (int)(arg1
)->IsButton();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_From_int((int)(result
));
18433 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18444 if (SWIG_arg_fail(1)) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (int)(arg1
)->IsControl();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= SWIG_From_int((int)(result
));
18461 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18472 if (SWIG_arg_fail(1)) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 result
= (int)(arg1
)->IsSeparator();
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= SWIG_From_int((int)(result
));
18489 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18500 if (SWIG_arg_fail(1)) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (int)(arg1
)->GetStyle();
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_From_int((int)(result
));
18517 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18528 if (SWIG_arg_fail(1)) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (wxItemKind
)(arg1
)->GetKind();
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_From_int((result
));
18543 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18554 if (SWIG_arg_fail(1)) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 result
= (bool)(arg1
)->IsEnabled();
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18571 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18582 if (SWIG_arg_fail(1)) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (bool)(arg1
)->IsToggled();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18599 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "self", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18610 if (SWIG_arg_fail(1)) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (bool)(arg1
)->CanBeToggled();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18627 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18643 result
= (wxBitmap
*) &_result_ref
;
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 wxBitmap
* resultptr
= new wxBitmap(*result
);
18651 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18659 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18670 if (SWIG_arg_fail(1)) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18675 result
= (wxBitmap
*) &_result_ref
;
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18682 wxBitmap
* resultptr
= new wxBitmap(*result
);
18683 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18691 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18693 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18702 if (SWIG_arg_fail(1)) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (arg1
)->GetBitmap();
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18711 wxBitmap
* resultptr
;
18712 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18721 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18732 if (SWIG_arg_fail(1)) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (arg1
)->GetLabel();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18753 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18757 PyObject
* obj0
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18764 if (SWIG_arg_fail(1)) SWIG_fail
;
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 result
= (arg1
)->GetShortHelp();
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18785 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
;
18787 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18796 if (SWIG_arg_fail(1)) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 result
= (arg1
)->GetLongHelp();
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18817 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 PyObject
* obj1
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self",(char *) "enable", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18830 if (SWIG_arg_fail(1)) SWIG_fail
;
18832 arg2
= (bool)(SWIG_As_bool(obj1
));
18833 if (SWIG_arg_fail(2)) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= (bool)(arg1
)->Enable(arg2
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18851 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18854 PyObject
* obj0
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18861 if (SWIG_arg_fail(1)) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 Py_INCREF(Py_None
); resultobj
= Py_None
;
18876 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self",(char *) "toggle", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18889 if (SWIG_arg_fail(1)) SWIG_fail
;
18891 arg2
= (bool)(SWIG_As_bool(obj1
));
18892 if (SWIG_arg_fail(2)) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= (bool)(arg1
)->SetToggle(arg2
);
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18910 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18913 wxString
*arg2
= 0 ;
18915 bool temp2
= false ;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "help", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18924 if (SWIG_arg_fail(1)) SWIG_fail
;
18926 arg2
= wxString_in_helper(obj1
);
18927 if (arg2
== NULL
) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18954 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18957 wxString
*arg2
= 0 ;
18959 bool temp2
= false ;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self",(char *) "help", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18968 if (SWIG_arg_fail(1)) SWIG_fail
;
18970 arg2
= wxString_in_helper(obj1
);
18971 if (arg2
== NULL
) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18998 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
;
19000 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19001 wxBitmap
*arg2
= 0 ;
19002 PyObject
* obj0
= 0 ;
19003 PyObject
* obj1
= 0 ;
19004 char *kwnames
[] = {
19005 (char *) "self",(char *) "bmp", NULL
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19010 if (SWIG_arg_fail(1)) SWIG_fail
;
19012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19013 if (SWIG_arg_fail(2)) SWIG_fail
;
19014 if (arg2
== NULL
) {
19015 SWIG_null_ref("wxBitmap");
19017 if (SWIG_arg_fail(2)) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 Py_INCREF(Py_None
); resultobj
= Py_None
;
19033 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19036 wxBitmap
*arg2
= 0 ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 char *kwnames
[] = {
19040 (char *) "self",(char *) "bmp", NULL
19043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19045 if (SWIG_arg_fail(1)) SWIG_fail
;
19047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19048 if (SWIG_arg_fail(2)) SWIG_fail
;
19049 if (arg2
== NULL
) {
19050 SWIG_null_ref("wxBitmap");
19052 if (SWIG_arg_fail(2)) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 Py_INCREF(Py_None
); resultobj
= Py_None
;
19068 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19071 wxString
*arg2
= 0 ;
19072 bool temp2
= false ;
19073 PyObject
* obj0
= 0 ;
19074 PyObject
* obj1
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self",(char *) "label", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19081 if (SWIG_arg_fail(1)) SWIG_fail
;
19083 arg2
= wxString_in_helper(obj1
);
19084 if (arg2
== NULL
) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->SetLabel((wxString
const &)*arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 Py_INCREF(Py_None
); resultobj
= Py_None
;
19109 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19119 if (SWIG_arg_fail(1)) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19137 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self",(char *) "tbar", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19146 if (SWIG_arg_fail(1)) SWIG_fail
;
19147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19148 if (SWIG_arg_fail(2)) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 (arg1
)->Attach(arg2
);
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 Py_INCREF(Py_None
); resultobj
= Py_None
;
19163 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19167 PyObject
* obj0
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19174 if (SWIG_arg_fail(1)) SWIG_fail
;
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= result
;
19189 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19192 PyObject
*arg2
= (PyObject
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self",(char *) "clientData", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 Py_INCREF(Py_None
); resultobj
= Py_None
;
19217 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19220 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19222 return Py_BuildValue((char *)"");
19224 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19228 wxString
*arg3
= 0 ;
19229 wxBitmap
*arg4
= 0 ;
19230 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19231 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19232 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19233 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19234 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19235 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19236 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19237 PyObject
*arg9
= (PyObject
*) NULL
;
19238 wxToolBarToolBase
*result
;
19239 bool temp3
= false ;
19240 bool temp7
= false ;
19241 bool temp8
= false ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 PyObject
* obj2
= 0 ;
19245 PyObject
* obj3
= 0 ;
19246 PyObject
* obj4
= 0 ;
19247 PyObject
* obj5
= 0 ;
19248 PyObject
* obj6
= 0 ;
19249 PyObject
* obj7
= 0 ;
19250 PyObject
* obj8
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19257 if (SWIG_arg_fail(1)) SWIG_fail
;
19259 arg2
= (int)(SWIG_As_int(obj1
));
19260 if (SWIG_arg_fail(2)) SWIG_fail
;
19263 arg3
= wxString_in_helper(obj2
);
19264 if (arg3
== NULL
) SWIG_fail
;
19268 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19269 if (SWIG_arg_fail(4)) SWIG_fail
;
19270 if (arg4
== NULL
) {
19271 SWIG_null_ref("wxBitmap");
19273 if (SWIG_arg_fail(4)) SWIG_fail
;
19277 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19278 if (SWIG_arg_fail(5)) SWIG_fail
;
19279 if (arg5
== NULL
) {
19280 SWIG_null_ref("wxBitmap");
19282 if (SWIG_arg_fail(5)) SWIG_fail
;
19287 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19288 if (SWIG_arg_fail(6)) SWIG_fail
;
19293 arg7
= wxString_in_helper(obj6
);
19294 if (arg7
== NULL
) SWIG_fail
;
19300 arg8
= wxString_in_helper(obj7
);
19301 if (arg8
== NULL
) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= wxPyMake_wxObject(result
, 0);
19348 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19353 wxString
*arg4
= 0 ;
19354 wxBitmap
*arg5
= 0 ;
19355 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19356 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19357 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19358 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19359 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19360 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19361 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19362 PyObject
*arg10
= (PyObject
*) NULL
;
19363 wxToolBarToolBase
*result
;
19364 bool temp4
= false ;
19365 bool temp8
= false ;
19366 bool temp9
= false ;
19367 PyObject
* obj0
= 0 ;
19368 PyObject
* obj1
= 0 ;
19369 PyObject
* obj2
= 0 ;
19370 PyObject
* obj3
= 0 ;
19371 PyObject
* obj4
= 0 ;
19372 PyObject
* obj5
= 0 ;
19373 PyObject
* obj6
= 0 ;
19374 PyObject
* obj7
= 0 ;
19375 PyObject
* obj8
= 0 ;
19376 PyObject
* obj9
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19383 if (SWIG_arg_fail(1)) SWIG_fail
;
19385 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19386 if (SWIG_arg_fail(2)) SWIG_fail
;
19389 arg3
= (int)(SWIG_As_int(obj2
));
19390 if (SWIG_arg_fail(3)) SWIG_fail
;
19393 arg4
= wxString_in_helper(obj3
);
19394 if (arg4
== NULL
) SWIG_fail
;
19398 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19399 if (SWIG_arg_fail(5)) SWIG_fail
;
19400 if (arg5
== NULL
) {
19401 SWIG_null_ref("wxBitmap");
19403 if (SWIG_arg_fail(5)) SWIG_fail
;
19407 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19408 if (SWIG_arg_fail(6)) SWIG_fail
;
19409 if (arg6
== NULL
) {
19410 SWIG_null_ref("wxBitmap");
19412 if (SWIG_arg_fail(6)) SWIG_fail
;
19417 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19418 if (SWIG_arg_fail(7)) SWIG_fail
;
19423 arg8
= wxString_in_helper(obj7
);
19424 if (arg8
== NULL
) SWIG_fail
;
19430 arg9
= wxString_in_helper(obj8
);
19431 if (arg9
== NULL
) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 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
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= wxPyMake_wxObject(result
, 0);
19478 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19481 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19482 wxToolBarToolBase
*result
;
19483 PyObject
* obj0
= 0 ;
19484 PyObject
* obj1
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "self",(char *) "tool", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19491 if (SWIG_arg_fail(1)) SWIG_fail
;
19492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19493 if (SWIG_arg_fail(2)) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= wxPyMake_wxObject(result
, 0);
19510 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
;
19512 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19514 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19515 wxToolBarToolBase
*result
;
19516 PyObject
* obj0
= 0 ;
19517 PyObject
* obj1
= 0 ;
19518 PyObject
* obj2
= 0 ;
19519 char *kwnames
[] = {
19520 (char *) "self",(char *) "pos",(char *) "tool", NULL
19523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19525 if (SWIG_arg_fail(1)) SWIG_fail
;
19527 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19528 if (SWIG_arg_fail(2)) SWIG_fail
;
19530 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19531 if (SWIG_arg_fail(3)) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= wxPyMake_wxObject(result
, 0);
19548 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19551 wxControl
*arg2
= (wxControl
*) 0 ;
19552 wxToolBarToolBase
*result
;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self",(char *) "control", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19561 if (SWIG_arg_fail(1)) SWIG_fail
;
19562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19563 if (SWIG_arg_fail(2)) SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= wxPyMake_wxObject(result
, 0);
19580 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19582 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19584 wxControl
*arg3
= (wxControl
*) 0 ;
19585 wxToolBarToolBase
*result
;
19586 PyObject
* obj0
= 0 ;
19587 PyObject
* obj1
= 0 ;
19588 PyObject
* obj2
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self",(char *) "pos",(char *) "control", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19595 if (SWIG_arg_fail(1)) SWIG_fail
;
19597 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19598 if (SWIG_arg_fail(2)) SWIG_fail
;
19600 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19601 if (SWIG_arg_fail(3)) SWIG_fail
;
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= wxPyMake_wxObject(result
, 0);
19618 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 PyObject
* obj1
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "self",(char *) "id", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19631 if (SWIG_arg_fail(1)) SWIG_fail
;
19633 arg2
= (int)(SWIG_As_int(obj1
));
19634 if (SWIG_arg_fail(2)) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= wxPyMake_wxObject(result
, 0);
19652 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19655 wxToolBarToolBase
*result
;
19656 PyObject
* obj0
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19663 if (SWIG_arg_fail(1)) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= wxPyMake_wxObject(result
, 0);
19680 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
;
19682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19684 wxToolBarToolBase
*result
;
19685 PyObject
* obj0
= 0 ;
19686 PyObject
* obj1
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self",(char *) "pos", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19693 if (SWIG_arg_fail(1)) SWIG_fail
;
19695 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19696 if (SWIG_arg_fail(2)) SWIG_fail
;
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= wxPyMake_wxObject(result
, 0);
19714 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
;
19716 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19718 wxToolBarToolBase
*result
;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self",(char *) "id", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19727 if (SWIG_arg_fail(1)) SWIG_fail
;
19729 arg2
= (int)(SWIG_As_int(obj1
));
19730 if (SWIG_arg_fail(2)) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= wxPyMake_wxObject(result
, 0);
19748 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19753 PyObject
* obj0
= 0 ;
19754 PyObject
* obj1
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self",(char *) "pos", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19761 if (SWIG_arg_fail(1)) SWIG_fail
;
19763 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19764 if (SWIG_arg_fail(2)) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19782 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
;
19784 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self",(char *) "id", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19795 if (SWIG_arg_fail(1)) SWIG_fail
;
19797 arg2
= (int)(SWIG_As_int(obj1
));
19798 if (SWIG_arg_fail(2)) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= (bool)(arg1
)->DeleteTool(arg2
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19816 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19819 PyObject
* obj0
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19826 if (SWIG_arg_fail(1)) SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 (arg1
)->ClearTools();
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19834 Py_INCREF(Py_None
); resultobj
= Py_None
;
19841 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19852 if (SWIG_arg_fail(1)) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= (bool)(arg1
)->Realize();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19869 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 PyObject
* obj1
= 0 ;
19876 PyObject
* obj2
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self",(char *) "id",(char *) "enable", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19883 if (SWIG_arg_fail(1)) SWIG_fail
;
19885 arg2
= (int)(SWIG_As_int(obj1
));
19886 if (SWIG_arg_fail(2)) SWIG_fail
;
19889 arg3
= (bool)(SWIG_As_bool(obj2
));
19890 if (SWIG_arg_fail(3)) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 (arg1
)->EnableTool(arg2
,arg3
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 Py_INCREF(Py_None
); resultobj
= Py_None
;
19906 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 PyObject
* obj2
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self",(char *) "id",(char *) "toggle", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19920 if (SWIG_arg_fail(1)) SWIG_fail
;
19922 arg2
= (int)(SWIG_As_int(obj1
));
19923 if (SWIG_arg_fail(2)) SWIG_fail
;
19926 arg3
= (bool)(SWIG_As_bool(obj2
));
19927 if (SWIG_arg_fail(3)) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 (arg1
)->ToggleTool(arg2
,arg3
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 Py_INCREF(Py_None
); resultobj
= Py_None
;
19943 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
;
19945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19948 PyObject
* obj0
= 0 ;
19949 PyObject
* obj1
= 0 ;
19950 PyObject
* obj2
= 0 ;
19951 char *kwnames
[] = {
19952 (char *) "self",(char *) "id",(char *) "toggle", NULL
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19957 if (SWIG_arg_fail(1)) SWIG_fail
;
19959 arg2
= (int)(SWIG_As_int(obj1
));
19960 if (SWIG_arg_fail(2)) SWIG_fail
;
19963 arg3
= (bool)(SWIG_As_bool(obj2
));
19964 if (SWIG_arg_fail(3)) SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 (arg1
)->SetToggle(arg2
,arg3
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 Py_INCREF(Py_None
); resultobj
= Py_None
;
19980 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char *kwnames
[] = {
19988 (char *) "self",(char *) "id", NULL
19991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19993 if (SWIG_arg_fail(1)) SWIG_fail
;
19995 arg2
= (int)(SWIG_As_int(obj1
));
19996 if (SWIG_arg_fail(2)) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= result
;
20012 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20016 PyObject
*arg3
= (PyObject
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20019 PyObject
* obj2
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self",(char *) "id",(char *) "clientData", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20026 if (SWIG_arg_fail(1)) SWIG_fail
;
20028 arg2
= (int)(SWIG_As_int(obj1
));
20029 if (SWIG_arg_fail(2)) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 Py_INCREF(Py_None
); resultobj
= Py_None
;
20046 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 PyObject
* obj1
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self",(char *) "id", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail
;
20061 arg2
= (int)(SWIG_As_int(obj1
));
20062 if (SWIG_arg_fail(2)) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= SWIG_From_int((int)(result
));
20080 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
;
20082 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 PyObject
* obj1
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self",(char *) "id", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20093 if (SWIG_arg_fail(1)) SWIG_fail
;
20095 arg2
= (int)(SWIG_As_int(obj1
));
20096 if (SWIG_arg_fail(2)) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (bool)(arg1
)->GetToolState(arg2
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20114 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
;
20116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 PyObject
* obj1
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self",(char *) "id", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20127 if (SWIG_arg_fail(1)) SWIG_fail
;
20129 arg2
= (int)(SWIG_As_int(obj1
));
20130 if (SWIG_arg_fail(2)) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20148 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20152 wxString
*arg3
= 0 ;
20153 bool temp3
= false ;
20154 PyObject
* obj0
= 0 ;
20155 PyObject
* obj1
= 0 ;
20156 PyObject
* obj2
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self",(char *) "id",(char *) "helpString", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20163 if (SWIG_arg_fail(1)) SWIG_fail
;
20165 arg2
= (int)(SWIG_As_int(obj1
));
20166 if (SWIG_arg_fail(2)) SWIG_fail
;
20169 arg3
= wxString_in_helper(obj2
);
20170 if (arg3
== NULL
) SWIG_fail
;
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20180 Py_INCREF(Py_None
); resultobj
= Py_None
;
20195 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self",(char *) "id", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20208 if (SWIG_arg_fail(1)) SWIG_fail
;
20210 arg2
= (int)(SWIG_As_int(obj1
));
20211 if (SWIG_arg_fail(2)) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= (arg1
)->GetToolShortHelp(arg2
);
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20233 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20237 wxString
*arg3
= 0 ;
20238 bool temp3
= false ;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20241 PyObject
* obj2
= 0 ;
20242 char *kwnames
[] = {
20243 (char *) "self",(char *) "id",(char *) "helpString", NULL
20246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20248 if (SWIG_arg_fail(1)) SWIG_fail
;
20250 arg2
= (int)(SWIG_As_int(obj1
));
20251 if (SWIG_arg_fail(2)) SWIG_fail
;
20254 arg3
= wxString_in_helper(obj2
);
20255 if (arg3
== NULL
) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20285 PyObject
* obj0
= 0 ;
20286 PyObject
* obj1
= 0 ;
20287 char *kwnames
[] = {
20288 (char *) "self",(char *) "id", NULL
20291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20293 if (SWIG_arg_fail(1)) SWIG_fail
;
20295 arg2
= (int)(SWIG_As_int(obj1
));
20296 if (SWIG_arg_fail(2)) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 result
= (arg1
)->GetToolLongHelp(arg2
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20318 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 PyObject
* obj1
= 0 ;
20325 PyObject
* obj2
= 0 ;
20326 char *kwnames
[] = {
20327 (char *) "self",(char *) "x",(char *) "y", NULL
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20332 if (SWIG_arg_fail(1)) SWIG_fail
;
20334 arg2
= (int)(SWIG_As_int(obj1
));
20335 if (SWIG_arg_fail(2)) SWIG_fail
;
20338 arg3
= (int)(SWIG_As_int(obj2
));
20339 if (SWIG_arg_fail(3)) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 (arg1
)->SetMargins(arg2
,arg3
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 Py_INCREF(Py_None
); resultobj
= Py_None
;
20355 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
;
20357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 PyObject
* obj1
= 0 ;
20362 char *kwnames
[] = {
20363 (char *) "self",(char *) "size", NULL
20366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20368 if (SWIG_arg_fail(1)) SWIG_fail
;
20371 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 Py_INCREF(Py_None
); resultobj
= Py_None
;
20387 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20391 PyObject
* obj0
= 0 ;
20392 PyObject
* obj1
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self",(char *) "packing", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20399 if (SWIG_arg_fail(1)) SWIG_fail
;
20401 arg2
= (int)(SWIG_As_int(obj1
));
20402 if (SWIG_arg_fail(2)) SWIG_fail
;
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 (arg1
)->SetToolPacking(arg2
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 Py_INCREF(Py_None
); resultobj
= Py_None
;
20418 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20422 PyObject
* obj0
= 0 ;
20423 PyObject
* obj1
= 0 ;
20424 char *kwnames
[] = {
20425 (char *) "self",(char *) "separation", NULL
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20430 if (SWIG_arg_fail(1)) SWIG_fail
;
20432 arg2
= (int)(SWIG_As_int(obj1
));
20433 if (SWIG_arg_fail(2)) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 (arg1
)->SetToolSeparation(arg2
);
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 Py_INCREF(Py_None
); resultobj
= Py_None
;
20449 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20453 PyObject
* obj0
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20460 if (SWIG_arg_fail(1)) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 result
= (arg1
)->GetToolMargins();
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20469 wxSize
* resultptr
;
20470 resultptr
= new wxSize((wxSize
&)(result
));
20471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20479 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20483 PyObject
* obj0
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (arg1
)->GetMargins();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20499 wxSize
* resultptr
;
20500 resultptr
= new wxSize((wxSize
&)(result
));
20501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20509 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
;
20511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20513 PyObject
* obj0
= 0 ;
20514 char *kwnames
[] = {
20515 (char *) "self", NULL
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20520 if (SWIG_arg_fail(1)) SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 result
= (int)(arg1
)->GetToolPacking();
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_From_int((int)(result
));
20537 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20541 PyObject
* obj0
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20548 if (SWIG_arg_fail(1)) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= (int)(arg1
)->GetToolSeparation();
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20557 resultobj
= SWIG_From_int((int)(result
));
20565 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self",(char *) "nRows", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20577 if (SWIG_arg_fail(1)) SWIG_fail
;
20579 arg2
= (int)(SWIG_As_int(obj1
));
20580 if (SWIG_arg_fail(2)) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 (arg1
)->SetRows(arg2
);
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 Py_INCREF(Py_None
); resultobj
= Py_None
;
20596 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 PyObject
* obj1
= 0 ;
20603 PyObject
* obj2
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self",(char *) "rows",(char *) "cols", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20610 if (SWIG_arg_fail(1)) SWIG_fail
;
20612 arg2
= (int)(SWIG_As_int(obj1
));
20613 if (SWIG_arg_fail(2)) SWIG_fail
;
20616 arg3
= (int)(SWIG_As_int(obj2
));
20617 if (SWIG_arg_fail(3)) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 Py_INCREF(Py_None
); resultobj
= Py_None
;
20633 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "self", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20644 if (SWIG_arg_fail(1)) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (int)(arg1
)->GetMaxRows();
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= SWIG_From_int((int)(result
));
20661 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20665 PyObject
* obj0
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20672 if (SWIG_arg_fail(1)) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= (int)(arg1
)->GetMaxCols();
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= SWIG_From_int((int)(result
));
20689 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self",(char *) "size", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20702 if (SWIG_arg_fail(1)) SWIG_fail
;
20705 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 Py_INCREF(Py_None
); resultobj
= Py_None
;
20721 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20725 PyObject
* obj0
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "self", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20732 if (SWIG_arg_fail(1)) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 result
= (arg1
)->GetToolBitmapSize();
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20741 wxSize
* resultptr
;
20742 resultptr
= new wxSize((wxSize
&)(result
));
20743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20751 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20762 if (SWIG_arg_fail(1)) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 result
= (arg1
)->GetToolSize();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20771 wxSize
* resultptr
;
20772 resultptr
= new wxSize((wxSize
&)(result
));
20773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20781 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20786 wxToolBarToolBase
*result
;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 PyObject
* obj2
= 0 ;
20790 char *kwnames
[] = {
20791 (char *) "self",(char *) "x",(char *) "y", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20796 if (SWIG_arg_fail(1)) SWIG_fail
;
20798 arg2
= (int)(SWIG_As_int(obj1
));
20799 if (SWIG_arg_fail(2)) SWIG_fail
;
20802 arg3
= (int)(SWIG_As_int(obj2
));
20803 if (SWIG_arg_fail(3)) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= wxPyMake_wxObject(result
, 0);
20821 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20825 wxToolBarToolBase
*result
;
20826 PyObject
* obj0
= 0 ;
20827 PyObject
* obj1
= 0 ;
20828 char *kwnames
[] = {
20829 (char *) "self",(char *) "toolid", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20834 if (SWIG_arg_fail(1)) SWIG_fail
;
20836 arg2
= (int)(SWIG_As_int(obj1
));
20837 if (SWIG_arg_fail(2)) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= wxPyMake_wxObject(result
, 0);
20855 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20866 if (SWIG_arg_fail(1)) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (bool)(arg1
)->IsVertical();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20883 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20886 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20888 return Py_BuildValue((char *)"");
20890 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxWindow
*arg1
= (wxWindow
*) 0 ;
20893 int arg2
= (int) -1 ;
20894 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20895 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20896 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20897 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20898 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20899 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20900 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20904 bool temp6
= false ;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 PyObject
* obj2
= 0 ;
20908 PyObject
* obj3
= 0 ;
20909 PyObject
* obj4
= 0 ;
20910 PyObject
* obj5
= 0 ;
20911 char *kwnames
[] = {
20912 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20917 if (SWIG_arg_fail(1)) SWIG_fail
;
20920 arg2
= (int)(SWIG_As_int(obj1
));
20921 if (SWIG_arg_fail(2)) SWIG_fail
;
20927 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20933 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20938 arg5
= (long)(SWIG_As_long(obj4
));
20939 if (SWIG_arg_fail(5)) SWIG_fail
;
20944 arg6
= wxString_in_helper(obj5
);
20945 if (arg6
== NULL
) SWIG_fail
;
20950 if (!wxPyCheckForApp()) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20972 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20975 char *kwnames
[] = {
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
20981 if (!wxPyCheckForApp()) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 result
= (wxToolBar
*)new wxToolBar();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20995 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
20998 wxWindow
*arg2
= (wxWindow
*) 0 ;
20999 int arg3
= (int) -1 ;
21000 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21001 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21002 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21003 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21004 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21005 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21006 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21010 bool temp7
= false ;
21011 PyObject
* obj0
= 0 ;
21012 PyObject
* obj1
= 0 ;
21013 PyObject
* obj2
= 0 ;
21014 PyObject
* obj3
= 0 ;
21015 PyObject
* obj4
= 0 ;
21016 PyObject
* obj5
= 0 ;
21017 PyObject
* obj6
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21024 if (SWIG_arg_fail(1)) SWIG_fail
;
21025 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21026 if (SWIG_arg_fail(2)) SWIG_fail
;
21029 arg3
= (int)(SWIG_As_int(obj2
));
21030 if (SWIG_arg_fail(3)) SWIG_fail
;
21036 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21042 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21047 arg6
= (long)(SWIG_As_long(obj5
));
21048 if (SWIG_arg_fail(6)) SWIG_fail
;
21053 arg7
= wxString_in_helper(obj6
);
21054 if (arg7
== NULL
) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21082 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21087 wxToolBarToolBase
*result
;
21088 PyObject
* obj0
= 0 ;
21089 PyObject
* obj1
= 0 ;
21090 PyObject
* obj2
= 0 ;
21091 char *kwnames
[] = {
21092 (char *) "self",(char *) "x",(char *) "y", NULL
21095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21097 if (SWIG_arg_fail(1)) SWIG_fail
;
21099 arg2
= (int)(SWIG_As_int(obj1
));
21100 if (SWIG_arg_fail(2)) SWIG_fail
;
21103 arg3
= (int)(SWIG_As_int(obj2
));
21104 if (SWIG_arg_fail(3)) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= wxPyMake_wxObject(result
, 0);
21122 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21125 wxVisualAttributes result
;
21126 PyObject
* obj0
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "variant", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21134 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21135 if (SWIG_arg_fail(1)) SWIG_fail
;
21139 if (!wxPyCheckForApp()) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21147 wxVisualAttributes
* resultptr
;
21148 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21157 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21160 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21162 return Py_BuildValue((char *)"");
21164 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21165 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21170 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21175 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21177 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21184 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxColour
const &arg1_defvalue
= wxNullColour
;
21187 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21188 wxColour
const &arg2_defvalue
= wxNullColour
;
21189 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21190 wxFont
const &arg3_defvalue
= wxNullFont
;
21191 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21192 wxListItemAttr
*result
;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 PyObject
* obj2
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21206 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21212 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21217 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21218 if (SWIG_arg_fail(3)) SWIG_fail
;
21219 if (arg3
== NULL
) {
21220 SWIG_null_ref("wxFont");
21222 if (SWIG_arg_fail(3)) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21239 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21242 wxColour
*arg2
= 0 ;
21244 PyObject
* obj0
= 0 ;
21245 PyObject
* obj1
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self",(char *) "colText", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21252 if (SWIG_arg_fail(1)) SWIG_fail
;
21255 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 Py_INCREF(Py_None
); resultobj
= Py_None
;
21271 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21274 wxColour
*arg2
= 0 ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "colBack", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21284 if (SWIG_arg_fail(1)) SWIG_fail
;
21287 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 Py_INCREF(Py_None
); resultobj
= Py_None
;
21303 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21305 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self",(char *) "font", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21315 if (SWIG_arg_fail(1)) SWIG_fail
;
21317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21318 if (SWIG_arg_fail(2)) SWIG_fail
;
21319 if (arg2
== NULL
) {
21320 SWIG_null_ref("wxFont");
21322 if (SWIG_arg_fail(2)) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 (arg1
)->SetFont((wxFont
const &)*arg2
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 Py_INCREF(Py_None
); resultobj
= Py_None
;
21338 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21349 if (SWIG_arg_fail(1)) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (bool)(arg1
)->HasTextColour();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21366 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21370 PyObject
* obj0
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "self", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21377 if (SWIG_arg_fail(1)) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (bool)(arg1
)->HasBackgroundColour();
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21394 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21396 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21398 PyObject
* obj0
= 0 ;
21399 char *kwnames
[] = {
21400 (char *) "self", NULL
21403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21405 if (SWIG_arg_fail(1)) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (bool)(arg1
)->HasFont();
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21422 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21426 PyObject
* obj0
= 0 ;
21427 char *kwnames
[] = {
21428 (char *) "self", NULL
21431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21433 if (SWIG_arg_fail(1)) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 result
= (arg1
)->GetTextColour();
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21442 wxColour
* resultptr
;
21443 resultptr
= new wxColour((wxColour
&)(result
));
21444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21452 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21463 if (SWIG_arg_fail(1)) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (arg1
)->GetBackgroundColour();
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 wxColour
* resultptr
;
21473 resultptr
= new wxColour((wxColour
&)(result
));
21474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21482 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21486 PyObject
* obj0
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21493 if (SWIG_arg_fail(1)) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (arg1
)->GetFont();
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21502 wxFont
* resultptr
;
21503 resultptr
= new wxFont((wxFont
&)(result
));
21504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21512 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
;
21514 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21515 PyObject
* obj0
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21522 if (SWIG_arg_fail(1)) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 wxListItemAttr_Destroy(arg1
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 Py_INCREF(Py_None
); resultobj
= Py_None
;
21537 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21540 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21542 return Py_BuildValue((char *)"");
21544 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
;
21546 wxListItem
*result
;
21547 char *kwnames
[] = {
21551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= (wxListItem
*)new wxListItem();
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= wxPyMake_wxObject(result
, 1);
21568 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
;
21570 wxListItem
*arg1
= (wxListItem
*) 0 ;
21571 PyObject
* obj0
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21578 if (SWIG_arg_fail(1)) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 Py_INCREF(Py_None
); resultobj
= Py_None
;
21593 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxListItem
*arg1
= (wxListItem
*) 0 ;
21596 PyObject
* obj0
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21603 if (SWIG_arg_fail(1)) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 Py_INCREF(Py_None
); resultobj
= Py_None
;
21618 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21620 wxListItem
*arg1
= (wxListItem
*) 0 ;
21621 PyObject
* obj0
= 0 ;
21622 char *kwnames
[] = {
21623 (char *) "self", NULL
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21628 if (SWIG_arg_fail(1)) SWIG_fail
;
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 (arg1
)->ClearAttributes();
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 Py_INCREF(Py_None
); resultobj
= Py_None
;
21643 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxListItem
*arg1
= (wxListItem
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self",(char *) "mask", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21655 if (SWIG_arg_fail(1)) SWIG_fail
;
21657 arg2
= (long)(SWIG_As_long(obj1
));
21658 if (SWIG_arg_fail(2)) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 (arg1
)->SetMask(arg2
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 Py_INCREF(Py_None
); resultobj
= Py_None
;
21674 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
;
21676 wxListItem
*arg1
= (wxListItem
*) 0 ;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self",(char *) "id", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21686 if (SWIG_arg_fail(1)) SWIG_fail
;
21688 arg2
= (long)(SWIG_As_long(obj1
));
21689 if (SWIG_arg_fail(2)) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 (arg1
)->SetId(arg2
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 Py_INCREF(Py_None
); resultobj
= Py_None
;
21705 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21707 wxListItem
*arg1
= (wxListItem
*) 0 ;
21709 PyObject
* obj0
= 0 ;
21710 PyObject
* obj1
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self",(char *) "col", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21717 if (SWIG_arg_fail(1)) SWIG_fail
;
21719 arg2
= (int)(SWIG_As_int(obj1
));
21720 if (SWIG_arg_fail(2)) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 (arg1
)->SetColumn(arg2
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 Py_INCREF(Py_None
); resultobj
= Py_None
;
21736 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
;
21738 wxListItem
*arg1
= (wxListItem
*) 0 ;
21740 PyObject
* obj0
= 0 ;
21741 PyObject
* obj1
= 0 ;
21742 char *kwnames
[] = {
21743 (char *) "self",(char *) "state", NULL
21746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21748 if (SWIG_arg_fail(1)) SWIG_fail
;
21750 arg2
= (long)(SWIG_As_long(obj1
));
21751 if (SWIG_arg_fail(2)) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 (arg1
)->SetState(arg2
);
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21760 Py_INCREF(Py_None
); resultobj
= Py_None
;
21767 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21768 PyObject
*resultobj
;
21769 wxListItem
*arg1
= (wxListItem
*) 0 ;
21771 PyObject
* obj0
= 0 ;
21772 PyObject
* obj1
= 0 ;
21773 char *kwnames
[] = {
21774 (char *) "self",(char *) "stateMask", NULL
21777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21779 if (SWIG_arg_fail(1)) SWIG_fail
;
21781 arg2
= (long)(SWIG_As_long(obj1
));
21782 if (SWIG_arg_fail(2)) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 (arg1
)->SetStateMask(arg2
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 Py_INCREF(Py_None
); resultobj
= Py_None
;
21798 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21799 PyObject
*resultobj
;
21800 wxListItem
*arg1
= (wxListItem
*) 0 ;
21801 wxString
*arg2
= 0 ;
21802 bool temp2
= false ;
21803 PyObject
* obj0
= 0 ;
21804 PyObject
* obj1
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "self",(char *) "text", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21811 if (SWIG_arg_fail(1)) SWIG_fail
;
21813 arg2
= wxString_in_helper(obj1
);
21814 if (arg2
== NULL
) SWIG_fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 (arg1
)->SetText((wxString
const &)*arg2
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 Py_INCREF(Py_None
); resultobj
= Py_None
;
21839 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxListItem
*arg1
= (wxListItem
*) 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self",(char *) "image", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21851 if (SWIG_arg_fail(1)) SWIG_fail
;
21853 arg2
= (int)(SWIG_As_int(obj1
));
21854 if (SWIG_arg_fail(2)) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 (arg1
)->SetImage(arg2
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 Py_INCREF(Py_None
); resultobj
= Py_None
;
21870 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxListItem
*arg1
= (wxListItem
*) 0 ;
21874 PyObject
* obj0
= 0 ;
21875 PyObject
* obj1
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self",(char *) "data", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21882 if (SWIG_arg_fail(1)) SWIG_fail
;
21884 arg2
= (long)(SWIG_As_long(obj1
));
21885 if (SWIG_arg_fail(2)) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 (arg1
)->SetData(arg2
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 Py_INCREF(Py_None
); resultobj
= Py_None
;
21901 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxListItem
*arg1
= (wxListItem
*) 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "width", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21913 if (SWIG_arg_fail(1)) SWIG_fail
;
21915 arg2
= (int)(SWIG_As_int(obj1
));
21916 if (SWIG_arg_fail(2)) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 (arg1
)->SetWidth(arg2
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 Py_INCREF(Py_None
); resultobj
= Py_None
;
21932 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxListItem
*arg1
= (wxListItem
*) 0 ;
21935 wxListColumnFormat arg2
;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self",(char *) "align", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
21943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21944 if (SWIG_arg_fail(1)) SWIG_fail
;
21946 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
21947 if (SWIG_arg_fail(2)) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 Py_INCREF(Py_None
); resultobj
= Py_None
;
21963 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxListItem
*arg1
= (wxListItem
*) 0 ;
21966 wxColour
*arg2
= 0 ;
21968 PyObject
* obj0
= 0 ;
21969 PyObject
* obj1
= 0 ;
21970 char *kwnames
[] = {
21971 (char *) "self",(char *) "colText", NULL
21974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21976 if (SWIG_arg_fail(1)) SWIG_fail
;
21979 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21988 Py_INCREF(Py_None
); resultobj
= Py_None
;
21995 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxListItem
*arg1
= (wxListItem
*) 0 ;
21998 wxColour
*arg2
= 0 ;
22000 PyObject
* obj0
= 0 ;
22001 PyObject
* obj1
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self",(char *) "colBack", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22008 if (SWIG_arg_fail(1)) SWIG_fail
;
22011 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 Py_INCREF(Py_None
); resultobj
= Py_None
;
22027 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxListItem
*arg1
= (wxListItem
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self",(char *) "font", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22039 if (SWIG_arg_fail(1)) SWIG_fail
;
22041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22042 if (SWIG_arg_fail(2)) SWIG_fail
;
22043 if (arg2
== NULL
) {
22044 SWIG_null_ref("wxFont");
22046 if (SWIG_arg_fail(2)) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 (arg1
)->SetFont((wxFont
const &)*arg2
);
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 Py_INCREF(Py_None
); resultobj
= Py_None
;
22062 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxListItem
*arg1
= (wxListItem
*) 0 ;
22066 PyObject
* obj0
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22073 if (SWIG_arg_fail(1)) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (long)(arg1
)->GetMask();
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= SWIG_From_long((long)(result
));
22090 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxListItem
*arg1
= (wxListItem
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22101 if (SWIG_arg_fail(1)) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (long)(arg1
)->GetId();
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= SWIG_From_long((long)(result
));
22118 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxListItem
*arg1
= (wxListItem
*) 0 ;
22122 PyObject
* obj0
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22129 if (SWIG_arg_fail(1)) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 result
= (int)(arg1
)->GetColumn();
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22138 resultobj
= SWIG_From_int((int)(result
));
22146 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
;
22148 wxListItem
*arg1
= (wxListItem
*) 0 ;
22150 PyObject
* obj0
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22157 if (SWIG_arg_fail(1)) SWIG_fail
;
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 result
= (long)(arg1
)->GetState();
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22166 resultobj
= SWIG_From_long((long)(result
));
22174 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
;
22176 wxListItem
*arg1
= (wxListItem
*) 0 ;
22178 PyObject
* obj0
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22185 if (SWIG_arg_fail(1)) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 wxString
const &_result_ref
= (arg1
)->GetText();
22190 result
= (wxString
*) &_result_ref
;
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22200 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22209 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
;
22211 wxListItem
*arg1
= (wxListItem
*) 0 ;
22213 PyObject
* obj0
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail
;
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= (int)(arg1
)->GetImage();
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22229 resultobj
= SWIG_From_int((int)(result
));
22237 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22238 PyObject
*resultobj
;
22239 wxListItem
*arg1
= (wxListItem
*) 0 ;
22241 PyObject
* obj0
= 0 ;
22242 char *kwnames
[] = {
22243 (char *) "self", NULL
22246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22248 if (SWIG_arg_fail(1)) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (long)(arg1
)->GetData();
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_From_long((long)(result
));
22265 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxListItem
*arg1
= (wxListItem
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (int)(arg1
)->GetWidth();
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= SWIG_From_int((int)(result
));
22293 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxListItem
*arg1
= (wxListItem
*) 0 ;
22296 wxListColumnFormat result
;
22297 PyObject
* obj0
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22304 if (SWIG_arg_fail(1)) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_From_int((result
));
22319 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxListItem
*arg1
= (wxListItem
*) 0 ;
22322 wxListItemAttr
*result
;
22323 PyObject
* obj0
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22330 if (SWIG_arg_fail(1)) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22345 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
;
22347 wxListItem
*arg1
= (wxListItem
*) 0 ;
22349 PyObject
* obj0
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22356 if (SWIG_arg_fail(1)) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 result
= (bool)(arg1
)->HasAttributes();
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22373 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxListItem
*arg1
= (wxListItem
*) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22384 if (SWIG_arg_fail(1)) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22393 wxColour
* resultptr
;
22394 resultptr
= new wxColour((wxColour
&)(result
));
22395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22403 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxListItem
*arg1
= (wxListItem
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22414 if (SWIG_arg_fail(1)) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 wxColour
* resultptr
;
22424 resultptr
= new wxColour((wxColour
&)(result
));
22425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22433 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxListItem
*arg1
= (wxListItem
*) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= ((wxListItem
const *)arg1
)->GetFont();
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 wxFont
* resultptr
;
22454 resultptr
= new wxFont((wxFont
&)(result
));
22455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22463 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxListItem
*arg1
= (wxListItem
*) 0 ;
22467 PyObject
* obj0
= 0 ;
22468 PyObject
* obj1
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self",(char *) "m_mask", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22475 if (SWIG_arg_fail(1)) SWIG_fail
;
22477 arg2
= (long)(SWIG_As_long(obj1
));
22478 if (SWIG_arg_fail(2)) SWIG_fail
;
22480 if (arg1
) (arg1
)->m_mask
= arg2
;
22482 Py_INCREF(Py_None
); resultobj
= Py_None
;
22489 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxListItem
*arg1
= (wxListItem
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22500 if (SWIG_arg_fail(1)) SWIG_fail
;
22501 result
= (long) ((arg1
)->m_mask
);
22504 resultobj
= SWIG_From_long((long)(result
));
22512 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxListItem
*arg1
= (wxListItem
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self",(char *) "m_itemId", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22524 if (SWIG_arg_fail(1)) SWIG_fail
;
22526 arg2
= (long)(SWIG_As_long(obj1
));
22527 if (SWIG_arg_fail(2)) SWIG_fail
;
22529 if (arg1
) (arg1
)->m_itemId
= arg2
;
22531 Py_INCREF(Py_None
); resultobj
= Py_None
;
22538 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxListItem
*arg1
= (wxListItem
*) 0 ;
22542 PyObject
* obj0
= 0 ;
22543 char *kwnames
[] = {
22544 (char *) "self", NULL
22547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22549 if (SWIG_arg_fail(1)) SWIG_fail
;
22550 result
= (long) ((arg1
)->m_itemId
);
22553 resultobj
= SWIG_From_long((long)(result
));
22561 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxListItem
*arg1
= (wxListItem
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self",(char *) "m_col", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22573 if (SWIG_arg_fail(1)) SWIG_fail
;
22575 arg2
= (int)(SWIG_As_int(obj1
));
22576 if (SWIG_arg_fail(2)) SWIG_fail
;
22578 if (arg1
) (arg1
)->m_col
= arg2
;
22580 Py_INCREF(Py_None
); resultobj
= Py_None
;
22587 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxListItem
*arg1
= (wxListItem
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22598 if (SWIG_arg_fail(1)) SWIG_fail
;
22599 result
= (int) ((arg1
)->m_col
);
22602 resultobj
= SWIG_From_int((int)(result
));
22610 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxListItem
*arg1
= (wxListItem
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self",(char *) "m_state", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22622 if (SWIG_arg_fail(1)) SWIG_fail
;
22624 arg2
= (long)(SWIG_As_long(obj1
));
22625 if (SWIG_arg_fail(2)) SWIG_fail
;
22627 if (arg1
) (arg1
)->m_state
= arg2
;
22629 Py_INCREF(Py_None
); resultobj
= Py_None
;
22636 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxListItem
*arg1
= (wxListItem
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22647 if (SWIG_arg_fail(1)) SWIG_fail
;
22648 result
= (long) ((arg1
)->m_state
);
22651 resultobj
= SWIG_From_long((long)(result
));
22659 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
;
22661 wxListItem
*arg1
= (wxListItem
*) 0 ;
22663 PyObject
* obj0
= 0 ;
22664 PyObject
* obj1
= 0 ;
22665 char *kwnames
[] = {
22666 (char *) "self",(char *) "m_stateMask", NULL
22669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22671 if (SWIG_arg_fail(1)) SWIG_fail
;
22673 arg2
= (long)(SWIG_As_long(obj1
));
22674 if (SWIG_arg_fail(2)) SWIG_fail
;
22676 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22678 Py_INCREF(Py_None
); resultobj
= Py_None
;
22685 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22687 wxListItem
*arg1
= (wxListItem
*) 0 ;
22689 PyObject
* obj0
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "self", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22696 if (SWIG_arg_fail(1)) SWIG_fail
;
22697 result
= (long) ((arg1
)->m_stateMask
);
22700 resultobj
= SWIG_From_long((long)(result
));
22708 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxListItem
*arg1
= (wxListItem
*) 0 ;
22711 wxString
*arg2
= (wxString
*) 0 ;
22712 bool temp2
= false ;
22713 PyObject
* obj0
= 0 ;
22714 PyObject
* obj1
= 0 ;
22715 char *kwnames
[] = {
22716 (char *) "self",(char *) "m_text", NULL
22719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22721 if (SWIG_arg_fail(1)) SWIG_fail
;
22723 arg2
= wxString_in_helper(obj1
);
22724 if (arg2
== NULL
) SWIG_fail
;
22727 if (arg1
) (arg1
)->m_text
= *arg2
;
22729 Py_INCREF(Py_None
); resultobj
= Py_None
;
22744 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxListItem
*arg1
= (wxListItem
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22755 if (SWIG_arg_fail(1)) SWIG_fail
;
22756 result
= (wxString
*)& ((arg1
)->m_text
);
22760 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22762 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22771 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxListItem
*arg1
= (wxListItem
*) 0 ;
22775 PyObject
* obj0
= 0 ;
22776 PyObject
* obj1
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self",(char *) "m_image", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22783 if (SWIG_arg_fail(1)) SWIG_fail
;
22785 arg2
= (int)(SWIG_As_int(obj1
));
22786 if (SWIG_arg_fail(2)) SWIG_fail
;
22788 if (arg1
) (arg1
)->m_image
= arg2
;
22790 Py_INCREF(Py_None
); resultobj
= Py_None
;
22797 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
;
22799 wxListItem
*arg1
= (wxListItem
*) 0 ;
22801 PyObject
* obj0
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22808 if (SWIG_arg_fail(1)) SWIG_fail
;
22809 result
= (int) ((arg1
)->m_image
);
22812 resultobj
= SWIG_From_int((int)(result
));
22820 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxListItem
*arg1
= (wxListItem
*) 0 ;
22824 PyObject
* obj0
= 0 ;
22825 PyObject
* obj1
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self",(char *) "m_data", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22832 if (SWIG_arg_fail(1)) SWIG_fail
;
22834 arg2
= (long)(SWIG_As_long(obj1
));
22835 if (SWIG_arg_fail(2)) SWIG_fail
;
22837 if (arg1
) (arg1
)->m_data
= arg2
;
22839 Py_INCREF(Py_None
); resultobj
= Py_None
;
22846 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22848 wxListItem
*arg1
= (wxListItem
*) 0 ;
22850 PyObject
* obj0
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "self", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22857 if (SWIG_arg_fail(1)) SWIG_fail
;
22858 result
= (long) ((arg1
)->m_data
);
22861 resultobj
= SWIG_From_long((long)(result
));
22869 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxListItem
*arg1
= (wxListItem
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 PyObject
* obj1
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self",(char *) "m_format", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22881 if (SWIG_arg_fail(1)) SWIG_fail
;
22883 arg2
= (int)(SWIG_As_int(obj1
));
22884 if (SWIG_arg_fail(2)) SWIG_fail
;
22886 if (arg1
) (arg1
)->m_format
= arg2
;
22888 Py_INCREF(Py_None
); resultobj
= Py_None
;
22895 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxListItem
*arg1
= (wxListItem
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22906 if (SWIG_arg_fail(1)) SWIG_fail
;
22907 result
= (int) ((arg1
)->m_format
);
22910 resultobj
= SWIG_From_int((int)(result
));
22918 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxListItem
*arg1
= (wxListItem
*) 0 ;
22922 PyObject
* obj0
= 0 ;
22923 PyObject
* obj1
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self",(char *) "m_width", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22930 if (SWIG_arg_fail(1)) SWIG_fail
;
22932 arg2
= (int)(SWIG_As_int(obj1
));
22933 if (SWIG_arg_fail(2)) SWIG_fail
;
22935 if (arg1
) (arg1
)->m_width
= arg2
;
22937 Py_INCREF(Py_None
); resultobj
= Py_None
;
22944 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxListItem
*arg1
= (wxListItem
*) 0 ;
22948 PyObject
* obj0
= 0 ;
22949 char *kwnames
[] = {
22950 (char *) "self", NULL
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
22954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22955 if (SWIG_arg_fail(1)) SWIG_fail
;
22956 result
= (int) ((arg1
)->m_width
);
22959 resultobj
= SWIG_From_int((int)(result
));
22967 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
22969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22970 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
22972 return Py_BuildValue((char *)"");
22974 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22977 int arg2
= (int) 0 ;
22978 wxListEvent
*result
;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "commandType",(char *) "id", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22988 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22989 if (SWIG_arg_fail(1)) SWIG_fail
;
22994 arg2
= (int)(SWIG_As_int(obj1
));
22995 if (SWIG_arg_fail(2)) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23012 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 PyObject
* obj1
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "self",(char *) "m_code", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23024 if (SWIG_arg_fail(1)) SWIG_fail
;
23026 arg2
= (int)(SWIG_As_int(obj1
));
23027 if (SWIG_arg_fail(2)) SWIG_fail
;
23029 if (arg1
) (arg1
)->m_code
= arg2
;
23031 Py_INCREF(Py_None
); resultobj
= Py_None
;
23038 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23042 PyObject
* obj0
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23049 if (SWIG_arg_fail(1)) SWIG_fail
;
23050 result
= (int) ((arg1
)->m_code
);
23053 resultobj
= SWIG_From_int((int)(result
));
23061 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self",(char *) "m_oldItemIndex", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23073 if (SWIG_arg_fail(1)) SWIG_fail
;
23075 arg2
= (long)(SWIG_As_long(obj1
));
23076 if (SWIG_arg_fail(2)) SWIG_fail
;
23078 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23080 Py_INCREF(Py_None
); resultobj
= Py_None
;
23087 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23089 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23091 PyObject
* obj0
= 0 ;
23092 char *kwnames
[] = {
23093 (char *) "self", NULL
23096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23098 if (SWIG_arg_fail(1)) SWIG_fail
;
23099 result
= (long) ((arg1
)->m_oldItemIndex
);
23102 resultobj
= SWIG_From_long((long)(result
));
23110 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self",(char *) "m_itemIndex", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23122 if (SWIG_arg_fail(1)) SWIG_fail
;
23124 arg2
= (long)(SWIG_As_long(obj1
));
23125 if (SWIG_arg_fail(2)) SWIG_fail
;
23127 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23129 Py_INCREF(Py_None
); resultobj
= Py_None
;
23136 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23147 if (SWIG_arg_fail(1)) SWIG_fail
;
23148 result
= (long) ((arg1
)->m_itemIndex
);
23151 resultobj
= SWIG_From_long((long)(result
));
23159 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23163 PyObject
* obj0
= 0 ;
23164 PyObject
* obj1
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self",(char *) "m_col", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23171 if (SWIG_arg_fail(1)) SWIG_fail
;
23173 arg2
= (int)(SWIG_As_int(obj1
));
23174 if (SWIG_arg_fail(2)) SWIG_fail
;
23176 if (arg1
) (arg1
)->m_col
= arg2
;
23178 Py_INCREF(Py_None
); resultobj
= Py_None
;
23185 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23189 PyObject
* obj0
= 0 ;
23190 char *kwnames
[] = {
23191 (char *) "self", NULL
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23196 if (SWIG_arg_fail(1)) SWIG_fail
;
23197 result
= (int) ((arg1
)->m_col
);
23200 resultobj
= SWIG_From_int((int)(result
));
23208 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
;
23210 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23211 wxPoint
*arg2
= (wxPoint
*) 0 ;
23212 PyObject
* obj0
= 0 ;
23213 PyObject
* obj1
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "self",(char *) "m_pointDrag", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23220 if (SWIG_arg_fail(1)) SWIG_fail
;
23221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23222 if (SWIG_arg_fail(2)) SWIG_fail
;
23223 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23225 Py_INCREF(Py_None
); resultobj
= Py_None
;
23232 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23236 PyObject
* obj0
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) 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 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23253 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
;
23255 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23256 wxListItem
*result
;
23257 PyObject
* obj0
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23264 if (SWIG_arg_fail(1)) SWIG_fail
;
23265 result
= (wxListItem
*)& ((arg1
)->m_item
);
23268 resultobj
= wxPyMake_wxObject(result
, 0);
23276 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23280 PyObject
* obj0
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",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
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= (int)(arg1
)->GetKeyCode();
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_From_int((int)(result
));
23304 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
;
23306 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23308 PyObject
* obj0
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23315 if (SWIG_arg_fail(1)) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (long)(arg1
)->GetIndex();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_From_long((long)(result
));
23332 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23336 PyObject
* obj0
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23343 if (SWIG_arg_fail(1)) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (int)(arg1
)->GetColumn();
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_From_int((int)(result
));
23360 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23364 PyObject
* obj0
= 0 ;
23365 char *kwnames
[] = {
23366 (char *) "self", NULL
23369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23371 if (SWIG_arg_fail(1)) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (arg1
)->GetPoint();
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23380 wxPoint
* resultptr
;
23381 resultptr
= new wxPoint((wxPoint
&)(result
));
23382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23390 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23401 if (SWIG_arg_fail(1)) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 wxString
const &_result_ref
= (arg1
)->GetLabel();
23406 result
= (wxString
*) &_result_ref
;
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23416 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23425 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23429 PyObject
* obj0
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23436 if (SWIG_arg_fail(1)) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 wxString
const &_result_ref
= (arg1
)->GetText();
23441 result
= (wxString
*) &_result_ref
;
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23451 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23460 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
;
23462 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23464 PyObject
* obj0
= 0 ;
23465 char *kwnames
[] = {
23466 (char *) "self", NULL
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23471 if (SWIG_arg_fail(1)) SWIG_fail
;
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (int)(arg1
)->GetImage();
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= SWIG_From_int((int)(result
));
23488 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23492 PyObject
* obj0
= 0 ;
23493 char *kwnames
[] = {
23494 (char *) "self", NULL
23497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23499 if (SWIG_arg_fail(1)) SWIG_fail
;
23501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 result
= (long)(arg1
)->GetData();
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= SWIG_From_long((long)(result
));
23516 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
;
23518 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23520 PyObject
* obj0
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23527 if (SWIG_arg_fail(1)) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (long)(arg1
)->GetMask();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= SWIG_From_long((long)(result
));
23544 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23547 wxListItem
*result
;
23548 PyObject
* obj0
= 0 ;
23549 char *kwnames
[] = {
23550 (char *) "self", NULL
23553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23555 if (SWIG_arg_fail(1)) SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23560 result
= (wxListItem
*) &_result_ref
;
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23573 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23577 PyObject
* obj0
= 0 ;
23578 char *kwnames
[] = {
23579 (char *) "self", NULL
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23584 if (SWIG_arg_fail(1)) SWIG_fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 result
= (long)(arg1
)->GetCacheFrom();
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23593 resultobj
= SWIG_From_long((long)(result
));
23601 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23605 PyObject
* obj0
= 0 ;
23606 char *kwnames
[] = {
23607 (char *) "self", NULL
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23612 if (SWIG_arg_fail(1)) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= (long)(arg1
)->GetCacheTo();
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= SWIG_From_long((long)(result
));
23629 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
;
23631 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23633 PyObject
* obj0
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23640 if (SWIG_arg_fail(1)) SWIG_fail
;
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23657 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23659 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23661 PyObject
* obj0
= 0 ;
23662 PyObject
* obj1
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self",(char *) "editCancelled", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23669 if (SWIG_arg_fail(1)) SWIG_fail
;
23671 arg2
= (bool)(SWIG_As_bool(obj1
));
23672 if (SWIG_arg_fail(2)) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 (arg1
)->SetEditCanceled(arg2
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 Py_INCREF(Py_None
); resultobj
= Py_None
;
23688 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23691 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23693 return Py_BuildValue((char *)"");
23695 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxWindow
*arg1
= (wxWindow
*) 0 ;
23698 int arg2
= (int) -1 ;
23699 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23700 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23701 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23702 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23703 long arg5
= (long) wxLC_ICON
;
23704 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23705 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23706 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23707 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23708 wxPyListCtrl
*result
;
23711 bool temp7
= false ;
23712 PyObject
* obj0
= 0 ;
23713 PyObject
* obj1
= 0 ;
23714 PyObject
* obj2
= 0 ;
23715 PyObject
* obj3
= 0 ;
23716 PyObject
* obj4
= 0 ;
23717 PyObject
* obj5
= 0 ;
23718 PyObject
* obj6
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23725 if (SWIG_arg_fail(1)) SWIG_fail
;
23728 arg2
= (int)(SWIG_As_int(obj1
));
23729 if (SWIG_arg_fail(2)) SWIG_fail
;
23735 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23741 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23746 arg5
= (long)(SWIG_As_long(obj4
));
23747 if (SWIG_arg_fail(5)) SWIG_fail
;
23752 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23753 if (SWIG_arg_fail(6)) SWIG_fail
;
23754 if (arg6
== NULL
) {
23755 SWIG_null_ref("wxValidator");
23757 if (SWIG_arg_fail(6)) SWIG_fail
;
23762 arg7
= wxString_in_helper(obj6
);
23763 if (arg7
== NULL
) SWIG_fail
;
23768 if (!wxPyCheckForApp()) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23790 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxPyListCtrl
*result
;
23793 char *kwnames
[] = {
23797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23799 if (!wxPyCheckForApp()) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23813 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23816 wxWindow
*arg2
= (wxWindow
*) 0 ;
23817 int arg3
= (int) -1 ;
23818 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23819 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23820 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23821 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23822 long arg6
= (long) wxLC_ICON
;
23823 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23824 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23825 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23830 bool temp8
= false ;
23831 PyObject
* obj0
= 0 ;
23832 PyObject
* obj1
= 0 ;
23833 PyObject
* obj2
= 0 ;
23834 PyObject
* obj3
= 0 ;
23835 PyObject
* obj4
= 0 ;
23836 PyObject
* obj5
= 0 ;
23837 PyObject
* obj6
= 0 ;
23838 PyObject
* obj7
= 0 ;
23839 char *kwnames
[] = {
23840 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23845 if (SWIG_arg_fail(1)) SWIG_fail
;
23846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23847 if (SWIG_arg_fail(2)) SWIG_fail
;
23850 arg3
= (int)(SWIG_As_int(obj2
));
23851 if (SWIG_arg_fail(3)) SWIG_fail
;
23857 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23863 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23868 arg6
= (long)(SWIG_As_long(obj5
));
23869 if (SWIG_arg_fail(6)) SWIG_fail
;
23874 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23875 if (SWIG_arg_fail(7)) SWIG_fail
;
23876 if (arg7
== NULL
) {
23877 SWIG_null_ref("wxValidator");
23879 if (SWIG_arg_fail(7)) SWIG_fail
;
23884 arg8
= wxString_in_helper(obj7
);
23885 if (arg8
== NULL
) SWIG_fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23913 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23916 PyObject
*arg2
= (PyObject
*) 0 ;
23917 PyObject
*arg3
= (PyObject
*) 0 ;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 PyObject
* obj2
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self",(char *) "self",(char *) "_class", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23927 if (SWIG_arg_fail(1)) SWIG_fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 Py_INCREF(Py_None
); resultobj
= Py_None
;
23944 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
;
23946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23947 wxColour
*arg2
= 0 ;
23950 PyObject
* obj0
= 0 ;
23951 PyObject
* obj1
= 0 ;
23952 char *kwnames
[] = {
23953 (char *) "self",(char *) "col", NULL
23956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23958 if (SWIG_arg_fail(1)) SWIG_fail
;
23961 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23979 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23982 wxColour
*arg2
= 0 ;
23985 PyObject
* obj0
= 0 ;
23986 PyObject
* obj1
= 0 ;
23987 char *kwnames
[] = {
23988 (char *) "self",(char *) "col", NULL
23991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23993 if (SWIG_arg_fail(1)) SWIG_fail
;
23996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24014 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
;
24016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24018 wxListItem
*result
;
24019 PyObject
* obj0
= 0 ;
24020 PyObject
* obj1
= 0 ;
24021 char *kwnames
[] = {
24022 (char *) "self",(char *) "col", NULL
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24027 if (SWIG_arg_fail(1)) SWIG_fail
;
24029 arg2
= (int)(SWIG_As_int(obj1
));
24030 if (SWIG_arg_fail(2)) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= wxPyMake_wxObject(result
, 0);
24048 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24052 wxListItem
*arg3
= 0 ;
24054 PyObject
* obj0
= 0 ;
24055 PyObject
* obj1
= 0 ;
24056 PyObject
* obj2
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self",(char *) "col",(char *) "item", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24063 if (SWIG_arg_fail(1)) SWIG_fail
;
24065 arg2
= (int)(SWIG_As_int(obj1
));
24066 if (SWIG_arg_fail(2)) SWIG_fail
;
24069 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24070 if (SWIG_arg_fail(3)) SWIG_fail
;
24071 if (arg3
== NULL
) {
24072 SWIG_null_ref("wxListItem");
24074 if (SWIG_arg_fail(3)) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24092 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "self",(char *) "col", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24105 if (SWIG_arg_fail(1)) SWIG_fail
;
24107 arg2
= (int)(SWIG_As_int(obj1
));
24108 if (SWIG_arg_fail(2)) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= SWIG_From_int((int)(result
));
24126 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 PyObject
* obj2
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self",(char *) "col",(char *) "width", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24141 if (SWIG_arg_fail(1)) SWIG_fail
;
24143 arg2
= (int)(SWIG_As_int(obj1
));
24144 if (SWIG_arg_fail(2)) SWIG_fail
;
24147 arg3
= (int)(SWIG_As_int(obj2
));
24148 if (SWIG_arg_fail(3)) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24166 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24170 PyObject
* obj0
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24177 if (SWIG_arg_fail(1)) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_From_int((int)(result
));
24194 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
;
24196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24198 PyObject
* obj0
= 0 ;
24199 char *kwnames
[] = {
24200 (char *) "self", NULL
24203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24205 if (SWIG_arg_fail(1)) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24214 wxRect
* resultptr
;
24215 resultptr
= new wxRect((wxRect
&)(result
));
24216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24224 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24228 int arg3
= (int) 0 ;
24229 wxListItem
*result
;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 PyObject
* obj2
= 0 ;
24233 char *kwnames
[] = {
24234 (char *) "self",(char *) "itemId",(char *) "col", NULL
24237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24239 if (SWIG_arg_fail(1)) SWIG_fail
;
24241 arg2
= (long)(SWIG_As_long(obj1
));
24242 if (SWIG_arg_fail(2)) SWIG_fail
;
24246 arg3
= (int)(SWIG_As_int(obj2
));
24247 if (SWIG_arg_fail(3)) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24258 resultobj
= wxPyMake_wxObject(result
, 0);
24266 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
;
24268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24269 wxListItem
*arg2
= 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 char *kwnames
[] = {
24274 (char *) "self",(char *) "info", NULL
24277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24279 if (SWIG_arg_fail(1)) SWIG_fail
;
24281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24282 if (SWIG_arg_fail(2)) SWIG_fail
;
24283 if (arg2
== NULL
) {
24284 SWIG_null_ref("wxListItem");
24286 if (SWIG_arg_fail(2)) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (bool)(arg1
)->SetItem(*arg2
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24304 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24309 wxString
*arg4
= 0 ;
24310 int arg5
= (int) -1 ;
24312 bool temp4
= false ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24315 PyObject
* obj2
= 0 ;
24316 PyObject
* obj3
= 0 ;
24317 PyObject
* obj4
= 0 ;
24318 char *kwnames
[] = {
24319 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24324 if (SWIG_arg_fail(1)) SWIG_fail
;
24326 arg2
= (long)(SWIG_As_long(obj1
));
24327 if (SWIG_arg_fail(2)) SWIG_fail
;
24330 arg3
= (int)(SWIG_As_int(obj2
));
24331 if (SWIG_arg_fail(3)) SWIG_fail
;
24334 arg4
= wxString_in_helper(obj3
);
24335 if (arg4
== NULL
) SWIG_fail
;
24340 arg5
= (int)(SWIG_As_int(obj4
));
24341 if (SWIG_arg_fail(5)) SWIG_fail
;
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= SWIG_From_long((long)(result
));
24368 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
;
24370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 PyObject
* obj2
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24383 if (SWIG_arg_fail(1)) SWIG_fail
;
24385 arg2
= (long)(SWIG_As_long(obj1
));
24386 if (SWIG_arg_fail(2)) SWIG_fail
;
24389 arg3
= (long)(SWIG_As_long(obj2
));
24390 if (SWIG_arg_fail(3)) SWIG_fail
;
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= SWIG_From_int((int)(result
));
24408 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24415 PyObject
* obj0
= 0 ;
24416 PyObject
* obj1
= 0 ;
24417 PyObject
* obj2
= 0 ;
24418 PyObject
* obj3
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24425 if (SWIG_arg_fail(1)) SWIG_fail
;
24427 arg2
= (long)(SWIG_As_long(obj1
));
24428 if (SWIG_arg_fail(2)) SWIG_fail
;
24431 arg3
= (long)(SWIG_As_long(obj2
));
24432 if (SWIG_arg_fail(3)) SWIG_fail
;
24435 arg4
= (long)(SWIG_As_long(obj3
));
24436 if (SWIG_arg_fail(4)) SWIG_fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24454 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24459 int arg4
= (int) -1 ;
24461 PyObject
* obj0
= 0 ;
24462 PyObject
* obj1
= 0 ;
24463 PyObject
* obj2
= 0 ;
24464 PyObject
* obj3
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24471 if (SWIG_arg_fail(1)) SWIG_fail
;
24473 arg2
= (long)(SWIG_As_long(obj1
));
24474 if (SWIG_arg_fail(2)) SWIG_fail
;
24477 arg3
= (int)(SWIG_As_int(obj2
));
24478 if (SWIG_arg_fail(3)) SWIG_fail
;
24482 arg4
= (int)(SWIG_As_int(obj3
));
24483 if (SWIG_arg_fail(4)) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24502 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self",(char *) "item", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail
;
24517 arg2
= (long)(SWIG_As_long(obj1
));
24518 if (SWIG_arg_fail(2)) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24540 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24544 wxString
*arg3
= 0 ;
24545 bool temp3
= false ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 PyObject
* obj2
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self",(char *) "item",(char *) "str", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24555 if (SWIG_arg_fail(1)) SWIG_fail
;
24557 arg2
= (long)(SWIG_As_long(obj1
));
24558 if (SWIG_arg_fail(2)) SWIG_fail
;
24561 arg3
= wxString_in_helper(obj2
);
24562 if (arg3
== NULL
) SWIG_fail
;
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24572 Py_INCREF(Py_None
); resultobj
= Py_None
;
24587 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self",(char *) "item", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail
;
24602 arg2
= (long)(SWIG_As_long(obj1
));
24603 if (SWIG_arg_fail(2)) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= SWIG_From_long((long)(result
));
24621 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 PyObject
* obj1
= 0 ;
24629 PyObject
* obj2
= 0 ;
24630 char *kwnames
[] = {
24631 (char *) "self",(char *) "item",(char *) "data", NULL
24634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24636 if (SWIG_arg_fail(1)) SWIG_fail
;
24638 arg2
= (long)(SWIG_As_long(obj1
));
24639 if (SWIG_arg_fail(2)) SWIG_fail
;
24642 arg3
= (long)(SWIG_As_long(obj2
));
24643 if (SWIG_arg_fail(3)) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24661 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
;
24663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 char *kwnames
[] = {
24669 (char *) "self",(char *) "item", NULL
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24674 if (SWIG_arg_fail(1)) SWIG_fail
;
24676 arg2
= (long)(SWIG_As_long(obj1
));
24677 if (SWIG_arg_fail(2)) SWIG_fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24687 wxPoint
* resultptr
;
24688 resultptr
= new wxPoint((wxPoint
&)(result
));
24689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24697 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24701 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 PyObject
* obj2
= 0 ;
24706 char *kwnames
[] = {
24707 (char *) "self",(char *) "item",(char *) "code", NULL
24710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24712 if (SWIG_arg_fail(1)) SWIG_fail
;
24714 arg2
= (long)(SWIG_As_long(obj1
));
24715 if (SWIG_arg_fail(2)) SWIG_fail
;
24719 arg3
= (int)(SWIG_As_int(obj2
));
24720 if (SWIG_arg_fail(3)) SWIG_fail
;
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24731 wxRect
* resultptr
;
24732 resultptr
= new wxRect((wxRect
&)(result
));
24733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24741 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
;
24743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24745 wxPoint
*arg3
= 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 PyObject
* obj2
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self",(char *) "item",(char *) "pos", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24757 if (SWIG_arg_fail(1)) SWIG_fail
;
24759 arg2
= (long)(SWIG_As_long(obj1
));
24760 if (SWIG_arg_fail(2)) SWIG_fail
;
24764 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24782 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
;
24784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24786 PyObject
* obj0
= 0 ;
24787 char *kwnames
[] = {
24788 (char *) "self", NULL
24791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24793 if (SWIG_arg_fail(1)) SWIG_fail
;
24795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24796 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= SWIG_From_int((int)(result
));
24810 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24811 PyObject
*resultobj
;
24812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "self", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24821 if (SWIG_arg_fail(1)) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24830 resultobj
= SWIG_From_int((int)(result
));
24838 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
;
24840 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24842 PyObject
* obj0
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24849 if (SWIG_arg_fail(1)) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24858 wxSize
* resultptr
;
24859 resultptr
= new wxSize((wxSize
&)(result
));
24860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24868 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
;
24870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24872 bool arg3
= (bool) false ;
24873 PyObject
* obj0
= 0 ;
24874 PyObject
* obj1
= 0 ;
24875 PyObject
* obj2
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24882 if (SWIG_arg_fail(1)) SWIG_fail
;
24884 arg2
= (int)(SWIG_As_int(obj1
));
24885 if (SWIG_arg_fail(2)) SWIG_fail
;
24889 arg3
= (bool)(SWIG_As_bool(obj2
));
24890 if (SWIG_arg_fail(3)) SWIG_fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 (arg1
)->SetItemSpacing(arg2
,arg3
);
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 Py_INCREF(Py_None
); resultobj
= Py_None
;
24907 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24911 PyObject
* obj0
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24918 if (SWIG_arg_fail(1)) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= SWIG_From_int((int)(result
));
24935 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24939 PyObject
* obj0
= 0 ;
24940 char *kwnames
[] = {
24941 (char *) "self", NULL
24944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24946 if (SWIG_arg_fail(1)) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24955 wxColour
* resultptr
;
24956 resultptr
= new wxColour((wxColour
&)(result
));
24957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24965 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24968 wxColour
*arg2
= 0 ;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 char *kwnames
[] = {
24973 (char *) "self",(char *) "col", NULL
24976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24978 if (SWIG_arg_fail(1)) SWIG_fail
;
24981 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24990 Py_INCREF(Py_None
); resultobj
= Py_None
;
24997 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "self", NULL
25006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25008 if (SWIG_arg_fail(1)) SWIG_fail
;
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_From_long((long)(result
));
25025 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25029 bool arg3
= (bool) true ;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 PyObject
* obj2
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "self",(char *) "style",(char *) "add", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25039 if (SWIG_arg_fail(1)) SWIG_fail
;
25041 arg2
= (long)(SWIG_As_long(obj1
));
25042 if (SWIG_arg_fail(2)) SWIG_fail
;
25046 arg3
= (bool)(SWIG_As_bool(obj2
));
25047 if (SWIG_arg_fail(3)) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 (arg1
)->SetSingleStyle(arg2
,arg3
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 Py_INCREF(Py_None
); resultobj
= Py_None
;
25064 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self",(char *) "style", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25076 if (SWIG_arg_fail(1)) SWIG_fail
;
25078 arg2
= (long)(SWIG_As_long(obj1
));
25079 if (SWIG_arg_fail(2)) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 (arg1
)->SetWindowStyleFlag(arg2
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 Py_INCREF(Py_None
); resultobj
= Py_None
;
25095 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25099 int arg3
= (int) wxLIST_NEXT_ALL
;
25100 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 PyObject
* obj2
= 0 ;
25105 PyObject
* obj3
= 0 ;
25106 char *kwnames
[] = {
25107 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25112 if (SWIG_arg_fail(1)) SWIG_fail
;
25114 arg2
= (long)(SWIG_As_long(obj1
));
25115 if (SWIG_arg_fail(2)) SWIG_fail
;
25119 arg3
= (int)(SWIG_As_int(obj2
));
25120 if (SWIG_arg_fail(3)) SWIG_fail
;
25125 arg4
= (int)(SWIG_As_int(obj3
));
25126 if (SWIG_arg_fail(4)) SWIG_fail
;
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= SWIG_From_long((long)(result
));
25145 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25149 wxImageList
*result
;
25150 PyObject
* obj0
= 0 ;
25151 PyObject
* obj1
= 0 ;
25152 char *kwnames
[] = {
25153 (char *) "self",(char *) "which", NULL
25156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25158 if (SWIG_arg_fail(1)) SWIG_fail
;
25160 arg2
= (int)(SWIG_As_int(obj1
));
25161 if (SWIG_arg_fail(2)) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25171 resultobj
= wxPyMake_wxObject(result
, 0);
25179 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
;
25181 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25182 wxImageList
*arg2
= (wxImageList
*) 0 ;
25184 PyObject
* obj0
= 0 ;
25185 PyObject
* obj1
= 0 ;
25186 PyObject
* obj2
= 0 ;
25187 char *kwnames
[] = {
25188 (char *) "self",(char *) "imageList",(char *) "which", NULL
25191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25193 if (SWIG_arg_fail(1)) SWIG_fail
;
25194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25195 if (SWIG_arg_fail(2)) SWIG_fail
;
25197 arg3
= (int)(SWIG_As_int(obj2
));
25198 if (SWIG_arg_fail(3)) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 (arg1
)->SetImageList(arg2
,arg3
);
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 Py_INCREF(Py_None
); resultobj
= Py_None
;
25214 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
;
25216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25217 wxImageList
*arg2
= (wxImageList
*) 0 ;
25219 PyObject
* obj0
= 0 ;
25220 PyObject
* obj1
= 0 ;
25221 PyObject
* obj2
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self",(char *) "imageList",(char *) "which", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25228 if (SWIG_arg_fail(1)) SWIG_fail
;
25229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25230 if (SWIG_arg_fail(2)) SWIG_fail
;
25232 arg3
= (int)(SWIG_As_int(obj2
));
25233 if (SWIG_arg_fail(3)) SWIG_fail
;
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 (arg1
)->AssignImageList(arg2
,arg3
);
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 Py_INCREF(Py_None
); resultobj
= Py_None
;
25249 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25250 PyObject
*resultobj
;
25251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25253 PyObject
* obj0
= 0 ;
25254 char *kwnames
[] = {
25255 (char *) "self", NULL
25258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25260 if (SWIG_arg_fail(1)) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25277 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25281 PyObject
* obj0
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25288 if (SWIG_arg_fail(1)) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25305 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
;
25307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25309 PyObject
* obj0
= 0 ;
25310 PyObject
* obj1
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self",(char *) "item", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25317 if (SWIG_arg_fail(1)) SWIG_fail
;
25319 arg2
= (long)(SWIG_As_long(obj1
));
25320 if (SWIG_arg_fail(2)) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 (arg1
)->RefreshItem(arg2
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 Py_INCREF(Py_None
); resultobj
= Py_None
;
25336 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25341 PyObject
* obj0
= 0 ;
25342 PyObject
* obj1
= 0 ;
25343 PyObject
* obj2
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25350 if (SWIG_arg_fail(1)) SWIG_fail
;
25352 arg2
= (long)(SWIG_As_long(obj1
));
25353 if (SWIG_arg_fail(2)) SWIG_fail
;
25356 arg3
= (long)(SWIG_As_long(obj2
));
25357 if (SWIG_arg_fail(3)) SWIG_fail
;
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 (arg1
)->RefreshItems(arg2
,arg3
);
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 Py_INCREF(Py_None
); resultobj
= Py_None
;
25373 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25376 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25378 PyObject
* obj0
= 0 ;
25379 PyObject
* obj1
= 0 ;
25380 char *kwnames
[] = {
25381 (char *) "self",(char *) "flag", NULL
25384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25386 if (SWIG_arg_fail(1)) SWIG_fail
;
25389 arg2
= (int)(SWIG_As_int(obj1
));
25390 if (SWIG_arg_fail(2)) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 result
= (bool)(arg1
)->Arrange(arg2
);
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25409 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25414 PyObject
* obj0
= 0 ;
25415 PyObject
* obj1
= 0 ;
25416 char *kwnames
[] = {
25417 (char *) "self",(char *) "item", NULL
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25422 if (SWIG_arg_fail(1)) SWIG_fail
;
25424 arg2
= (long)(SWIG_As_long(obj1
));
25425 if (SWIG_arg_fail(2)) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (bool)(arg1
)->DeleteItem(arg2
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25443 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
;
25445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25447 PyObject
* obj0
= 0 ;
25448 char *kwnames
[] = {
25449 (char *) "self", NULL
25452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25454 if (SWIG_arg_fail(1)) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (bool)(arg1
)->DeleteAllItems();
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25471 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25476 PyObject
* obj0
= 0 ;
25477 PyObject
* obj1
= 0 ;
25478 char *kwnames
[] = {
25479 (char *) "self",(char *) "col", NULL
25482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25484 if (SWIG_arg_fail(1)) SWIG_fail
;
25486 arg2
= (int)(SWIG_As_int(obj1
));
25487 if (SWIG_arg_fail(2)) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25505 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25509 PyObject
* obj0
= 0 ;
25510 char *kwnames
[] = {
25511 (char *) "self", NULL
25514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25516 if (SWIG_arg_fail(1)) SWIG_fail
;
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 result
= (bool)(arg1
)->DeleteAllColumns();
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25533 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
;
25535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25536 PyObject
* obj0
= 0 ;
25537 char *kwnames
[] = {
25538 (char *) "self", NULL
25541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25543 if (SWIG_arg_fail(1)) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 (arg1
)->ClearAll();
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 Py_INCREF(Py_None
); resultobj
= Py_None
;
25558 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char *kwnames
[] = {
25565 (char *) "self",(char *) "item", NULL
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25570 if (SWIG_arg_fail(1)) SWIG_fail
;
25572 arg2
= (long)(SWIG_As_long(obj1
));
25573 if (SWIG_arg_fail(2)) SWIG_fail
;
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 (arg1
)->EditLabel(arg2
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 Py_INCREF(Py_None
); resultobj
= Py_None
;
25589 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
;
25591 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25594 PyObject
* obj0
= 0 ;
25595 PyObject
* obj1
= 0 ;
25596 char *kwnames
[] = {
25597 (char *) "self",(char *) "item", NULL
25600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25602 if (SWIG_arg_fail(1)) SWIG_fail
;
25604 arg2
= (long)(SWIG_As_long(obj1
));
25605 if (SWIG_arg_fail(2)) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25623 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
;
25625 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25627 wxString
*arg3
= 0 ;
25628 bool arg4
= (bool) false ;
25630 bool temp3
= false ;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 PyObject
* obj2
= 0 ;
25634 PyObject
* obj3
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25641 if (SWIG_arg_fail(1)) SWIG_fail
;
25643 arg2
= (long)(SWIG_As_long(obj1
));
25644 if (SWIG_arg_fail(2)) SWIG_fail
;
25647 arg3
= wxString_in_helper(obj2
);
25648 if (arg3
== NULL
) SWIG_fail
;
25653 arg4
= (bool)(SWIG_As_bool(obj3
));
25654 if (SWIG_arg_fail(4)) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_From_long((long)(result
));
25681 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
;
25683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25687 PyObject
* obj0
= 0 ;
25688 PyObject
* obj1
= 0 ;
25689 PyObject
* obj2
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "self",(char *) "start",(char *) "data", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25696 if (SWIG_arg_fail(1)) SWIG_fail
;
25698 arg2
= (long)(SWIG_As_long(obj1
));
25699 if (SWIG_arg_fail(2)) SWIG_fail
;
25702 arg3
= (long)(SWIG_As_long(obj2
));
25703 if (SWIG_arg_fail(3)) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= SWIG_From_long((long)(result
));
25721 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25725 wxPoint
*arg3
= 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 PyObject
* obj2
= 0 ;
25732 PyObject
* obj3
= 0 ;
25733 char *kwnames
[] = {
25734 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25739 if (SWIG_arg_fail(1)) SWIG_fail
;
25741 arg2
= (long)(SWIG_As_long(obj1
));
25742 if (SWIG_arg_fail(2)) SWIG_fail
;
25746 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25749 arg4
= (int)(SWIG_As_int(obj3
));
25750 if (SWIG_arg_fail(4)) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_From_long((long)(result
));
25768 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25771 wxPoint
*arg2
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self",(char *) "point", NULL
25783 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25786 if (SWIG_arg_fail(1)) SWIG_fail
;
25789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_From_long((long)(result
));
25801 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25802 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25809 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25812 wxListItem
*arg2
= 0 ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 char *kwnames
[] = {
25817 (char *) "self",(char *) "info", NULL
25820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25822 if (SWIG_arg_fail(1)) SWIG_fail
;
25824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25825 if (SWIG_arg_fail(2)) SWIG_fail
;
25826 if (arg2
== NULL
) {
25827 SWIG_null_ref("wxListItem");
25829 if (SWIG_arg_fail(2)) SWIG_fail
;
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 result
= (long)(arg1
)->InsertItem(*arg2
);
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= SWIG_From_long((long)(result
));
25847 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
;
25849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25851 wxString
*arg3
= 0 ;
25853 bool temp3
= false ;
25854 PyObject
* obj0
= 0 ;
25855 PyObject
* obj1
= 0 ;
25856 PyObject
* obj2
= 0 ;
25857 char *kwnames
[] = {
25858 (char *) "self",(char *) "index",(char *) "label", NULL
25861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25863 if (SWIG_arg_fail(1)) SWIG_fail
;
25865 arg2
= (long)(SWIG_As_long(obj1
));
25866 if (SWIG_arg_fail(2)) SWIG_fail
;
25869 arg3
= wxString_in_helper(obj2
);
25870 if (arg3
== NULL
) SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25881 resultobj
= SWIG_From_long((long)(result
));
25897 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 PyObject
* obj2
= 0 ;
25906 char *kwnames
[] = {
25907 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25912 if (SWIG_arg_fail(1)) SWIG_fail
;
25914 arg2
= (long)(SWIG_As_long(obj1
));
25915 if (SWIG_arg_fail(2)) SWIG_fail
;
25918 arg3
= (int)(SWIG_As_int(obj2
));
25919 if (SWIG_arg_fail(3)) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_From_long((long)(result
));
25937 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25938 PyObject
*resultobj
;
25939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25941 wxString
*arg3
= 0 ;
25944 bool temp3
= false ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 PyObject
* obj2
= 0 ;
25948 PyObject
* obj3
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail
;
25957 arg2
= (long)(SWIG_As_long(obj1
));
25958 if (SWIG_arg_fail(2)) SWIG_fail
;
25961 arg3
= wxString_in_helper(obj2
);
25962 if (arg3
== NULL
) SWIG_fail
;
25966 arg4
= (int)(SWIG_As_int(obj3
));
25967 if (SWIG_arg_fail(4)) SWIG_fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25977 resultobj
= SWIG_From_long((long)(result
));
25993 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
;
25995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25997 wxListItem
*arg3
= 0 ;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 PyObject
* obj2
= 0 ;
26002 char *kwnames
[] = {
26003 (char *) "self",(char *) "col",(char *) "info", NULL
26006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26008 if (SWIG_arg_fail(1)) SWIG_fail
;
26010 arg2
= (long)(SWIG_As_long(obj1
));
26011 if (SWIG_arg_fail(2)) SWIG_fail
;
26014 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26015 if (SWIG_arg_fail(3)) SWIG_fail
;
26016 if (arg3
== NULL
) {
26017 SWIG_null_ref("wxListItem");
26019 if (SWIG_arg_fail(3)) SWIG_fail
;
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26023 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= SWIG_From_long((long)(result
));
26037 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26038 PyObject
*resultobj
;
26039 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26041 wxString
*arg3
= 0 ;
26042 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26043 int arg5
= (int) -1 ;
26045 bool temp3
= false ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 PyObject
* obj2
= 0 ;
26049 PyObject
* obj3
= 0 ;
26050 PyObject
* obj4
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26057 if (SWIG_arg_fail(1)) SWIG_fail
;
26059 arg2
= (long)(SWIG_As_long(obj1
));
26060 if (SWIG_arg_fail(2)) SWIG_fail
;
26063 arg3
= wxString_in_helper(obj2
);
26064 if (arg3
== NULL
) SWIG_fail
;
26069 arg4
= (int)(SWIG_As_int(obj3
));
26070 if (SWIG_arg_fail(4)) SWIG_fail
;
26075 arg5
= (int)(SWIG_As_int(obj4
));
26076 if (SWIG_arg_fail(5)) SWIG_fail
;
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26087 resultobj
= SWIG_From_long((long)(result
));
26103 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26104 PyObject
*resultobj
;
26105 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 char *kwnames
[] = {
26110 (char *) "self",(char *) "count", NULL
26113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26115 if (SWIG_arg_fail(1)) SWIG_fail
;
26117 arg2
= (long)(SWIG_As_long(obj1
));
26118 if (SWIG_arg_fail(2)) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 (arg1
)->SetItemCount(arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 Py_INCREF(Py_None
); resultobj
= Py_None
;
26134 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26140 PyObject
* obj0
= 0 ;
26141 PyObject
* obj1
= 0 ;
26142 PyObject
* obj2
= 0 ;
26143 char *kwnames
[] = {
26144 (char *) "self",(char *) "dx",(char *) "dy", NULL
26147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26149 if (SWIG_arg_fail(1)) SWIG_fail
;
26151 arg2
= (int)(SWIG_As_int(obj1
));
26152 if (SWIG_arg_fail(2)) SWIG_fail
;
26155 arg3
= (int)(SWIG_As_int(obj2
));
26156 if (SWIG_arg_fail(3)) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26174 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26178 wxColour
*arg3
= 0 ;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 PyObject
* obj2
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "item",(char *) "col", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26189 if (SWIG_arg_fail(1)) SWIG_fail
;
26191 arg2
= (long)(SWIG_As_long(obj1
));
26192 if (SWIG_arg_fail(2)) SWIG_fail
;
26196 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26212 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26217 PyObject
* obj0
= 0 ;
26218 PyObject
* obj1
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self",(char *) "item", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26225 if (SWIG_arg_fail(1)) SWIG_fail
;
26227 arg2
= (long)(SWIG_As_long(obj1
));
26228 if (SWIG_arg_fail(2)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 wxColour
* resultptr
;
26239 resultptr
= new wxColour((wxColour
&)(result
));
26240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26248 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26252 wxColour
*arg3
= 0 ;
26254 PyObject
* obj0
= 0 ;
26255 PyObject
* obj1
= 0 ;
26256 PyObject
* obj2
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self",(char *) "item",(char *) "col", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26263 if (SWIG_arg_fail(1)) SWIG_fail
;
26265 arg2
= (long)(SWIG_As_long(obj1
));
26266 if (SWIG_arg_fail(2)) SWIG_fail
;
26270 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26274 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 Py_INCREF(Py_None
); resultobj
= Py_None
;
26286 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
;
26288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26291 PyObject
* obj0
= 0 ;
26292 PyObject
* obj1
= 0 ;
26293 char *kwnames
[] = {
26294 (char *) "self",(char *) "item", NULL
26297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26299 if (SWIG_arg_fail(1)) SWIG_fail
;
26301 arg2
= (long)(SWIG_As_long(obj1
));
26302 if (SWIG_arg_fail(2)) SWIG_fail
;
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26312 wxColour
* resultptr
;
26313 resultptr
= new wxColour((wxColour
&)(result
));
26314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26322 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26323 PyObject
*resultobj
;
26324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26325 PyObject
*arg2
= (PyObject
*) 0 ;
26327 PyObject
* obj0
= 0 ;
26328 PyObject
* obj1
= 0 ;
26329 char *kwnames
[] = {
26330 (char *) "self",(char *) "func", NULL
26333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26335 if (SWIG_arg_fail(1)) SWIG_fail
;
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26353 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26357 PyObject
* obj0
= 0 ;
26358 char *kwnames
[] = {
26359 (char *) "self", NULL
26362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26364 if (SWIG_arg_fail(1)) SWIG_fail
;
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= wxPyMake_wxObject(result
, 0);
26381 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26384 wxVisualAttributes result
;
26385 PyObject
* obj0
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "variant", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26393 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26394 if (SWIG_arg_fail(1)) SWIG_fail
;
26398 if (!wxPyCheckForApp()) SWIG_fail
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26406 wxVisualAttributes
* resultptr
;
26407 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26416 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26419 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26421 return Py_BuildValue((char *)"");
26423 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxWindow
*arg1
= (wxWindow
*) 0 ;
26426 int arg2
= (int) -1 ;
26427 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26428 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26429 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26430 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26431 long arg5
= (long) wxLC_REPORT
;
26432 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26433 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26434 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26435 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26436 wxListView
*result
;
26439 bool temp7
= false ;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 PyObject
* obj2
= 0 ;
26443 PyObject
* obj3
= 0 ;
26444 PyObject
* obj4
= 0 ;
26445 PyObject
* obj5
= 0 ;
26446 PyObject
* obj6
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26453 if (SWIG_arg_fail(1)) SWIG_fail
;
26456 arg2
= (int)(SWIG_As_int(obj1
));
26457 if (SWIG_arg_fail(2)) SWIG_fail
;
26463 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26469 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26474 arg5
= (long)(SWIG_As_long(obj4
));
26475 if (SWIG_arg_fail(5)) SWIG_fail
;
26480 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26481 if (SWIG_arg_fail(6)) SWIG_fail
;
26482 if (arg6
== NULL
) {
26483 SWIG_null_ref("wxValidator");
26485 if (SWIG_arg_fail(6)) SWIG_fail
;
26490 arg7
= wxString_in_helper(obj6
);
26491 if (arg7
== NULL
) SWIG_fail
;
26496 if (!wxPyCheckForApp()) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26518 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxListView
*result
;
26521 char *kwnames
[] = {
26525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26527 if (!wxPyCheckForApp()) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= (wxListView
*)new wxListView();
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26541 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxListView
*arg1
= (wxListView
*) 0 ;
26544 wxWindow
*arg2
= (wxWindow
*) 0 ;
26545 int arg3
= (int) -1 ;
26546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26550 long arg6
= (long) wxLC_REPORT
;
26551 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26552 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26553 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26554 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26558 bool temp8
= false ;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 PyObject
* obj2
= 0 ;
26562 PyObject
* obj3
= 0 ;
26563 PyObject
* obj4
= 0 ;
26564 PyObject
* obj5
= 0 ;
26565 PyObject
* obj6
= 0 ;
26566 PyObject
* obj7
= 0 ;
26567 char *kwnames
[] = {
26568 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26573 if (SWIG_arg_fail(1)) SWIG_fail
;
26574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26575 if (SWIG_arg_fail(2)) SWIG_fail
;
26578 arg3
= (int)(SWIG_As_int(obj2
));
26579 if (SWIG_arg_fail(3)) SWIG_fail
;
26585 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26591 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26596 arg6
= (long)(SWIG_As_long(obj5
));
26597 if (SWIG_arg_fail(6)) SWIG_fail
;
26602 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26603 if (SWIG_arg_fail(7)) SWIG_fail
;
26604 if (arg7
== NULL
) {
26605 SWIG_null_ref("wxValidator");
26607 if (SWIG_arg_fail(7)) SWIG_fail
;
26612 arg8
= wxString_in_helper(obj7
);
26613 if (arg8
== NULL
) SWIG_fail
;
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26641 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxListView
*arg1
= (wxListView
*) 0 ;
26645 bool arg3
= (bool) true ;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 PyObject
* obj2
= 0 ;
26649 char *kwnames
[] = {
26650 (char *) "self",(char *) "n",(char *) "on", NULL
26653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26655 if (SWIG_arg_fail(1)) SWIG_fail
;
26657 arg2
= (long)(SWIG_As_long(obj1
));
26658 if (SWIG_arg_fail(2)) SWIG_fail
;
26662 arg3
= (bool)(SWIG_As_bool(obj2
));
26663 if (SWIG_arg_fail(3)) SWIG_fail
;
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 (arg1
)->Select(arg2
,arg3
);
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26673 Py_INCREF(Py_None
); resultobj
= Py_None
;
26680 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
;
26682 wxListView
*arg1
= (wxListView
*) 0 ;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 char *kwnames
[] = {
26687 (char *) "self",(char *) "index", NULL
26690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26692 if (SWIG_arg_fail(1)) SWIG_fail
;
26694 arg2
= (long)(SWIG_As_long(obj1
));
26695 if (SWIG_arg_fail(2)) SWIG_fail
;
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 (arg1
)->Focus(arg2
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 Py_INCREF(Py_None
); resultobj
= Py_None
;
26711 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
;
26713 wxListView
*arg1
= (wxListView
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26722 if (SWIG_arg_fail(1)) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= SWIG_From_long((long)(result
));
26739 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxListView
*arg1
= (wxListView
*) 0 ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self",(char *) "item", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26752 if (SWIG_arg_fail(1)) SWIG_fail
;
26754 arg2
= (long)(SWIG_As_long(obj1
));
26755 if (SWIG_arg_fail(2)) SWIG_fail
;
26758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26759 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= SWIG_From_long((long)(result
));
26773 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26774 PyObject
*resultobj
;
26775 wxListView
*arg1
= (wxListView
*) 0 ;
26777 PyObject
* obj0
= 0 ;
26778 char *kwnames
[] = {
26779 (char *) "self", NULL
26782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26784 if (SWIG_arg_fail(1)) SWIG_fail
;
26786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26787 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26789 wxPyEndAllowThreads(__tstate
);
26790 if (PyErr_Occurred()) SWIG_fail
;
26793 resultobj
= SWIG_From_long((long)(result
));
26801 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26803 wxListView
*arg1
= (wxListView
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "self",(char *) "index", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail
;
26816 arg2
= (long)(SWIG_As_long(obj1
));
26817 if (SWIG_arg_fail(2)) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 result
= (bool)(arg1
)->IsSelected(arg2
);
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26835 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
;
26837 wxListView
*arg1
= (wxListView
*) 0 ;
26840 PyObject
* obj0
= 0 ;
26841 PyObject
* obj1
= 0 ;
26842 PyObject
* obj2
= 0 ;
26843 char *kwnames
[] = {
26844 (char *) "self",(char *) "col",(char *) "image", NULL
26847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26849 if (SWIG_arg_fail(1)) SWIG_fail
;
26851 arg2
= (int)(SWIG_As_int(obj1
));
26852 if (SWIG_arg_fail(2)) SWIG_fail
;
26855 arg3
= (int)(SWIG_As_int(obj2
));
26856 if (SWIG_arg_fail(3)) SWIG_fail
;
26859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26860 (arg1
)->SetColumnImage(arg2
,arg3
);
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26865 Py_INCREF(Py_None
); resultobj
= Py_None
;
26872 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26873 PyObject
*resultobj
;
26874 wxListView
*arg1
= (wxListView
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self",(char *) "col", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26884 if (SWIG_arg_fail(1)) SWIG_fail
;
26886 arg2
= (int)(SWIG_As_int(obj1
));
26887 if (SWIG_arg_fail(2)) SWIG_fail
;
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 (arg1
)->ClearColumnImage(arg2
);
26893 wxPyEndAllowThreads(__tstate
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26896 Py_INCREF(Py_None
); resultobj
= Py_None
;
26903 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26906 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26908 return Py_BuildValue((char *)"");
26910 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26911 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26916 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26921 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26923 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26930 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
;
26932 wxTreeItemId
*result
;
26933 char *kwnames
[] = {
26937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 result
= (wxTreeItemId
*)new wxTreeItemId();
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
26952 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
;
26954 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26955 PyObject
* obj0
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
26961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26962 if (SWIG_arg_fail(1)) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 Py_INCREF(Py_None
); resultobj
= Py_None
;
26977 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 char *kwnames
[] = {
26983 (char *) "self", NULL
26986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
26987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26988 if (SWIG_arg_fail(1)) SWIG_fail
;
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27005 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27008 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27010 PyObject
* obj0
= 0 ;
27011 PyObject
* obj1
= 0 ;
27012 char *kwnames
[] = {
27013 (char *) "self",(char *) "other", NULL
27016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27018 if (SWIG_arg_fail(1)) SWIG_fail
;
27019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27020 if (SWIG_arg_fail(2)) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27037 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
;
27039 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27040 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self",(char *) "other", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27050 if (SWIG_arg_fail(1)) SWIG_fail
;
27051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27052 if (SWIG_arg_fail(2)) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27069 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27072 void *arg2
= (void *) 0 ;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self",(char *) "m_pItem", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27081 if (SWIG_arg_fail(1)) SWIG_fail
;
27083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27084 SWIG_arg_fail(2);SWIG_fail
;
27087 if (arg1
) (arg1
)->m_pItem
= arg2
;
27089 Py_INCREF(Py_None
); resultobj
= Py_None
;
27096 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27100 PyObject
* obj0
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail
;
27108 result
= (void *) ((arg1
)->m_pItem
);
27110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27117 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27120 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27122 return Py_BuildValue((char *)"");
27124 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 PyObject
*arg1
= (PyObject
*) NULL
;
27127 wxPyTreeItemData
*result
;
27128 PyObject
* obj0
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "obj", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27151 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
;
27153 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27155 PyObject
* obj0
= 0 ;
27156 char *kwnames
[] = {
27157 (char *) "self", NULL
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27162 if (SWIG_arg_fail(1)) SWIG_fail
;
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 result
= (PyObject
*)(arg1
)->GetData();
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= result
;
27177 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27178 PyObject
*resultobj
;
27179 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27180 PyObject
*arg2
= (PyObject
*) 0 ;
27181 PyObject
* obj0
= 0 ;
27182 PyObject
* obj1
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self",(char *) "obj", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27189 if (SWIG_arg_fail(1)) SWIG_fail
;
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 (arg1
)->SetData(arg2
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 Py_INCREF(Py_None
); resultobj
= Py_None
;
27205 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27206 PyObject
*resultobj
;
27207 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27208 wxTreeItemId
*result
;
27209 PyObject
* obj0
= 0 ;
27210 char *kwnames
[] = {
27211 (char *) "self", NULL
27214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27216 if (SWIG_arg_fail(1)) SWIG_fail
;
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27221 result
= (wxTreeItemId
*) &_result_ref
;
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27234 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
;
27236 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27237 wxTreeItemId
*arg2
= 0 ;
27238 PyObject
* obj0
= 0 ;
27239 PyObject
* obj1
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self",(char *) "id", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27246 if (SWIG_arg_fail(1)) SWIG_fail
;
27248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27249 if (SWIG_arg_fail(2)) SWIG_fail
;
27250 if (arg2
== NULL
) {
27251 SWIG_null_ref("wxTreeItemId");
27253 if (SWIG_arg_fail(2)) SWIG_fail
;
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 Py_INCREF(Py_None
); resultobj
= Py_None
;
27269 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
;
27271 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27272 PyObject
* obj0
= 0 ;
27273 char *kwnames
[] = {
27274 (char *) "self", NULL
27277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27279 if (SWIG_arg_fail(1)) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 wxPyTreeItemData_Destroy(arg1
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 Py_INCREF(Py_None
); resultobj
= Py_None
;
27294 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27297 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27299 return Py_BuildValue((char *)"");
27301 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27302 PyObject
*resultobj
;
27303 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27304 int arg2
= (int) 0 ;
27305 wxTreeEvent
*result
;
27306 PyObject
* obj0
= 0 ;
27307 PyObject
* obj1
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "commandType",(char *) "id", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27315 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27316 if (SWIG_arg_fail(1)) SWIG_fail
;
27321 arg2
= (int)(SWIG_As_int(obj1
));
27322 if (SWIG_arg_fail(2)) SWIG_fail
;
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27329 wxPyEndAllowThreads(__tstate
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27339 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27340 PyObject
*resultobj
;
27341 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27342 wxTreeItemId result
;
27343 PyObject
* obj0
= 0 ;
27344 char *kwnames
[] = {
27345 (char *) "self", NULL
27348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27350 if (SWIG_arg_fail(1)) SWIG_fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27359 wxTreeItemId
* resultptr
;
27360 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27369 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
;
27371 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27372 wxTreeItemId
*arg2
= 0 ;
27373 PyObject
* obj0
= 0 ;
27374 PyObject
* obj1
= 0 ;
27375 char *kwnames
[] = {
27376 (char *) "self",(char *) "item", NULL
27379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27381 if (SWIG_arg_fail(1)) SWIG_fail
;
27383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27384 if (SWIG_arg_fail(2)) SWIG_fail
;
27385 if (arg2
== NULL
) {
27386 SWIG_null_ref("wxTreeItemId");
27388 if (SWIG_arg_fail(2)) SWIG_fail
;
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 Py_INCREF(Py_None
); resultobj
= Py_None
;
27404 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
;
27406 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27407 wxTreeItemId result
;
27408 PyObject
* obj0
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27415 if (SWIG_arg_fail(1)) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27424 wxTreeItemId
* resultptr
;
27425 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27434 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27437 wxTreeItemId
*arg2
= 0 ;
27438 PyObject
* obj0
= 0 ;
27439 PyObject
* obj1
= 0 ;
27440 char *kwnames
[] = {
27441 (char *) "self",(char *) "item", NULL
27444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27446 if (SWIG_arg_fail(1)) SWIG_fail
;
27448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27449 if (SWIG_arg_fail(2)) SWIG_fail
;
27450 if (arg2
== NULL
) {
27451 SWIG_null_ref("wxTreeItemId");
27453 if (SWIG_arg_fail(2)) SWIG_fail
;
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27462 Py_INCREF(Py_None
); resultobj
= Py_None
;
27469 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
;
27471 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27473 PyObject
* obj0
= 0 ;
27474 char *kwnames
[] = {
27475 (char *) "self", NULL
27478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27480 if (SWIG_arg_fail(1)) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27489 wxPoint
* resultptr
;
27490 resultptr
= new wxPoint((wxPoint
&)(result
));
27491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27499 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27502 wxPoint
*arg2
= 0 ;
27504 PyObject
* obj0
= 0 ;
27505 PyObject
* obj1
= 0 ;
27506 char *kwnames
[] = {
27507 (char *) "self",(char *) "pt", NULL
27510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27512 if (SWIG_arg_fail(1)) SWIG_fail
;
27515 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 Py_INCREF(Py_None
); resultobj
= Py_None
;
27531 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27532 PyObject
*resultobj
;
27533 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27534 wxKeyEvent
*result
;
27535 PyObject
* obj0
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "self", NULL
27540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27542 if (SWIG_arg_fail(1)) SWIG_fail
;
27544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27547 result
= (wxKeyEvent
*) &_result_ref
;
27550 wxPyEndAllowThreads(__tstate
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27560 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
;
27562 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27564 PyObject
* obj0
= 0 ;
27565 char *kwnames
[] = {
27566 (char *) "self", NULL
27569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27571 if (SWIG_arg_fail(1)) SWIG_fail
;
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= SWIG_From_int((int)(result
));
27588 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27589 PyObject
*resultobj
;
27590 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27591 wxKeyEvent
*arg2
= 0 ;
27592 PyObject
* obj0
= 0 ;
27593 PyObject
* obj1
= 0 ;
27594 char *kwnames
[] = {
27595 (char *) "self",(char *) "evt", NULL
27598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27600 if (SWIG_arg_fail(1)) SWIG_fail
;
27602 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27603 if (SWIG_arg_fail(2)) SWIG_fail
;
27604 if (arg2
== NULL
) {
27605 SWIG_null_ref("wxKeyEvent");
27607 if (SWIG_arg_fail(2)) SWIG_fail
;
27610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27611 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 Py_INCREF(Py_None
); resultobj
= Py_None
;
27623 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27627 PyObject
* obj0
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27634 if (SWIG_arg_fail(1)) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27639 result
= (wxString
*) &_result_ref
;
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27649 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27658 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27659 PyObject
*resultobj
;
27660 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27661 wxString
*arg2
= 0 ;
27662 bool temp2
= false ;
27663 PyObject
* obj0
= 0 ;
27664 PyObject
* obj1
= 0 ;
27665 char *kwnames
[] = {
27666 (char *) "self",(char *) "label", NULL
27669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27671 if (SWIG_arg_fail(1)) SWIG_fail
;
27673 arg2
= wxString_in_helper(obj1
);
27674 if (arg2
== NULL
) SWIG_fail
;
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 (arg1
)->SetLabel((wxString
const &)*arg2
);
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 Py_INCREF(Py_None
); resultobj
= Py_None
;
27699 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27700 PyObject
*resultobj
;
27701 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27703 PyObject
* obj0
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27710 if (SWIG_arg_fail(1)) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27727 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27731 PyObject
* obj0
= 0 ;
27732 PyObject
* obj1
= 0 ;
27733 char *kwnames
[] = {
27734 (char *) "self",(char *) "editCancelled", NULL
27737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27739 if (SWIG_arg_fail(1)) SWIG_fail
;
27741 arg2
= (bool)(SWIG_As_bool(obj1
));
27742 if (SWIG_arg_fail(2)) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 (arg1
)->SetEditCanceled(arg2
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 Py_INCREF(Py_None
); resultobj
= Py_None
;
27758 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27761 wxString
*arg2
= 0 ;
27762 bool temp2
= false ;
27763 PyObject
* obj0
= 0 ;
27764 PyObject
* obj1
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self",(char *) "toolTip", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27771 if (SWIG_arg_fail(1)) SWIG_fail
;
27773 arg2
= wxString_in_helper(obj1
);
27774 if (arg2
== NULL
) SWIG_fail
;
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27784 Py_INCREF(Py_None
); resultobj
= Py_None
;
27799 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
;
27801 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27803 PyObject
* obj0
= 0 ;
27804 char *kwnames
[] = {
27805 (char *) "self", NULL
27808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27810 if (SWIG_arg_fail(1)) SWIG_fail
;
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 result
= (arg1
)->GetToolTip();
27815 wxPyEndAllowThreads(__tstate
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27831 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27834 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27836 return Py_BuildValue((char *)"");
27838 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27839 PyObject
*resultobj
;
27840 wxWindow
*arg1
= (wxWindow
*) 0 ;
27841 int arg2
= (int) -1 ;
27842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27846 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27847 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27848 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27849 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27850 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27851 wxPyTreeCtrl
*result
;
27854 bool temp7
= false ;
27855 PyObject
* obj0
= 0 ;
27856 PyObject
* obj1
= 0 ;
27857 PyObject
* obj2
= 0 ;
27858 PyObject
* obj3
= 0 ;
27859 PyObject
* obj4
= 0 ;
27860 PyObject
* obj5
= 0 ;
27861 PyObject
* obj6
= 0 ;
27862 char *kwnames
[] = {
27863 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27868 if (SWIG_arg_fail(1)) SWIG_fail
;
27871 arg2
= (int)(SWIG_As_int(obj1
));
27872 if (SWIG_arg_fail(2)) SWIG_fail
;
27878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27884 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27889 arg5
= (long)(SWIG_As_long(obj4
));
27890 if (SWIG_arg_fail(5)) SWIG_fail
;
27895 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27896 if (SWIG_arg_fail(6)) SWIG_fail
;
27897 if (arg6
== NULL
) {
27898 SWIG_null_ref("wxValidator");
27900 if (SWIG_arg_fail(6)) SWIG_fail
;
27905 arg7
= wxString_in_helper(obj6
);
27906 if (arg7
== NULL
) SWIG_fail
;
27911 if (!wxPyCheckForApp()) SWIG_fail
;
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27933 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxPyTreeCtrl
*result
;
27936 char *kwnames
[] = {
27940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
27942 if (!wxPyCheckForApp()) SWIG_fail
;
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27956 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27957 PyObject
*resultobj
;
27958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27959 wxWindow
*arg2
= (wxWindow
*) 0 ;
27960 int arg3
= (int) -1 ;
27961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27965 long arg6
= (long) wxTR_DEFAULT_STYLE
;
27966 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
27967 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
27968 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
27969 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27973 bool temp8
= false ;
27974 PyObject
* obj0
= 0 ;
27975 PyObject
* obj1
= 0 ;
27976 PyObject
* obj2
= 0 ;
27977 PyObject
* obj3
= 0 ;
27978 PyObject
* obj4
= 0 ;
27979 PyObject
* obj5
= 0 ;
27980 PyObject
* obj6
= 0 ;
27981 PyObject
* obj7
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
27987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27988 if (SWIG_arg_fail(1)) SWIG_fail
;
27989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27990 if (SWIG_arg_fail(2)) SWIG_fail
;
27993 arg3
= (int)(SWIG_As_int(obj2
));
27994 if (SWIG_arg_fail(3)) SWIG_fail
;
28000 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28006 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28011 arg6
= (long)(SWIG_As_long(obj5
));
28012 if (SWIG_arg_fail(6)) SWIG_fail
;
28017 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28018 if (SWIG_arg_fail(7)) SWIG_fail
;
28019 if (arg7
== NULL
) {
28020 SWIG_null_ref("wxValidator");
28022 if (SWIG_arg_fail(7)) SWIG_fail
;
28027 arg8
= wxString_in_helper(obj7
);
28028 if (arg8
== NULL
) SWIG_fail
;
28033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28034 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28036 wxPyEndAllowThreads(__tstate
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28056 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28059 PyObject
*arg2
= (PyObject
*) 0 ;
28060 PyObject
*arg3
= (PyObject
*) 0 ;
28061 PyObject
* obj0
= 0 ;
28062 PyObject
* obj1
= 0 ;
28063 PyObject
* obj2
= 0 ;
28064 char *kwnames
[] = {
28065 (char *) "self",(char *) "self",(char *) "_class", NULL
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28070 if (SWIG_arg_fail(1)) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 Py_INCREF(Py_None
); resultobj
= Py_None
;
28087 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28091 PyObject
* obj0
= 0 ;
28092 char *kwnames
[] = {
28093 (char *) "self", NULL
28096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28098 if (SWIG_arg_fail(1)) SWIG_fail
;
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28103 wxPyEndAllowThreads(__tstate
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28115 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
;
28117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28118 unsigned int result
;
28119 PyObject
* obj0
= 0 ;
28120 char *kwnames
[] = {
28121 (char *) "self", NULL
28124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28126 if (SWIG_arg_fail(1)) SWIG_fail
;
28128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28129 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28135 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28143 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
;
28145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28146 unsigned int arg2
;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self",(char *) "indent", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28155 if (SWIG_arg_fail(1)) SWIG_fail
;
28157 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28158 if (SWIG_arg_fail(2)) SWIG_fail
;
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 (arg1
)->SetIndent(arg2
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 Py_INCREF(Py_None
); resultobj
= Py_None
;
28174 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
;
28176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28177 unsigned int result
;
28178 PyObject
* obj0
= 0 ;
28179 char *kwnames
[] = {
28180 (char *) "self", NULL
28183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28185 if (SWIG_arg_fail(1)) SWIG_fail
;
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28202 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
;
28204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28205 unsigned int arg2
;
28206 PyObject
* obj0
= 0 ;
28207 PyObject
* obj1
= 0 ;
28208 char *kwnames
[] = {
28209 (char *) "self",(char *) "spacing", NULL
28212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28214 if (SWIG_arg_fail(1)) SWIG_fail
;
28216 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28217 if (SWIG_arg_fail(2)) SWIG_fail
;
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 (arg1
)->SetSpacing(arg2
);
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28226 Py_INCREF(Py_None
); resultobj
= Py_None
;
28233 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28234 PyObject
*resultobj
;
28235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28236 wxImageList
*result
;
28237 PyObject
* obj0
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "self", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28244 if (SWIG_arg_fail(1)) SWIG_fail
;
28246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28247 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28249 wxPyEndAllowThreads(__tstate
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28253 resultobj
= wxPyMake_wxObject(result
, 0);
28261 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
;
28263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28264 wxImageList
*result
;
28265 PyObject
* obj0
= 0 ;
28266 char *kwnames
[] = {
28267 (char *) "self", NULL
28270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28272 if (SWIG_arg_fail(1)) SWIG_fail
;
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28281 resultobj
= wxPyMake_wxObject(result
, 0);
28289 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
;
28291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28292 wxImageList
*arg2
= (wxImageList
*) 0 ;
28293 PyObject
* obj0
= 0 ;
28294 PyObject
* obj1
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self",(char *) "imageList", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail
;
28302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28303 if (SWIG_arg_fail(2)) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 (arg1
)->SetImageList(arg2
);
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28311 Py_INCREF(Py_None
); resultobj
= Py_None
;
28318 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
;
28320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28321 wxImageList
*arg2
= (wxImageList
*) 0 ;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self",(char *) "imageList", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28330 if (SWIG_arg_fail(1)) SWIG_fail
;
28331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28332 if (SWIG_arg_fail(2)) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 (arg1
)->SetStateImageList(arg2
);
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 Py_INCREF(Py_None
); resultobj
= Py_None
;
28347 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
;
28349 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28350 wxImageList
*arg2
= (wxImageList
*) 0 ;
28351 PyObject
* obj0
= 0 ;
28352 PyObject
* obj1
= 0 ;
28353 char *kwnames
[] = {
28354 (char *) "self",(char *) "imageList", NULL
28357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28359 if (SWIG_arg_fail(1)) SWIG_fail
;
28360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28361 if (SWIG_arg_fail(2)) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 (arg1
)->AssignImageList(arg2
);
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 Py_INCREF(Py_None
); resultobj
= Py_None
;
28376 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28379 wxImageList
*arg2
= (wxImageList
*) 0 ;
28380 PyObject
* obj0
= 0 ;
28381 PyObject
* obj1
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self",(char *) "imageList", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28388 if (SWIG_arg_fail(1)) SWIG_fail
;
28389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28390 if (SWIG_arg_fail(2)) SWIG_fail
;
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 (arg1
)->AssignStateImageList(arg2
);
28395 wxPyEndAllowThreads(__tstate
);
28396 if (PyErr_Occurred()) SWIG_fail
;
28398 Py_INCREF(Py_None
); resultobj
= Py_None
;
28405 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28408 wxTreeItemId
*arg2
= 0 ;
28410 PyObject
* obj0
= 0 ;
28411 PyObject
* obj1
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self",(char *) "item", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28418 if (SWIG_arg_fail(1)) SWIG_fail
;
28420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28421 if (SWIG_arg_fail(2)) SWIG_fail
;
28422 if (arg2
== NULL
) {
28423 SWIG_null_ref("wxTreeItemId");
28425 if (SWIG_arg_fail(2)) SWIG_fail
;
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28429 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28447 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
;
28449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28450 wxTreeItemId
*arg2
= 0 ;
28451 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28453 PyObject
* obj0
= 0 ;
28454 PyObject
* obj1
= 0 ;
28455 PyObject
* obj2
= 0 ;
28456 char *kwnames
[] = {
28457 (char *) "self",(char *) "item",(char *) "which", NULL
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28462 if (SWIG_arg_fail(1)) SWIG_fail
;
28464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28465 if (SWIG_arg_fail(2)) SWIG_fail
;
28466 if (arg2
== NULL
) {
28467 SWIG_null_ref("wxTreeItemId");
28469 if (SWIG_arg_fail(2)) SWIG_fail
;
28473 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28474 if (SWIG_arg_fail(3)) SWIG_fail
;
28478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28479 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28481 wxPyEndAllowThreads(__tstate
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= SWIG_From_int((int)(result
));
28493 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
;
28495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28496 wxTreeItemId
*arg2
= 0 ;
28497 wxPyTreeItemData
*result
;
28498 PyObject
* obj0
= 0 ;
28499 PyObject
* obj1
= 0 ;
28500 char *kwnames
[] = {
28501 (char *) "self",(char *) "item", NULL
28504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28506 if (SWIG_arg_fail(1)) SWIG_fail
;
28508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28509 if (SWIG_arg_fail(2)) SWIG_fail
;
28510 if (arg2
== NULL
) {
28511 SWIG_null_ref("wxTreeItemId");
28513 if (SWIG_arg_fail(2)) SWIG_fail
;
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28529 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28530 PyObject
*resultobj
;
28531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28532 wxTreeItemId
*arg2
= 0 ;
28534 PyObject
* obj0
= 0 ;
28535 PyObject
* obj1
= 0 ;
28536 char *kwnames
[] = {
28537 (char *) "self",(char *) "item", NULL
28540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28542 if (SWIG_arg_fail(1)) SWIG_fail
;
28544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28545 if (SWIG_arg_fail(2)) SWIG_fail
;
28546 if (arg2
== NULL
) {
28547 SWIG_null_ref("wxTreeItemId");
28549 if (SWIG_arg_fail(2)) SWIG_fail
;
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= result
;
28565 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
;
28567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28568 wxTreeItemId
*arg2
= 0 ;
28570 PyObject
* obj0
= 0 ;
28571 PyObject
* obj1
= 0 ;
28572 char *kwnames
[] = {
28573 (char *) "self",(char *) "item", NULL
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28578 if (SWIG_arg_fail(1)) SWIG_fail
;
28580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28581 if (SWIG_arg_fail(2)) SWIG_fail
;
28582 if (arg2
== NULL
) {
28583 SWIG_null_ref("wxTreeItemId");
28585 if (SWIG_arg_fail(2)) SWIG_fail
;
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28595 wxColour
* resultptr
;
28596 resultptr
= new wxColour((wxColour
&)(result
));
28597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28605 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28606 PyObject
*resultobj
;
28607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28608 wxTreeItemId
*arg2
= 0 ;
28610 PyObject
* obj0
= 0 ;
28611 PyObject
* obj1
= 0 ;
28612 char *kwnames
[] = {
28613 (char *) "self",(char *) "item", NULL
28616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28618 if (SWIG_arg_fail(1)) SWIG_fail
;
28620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28621 if (SWIG_arg_fail(2)) SWIG_fail
;
28622 if (arg2
== NULL
) {
28623 SWIG_null_ref("wxTreeItemId");
28625 if (SWIG_arg_fail(2)) SWIG_fail
;
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28631 wxPyEndAllowThreads(__tstate
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28635 wxColour
* resultptr
;
28636 resultptr
= new wxColour((wxColour
&)(result
));
28637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28645 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28648 wxTreeItemId
*arg2
= 0 ;
28650 PyObject
* obj0
= 0 ;
28651 PyObject
* obj1
= 0 ;
28652 char *kwnames
[] = {
28653 (char *) "self",(char *) "item", NULL
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28658 if (SWIG_arg_fail(1)) SWIG_fail
;
28660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28661 if (SWIG_arg_fail(2)) SWIG_fail
;
28662 if (arg2
== NULL
) {
28663 SWIG_null_ref("wxTreeItemId");
28665 if (SWIG_arg_fail(2)) SWIG_fail
;
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28675 wxFont
* resultptr
;
28676 resultptr
= new wxFont((wxFont
&)(result
));
28677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28685 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28686 PyObject
*resultobj
;
28687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28688 wxTreeItemId
*arg2
= 0 ;
28689 wxString
*arg3
= 0 ;
28690 bool temp3
= false ;
28691 PyObject
* obj0
= 0 ;
28692 PyObject
* obj1
= 0 ;
28693 PyObject
* obj2
= 0 ;
28694 char *kwnames
[] = {
28695 (char *) "self",(char *) "item",(char *) "text", NULL
28698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28700 if (SWIG_arg_fail(1)) SWIG_fail
;
28702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28703 if (SWIG_arg_fail(2)) SWIG_fail
;
28704 if (arg2
== NULL
) {
28705 SWIG_null_ref("wxTreeItemId");
28707 if (SWIG_arg_fail(2)) SWIG_fail
;
28710 arg3
= wxString_in_helper(obj2
);
28711 if (arg3
== NULL
) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28721 Py_INCREF(Py_None
); resultobj
= Py_None
;
28736 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28739 wxTreeItemId
*arg2
= 0 ;
28741 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28742 PyObject
* obj0
= 0 ;
28743 PyObject
* obj1
= 0 ;
28744 PyObject
* obj2
= 0 ;
28745 PyObject
* obj3
= 0 ;
28746 char *kwnames
[] = {
28747 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28752 if (SWIG_arg_fail(1)) SWIG_fail
;
28754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28755 if (SWIG_arg_fail(2)) SWIG_fail
;
28756 if (arg2
== NULL
) {
28757 SWIG_null_ref("wxTreeItemId");
28759 if (SWIG_arg_fail(2)) SWIG_fail
;
28762 arg3
= (int)(SWIG_As_int(obj2
));
28763 if (SWIG_arg_fail(3)) SWIG_fail
;
28767 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28768 if (SWIG_arg_fail(4)) SWIG_fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 Py_INCREF(Py_None
); resultobj
= Py_None
;
28785 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
;
28787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28788 wxTreeItemId
*arg2
= 0 ;
28789 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28790 PyObject
* obj0
= 0 ;
28791 PyObject
* obj1
= 0 ;
28792 PyObject
* obj2
= 0 ;
28793 char *kwnames
[] = {
28794 (char *) "self",(char *) "item",(char *) "data", NULL
28797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28799 if (SWIG_arg_fail(1)) SWIG_fail
;
28801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28802 if (SWIG_arg_fail(2)) SWIG_fail
;
28803 if (arg2
== NULL
) {
28804 SWIG_null_ref("wxTreeItemId");
28806 if (SWIG_arg_fail(2)) SWIG_fail
;
28808 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28809 if (SWIG_arg_fail(3)) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 Py_INCREF(Py_None
); resultobj
= Py_None
;
28824 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28827 wxTreeItemId
*arg2
= 0 ;
28828 PyObject
*arg3
= (PyObject
*) 0 ;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 PyObject
* obj2
= 0 ;
28832 char *kwnames
[] = {
28833 (char *) "self",(char *) "item",(char *) "obj", NULL
28836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28838 if (SWIG_arg_fail(1)) SWIG_fail
;
28840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28841 if (SWIG_arg_fail(2)) SWIG_fail
;
28842 if (arg2
== NULL
) {
28843 SWIG_null_ref("wxTreeItemId");
28845 if (SWIG_arg_fail(2)) SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 Py_INCREF(Py_None
); resultobj
= Py_None
;
28862 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28863 PyObject
*resultobj
;
28864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28865 wxTreeItemId
*arg2
= 0 ;
28866 bool arg3
= (bool) true ;
28867 PyObject
* obj0
= 0 ;
28868 PyObject
* obj1
= 0 ;
28869 PyObject
* obj2
= 0 ;
28870 char *kwnames
[] = {
28871 (char *) "self",(char *) "item",(char *) "has", NULL
28874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28876 if (SWIG_arg_fail(1)) SWIG_fail
;
28878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28879 if (SWIG_arg_fail(2)) SWIG_fail
;
28880 if (arg2
== NULL
) {
28881 SWIG_null_ref("wxTreeItemId");
28883 if (SWIG_arg_fail(2)) SWIG_fail
;
28887 arg3
= (bool)(SWIG_As_bool(obj2
));
28888 if (SWIG_arg_fail(3)) SWIG_fail
;
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28898 Py_INCREF(Py_None
); resultobj
= Py_None
;
28905 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28906 PyObject
*resultobj
;
28907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28908 wxTreeItemId
*arg2
= 0 ;
28909 bool arg3
= (bool) true ;
28910 PyObject
* obj0
= 0 ;
28911 PyObject
* obj1
= 0 ;
28912 PyObject
* obj2
= 0 ;
28913 char *kwnames
[] = {
28914 (char *) "self",(char *) "item",(char *) "bold", NULL
28917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28919 if (SWIG_arg_fail(1)) SWIG_fail
;
28921 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28922 if (SWIG_arg_fail(2)) SWIG_fail
;
28923 if (arg2
== NULL
) {
28924 SWIG_null_ref("wxTreeItemId");
28926 if (SWIG_arg_fail(2)) SWIG_fail
;
28930 arg3
= (bool)(SWIG_As_bool(obj2
));
28931 if (SWIG_arg_fail(3)) SWIG_fail
;
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28941 Py_INCREF(Py_None
); resultobj
= Py_None
;
28948 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28949 PyObject
*resultobj
;
28950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28951 wxTreeItemId
*arg2
= 0 ;
28952 bool arg3
= (bool) true ;
28953 PyObject
* obj0
= 0 ;
28954 PyObject
* obj1
= 0 ;
28955 PyObject
* obj2
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self",(char *) "item",(char *) "highlight", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28962 if (SWIG_arg_fail(1)) SWIG_fail
;
28964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28965 if (SWIG_arg_fail(2)) SWIG_fail
;
28966 if (arg2
== NULL
) {
28967 SWIG_null_ref("wxTreeItemId");
28969 if (SWIG_arg_fail(2)) SWIG_fail
;
28973 arg3
= (bool)(SWIG_As_bool(obj2
));
28974 if (SWIG_arg_fail(3)) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28984 Py_INCREF(Py_None
); resultobj
= Py_None
;
28991 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28992 PyObject
*resultobj
;
28993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28994 wxTreeItemId
*arg2
= 0 ;
28995 wxColour
*arg3
= 0 ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 char *kwnames
[] = {
29001 (char *) "self",(char *) "item",(char *) "col", NULL
29004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29006 if (SWIG_arg_fail(1)) SWIG_fail
;
29008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29009 if (SWIG_arg_fail(2)) SWIG_fail
;
29010 if (arg2
== NULL
) {
29011 SWIG_null_ref("wxTreeItemId");
29013 if (SWIG_arg_fail(2)) SWIG_fail
;
29017 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 Py_INCREF(Py_None
); resultobj
= Py_None
;
29033 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
;
29035 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29036 wxTreeItemId
*arg2
= 0 ;
29037 wxColour
*arg3
= 0 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 PyObject
* obj2
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "self",(char *) "item",(char *) "col", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29048 if (SWIG_arg_fail(1)) SWIG_fail
;
29050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29051 if (SWIG_arg_fail(2)) SWIG_fail
;
29052 if (arg2
== NULL
) {
29053 SWIG_null_ref("wxTreeItemId");
29055 if (SWIG_arg_fail(2)) SWIG_fail
;
29059 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29063 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29068 Py_INCREF(Py_None
); resultobj
= Py_None
;
29075 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
;
29077 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29078 wxTreeItemId
*arg2
= 0 ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 PyObject
* obj2
= 0 ;
29083 char *kwnames
[] = {
29084 (char *) "self",(char *) "item",(char *) "font", NULL
29087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29089 if (SWIG_arg_fail(1)) SWIG_fail
;
29091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29092 if (SWIG_arg_fail(2)) SWIG_fail
;
29093 if (arg2
== NULL
) {
29094 SWIG_null_ref("wxTreeItemId");
29096 if (SWIG_arg_fail(2)) SWIG_fail
;
29099 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29100 if (SWIG_arg_fail(3)) SWIG_fail
;
29101 if (arg3
== NULL
) {
29102 SWIG_null_ref("wxFont");
29104 if (SWIG_arg_fail(3)) SWIG_fail
;
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29113 Py_INCREF(Py_None
); resultobj
= Py_None
;
29120 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
;
29122 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29123 wxTreeItemId
*arg2
= 0 ;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 char *kwnames
[] = {
29128 (char *) "self",(char *) "item", NULL
29131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29133 if (SWIG_arg_fail(1)) SWIG_fail
;
29135 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29136 if (SWIG_arg_fail(2)) SWIG_fail
;
29137 if (arg2
== NULL
) {
29138 SWIG_null_ref("wxTreeItemId");
29140 if (SWIG_arg_fail(2)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29158 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29159 PyObject
*resultobj
;
29160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29161 wxTreeItemId
*arg2
= 0 ;
29163 PyObject
* obj0
= 0 ;
29164 PyObject
* obj1
= 0 ;
29165 char *kwnames
[] = {
29166 (char *) "self",(char *) "item", NULL
29169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29171 if (SWIG_arg_fail(1)) SWIG_fail
;
29173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29174 if (SWIG_arg_fail(2)) SWIG_fail
;
29175 if (arg2
== NULL
) {
29176 SWIG_null_ref("wxTreeItemId");
29178 if (SWIG_arg_fail(2)) SWIG_fail
;
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29196 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29197 PyObject
*resultobj
;
29198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29199 wxTreeItemId
*arg2
= 0 ;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 char *kwnames
[] = {
29204 (char *) "self",(char *) "item", NULL
29207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29209 if (SWIG_arg_fail(1)) SWIG_fail
;
29211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29212 if (SWIG_arg_fail(2)) SWIG_fail
;
29213 if (arg2
== NULL
) {
29214 SWIG_null_ref("wxTreeItemId");
29216 if (SWIG_arg_fail(2)) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29234 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29235 PyObject
*resultobj
;
29236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29237 wxTreeItemId
*arg2
= 0 ;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 char *kwnames
[] = {
29242 (char *) "self",(char *) "item", NULL
29245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29247 if (SWIG_arg_fail(1)) SWIG_fail
;
29249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29250 if (SWIG_arg_fail(2)) SWIG_fail
;
29251 if (arg2
== NULL
) {
29252 SWIG_null_ref("wxTreeItemId");
29254 if (SWIG_arg_fail(2)) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29272 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
;
29274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29275 wxTreeItemId
*arg2
= 0 ;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 char *kwnames
[] = {
29280 (char *) "self",(char *) "item", NULL
29283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29285 if (SWIG_arg_fail(1)) SWIG_fail
;
29287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29288 if (SWIG_arg_fail(2)) SWIG_fail
;
29289 if (arg2
== NULL
) {
29290 SWIG_null_ref("wxTreeItemId");
29292 if (SWIG_arg_fail(2)) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29310 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
;
29312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29313 wxTreeItemId
*arg2
= 0 ;
29314 bool arg3
= (bool) true ;
29316 PyObject
* obj0
= 0 ;
29317 PyObject
* obj1
= 0 ;
29318 PyObject
* obj2
= 0 ;
29319 char *kwnames
[] = {
29320 (char *) "self",(char *) "item",(char *) "recursively", NULL
29323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29325 if (SWIG_arg_fail(1)) SWIG_fail
;
29327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29328 if (SWIG_arg_fail(2)) SWIG_fail
;
29329 if (arg2
== NULL
) {
29330 SWIG_null_ref("wxTreeItemId");
29332 if (SWIG_arg_fail(2)) SWIG_fail
;
29336 arg3
= (bool)(SWIG_As_bool(obj2
));
29337 if (SWIG_arg_fail(3)) SWIG_fail
;
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29356 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
;
29358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29359 wxTreeItemId result
;
29360 PyObject
* obj0
= 0 ;
29361 char *kwnames
[] = {
29362 (char *) "self", NULL
29365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29367 if (SWIG_arg_fail(1)) SWIG_fail
;
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29372 wxPyEndAllowThreads(__tstate
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29376 wxTreeItemId
* resultptr
;
29377 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29386 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29387 PyObject
*resultobj
;
29388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29389 wxTreeItemId result
;
29390 PyObject
* obj0
= 0 ;
29391 char *kwnames
[] = {
29392 (char *) "self", NULL
29395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29397 if (SWIG_arg_fail(1)) SWIG_fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29406 wxTreeItemId
* resultptr
;
29407 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29416 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29417 PyObject
*resultobj
;
29418 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29420 PyObject
* obj0
= 0 ;
29421 char *kwnames
[] = {
29422 (char *) "self", NULL
29425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29427 if (SWIG_arg_fail(1)) SWIG_fail
;
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29435 resultobj
= result
;
29442 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29443 PyObject
*resultobj
;
29444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29445 wxTreeItemId
*arg2
= 0 ;
29446 wxTreeItemId result
;
29447 PyObject
* obj0
= 0 ;
29448 PyObject
* obj1
= 0 ;
29449 char *kwnames
[] = {
29450 (char *) "self",(char *) "item", NULL
29453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29455 if (SWIG_arg_fail(1)) SWIG_fail
;
29457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29458 if (SWIG_arg_fail(2)) SWIG_fail
;
29459 if (arg2
== NULL
) {
29460 SWIG_null_ref("wxTreeItemId");
29462 if (SWIG_arg_fail(2)) SWIG_fail
;
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29466 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29472 wxTreeItemId
* resultptr
;
29473 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29482 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
;
29484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29485 wxTreeItemId
*arg2
= 0 ;
29487 PyObject
* obj0
= 0 ;
29488 PyObject
* obj1
= 0 ;
29489 char *kwnames
[] = {
29490 (char *) "self",(char *) "item", NULL
29493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29495 if (SWIG_arg_fail(1)) SWIG_fail
;
29497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29498 if (SWIG_arg_fail(2)) SWIG_fail
;
29499 if (arg2
== NULL
) {
29500 SWIG_null_ref("wxTreeItemId");
29502 if (SWIG_arg_fail(2)) SWIG_fail
;
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= result
;
29518 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29519 PyObject
*resultobj
;
29520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29521 wxTreeItemId
*arg2
= 0 ;
29522 void *arg3
= (void *) 0 ;
29524 PyObject
* obj0
= 0 ;
29525 PyObject
* obj1
= 0 ;
29526 PyObject
* obj2
= 0 ;
29527 char *kwnames
[] = {
29528 (char *) "self",(char *) "item",(char *) "cookie", NULL
29531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29533 if (SWIG_arg_fail(1)) SWIG_fail
;
29535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29536 if (SWIG_arg_fail(2)) SWIG_fail
;
29537 if (arg2
== NULL
) {
29538 SWIG_null_ref("wxTreeItemId");
29540 if (SWIG_arg_fail(2)) SWIG_fail
;
29543 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29544 SWIG_arg_fail(3);SWIG_fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= result
;
29561 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
;
29563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29564 wxTreeItemId
*arg2
= 0 ;
29565 wxTreeItemId result
;
29566 PyObject
* obj0
= 0 ;
29567 PyObject
* obj1
= 0 ;
29568 char *kwnames
[] = {
29569 (char *) "self",(char *) "item", NULL
29572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29574 if (SWIG_arg_fail(1)) SWIG_fail
;
29576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29577 if (SWIG_arg_fail(2)) SWIG_fail
;
29578 if (arg2
== NULL
) {
29579 SWIG_null_ref("wxTreeItemId");
29581 if (SWIG_arg_fail(2)) SWIG_fail
;
29584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29585 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29587 wxPyEndAllowThreads(__tstate
);
29588 if (PyErr_Occurred()) SWIG_fail
;
29591 wxTreeItemId
* resultptr
;
29592 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29601 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29602 PyObject
*resultobj
;
29603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29604 wxTreeItemId
*arg2
= 0 ;
29605 wxTreeItemId result
;
29606 PyObject
* obj0
= 0 ;
29607 PyObject
* obj1
= 0 ;
29608 char *kwnames
[] = {
29609 (char *) "self",(char *) "item", NULL
29612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29614 if (SWIG_arg_fail(1)) SWIG_fail
;
29616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29617 if (SWIG_arg_fail(2)) SWIG_fail
;
29618 if (arg2
== NULL
) {
29619 SWIG_null_ref("wxTreeItemId");
29621 if (SWIG_arg_fail(2)) SWIG_fail
;
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29631 wxTreeItemId
* resultptr
;
29632 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29641 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
;
29643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29644 wxTreeItemId
*arg2
= 0 ;
29645 wxTreeItemId result
;
29646 PyObject
* obj0
= 0 ;
29647 PyObject
* obj1
= 0 ;
29648 char *kwnames
[] = {
29649 (char *) "self",(char *) "item", NULL
29652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29654 if (SWIG_arg_fail(1)) SWIG_fail
;
29656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29657 if (SWIG_arg_fail(2)) SWIG_fail
;
29658 if (arg2
== NULL
) {
29659 SWIG_null_ref("wxTreeItemId");
29661 if (SWIG_arg_fail(2)) SWIG_fail
;
29664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29665 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29671 wxTreeItemId
* resultptr
;
29672 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29681 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
;
29683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29684 wxTreeItemId result
;
29685 PyObject
* obj0
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "self", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29692 if (SWIG_arg_fail(1)) SWIG_fail
;
29694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29697 wxPyEndAllowThreads(__tstate
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29701 wxTreeItemId
* resultptr
;
29702 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29711 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
;
29713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29714 wxTreeItemId
*arg2
= 0 ;
29715 wxTreeItemId result
;
29716 PyObject
* obj0
= 0 ;
29717 PyObject
* obj1
= 0 ;
29718 char *kwnames
[] = {
29719 (char *) "self",(char *) "item", NULL
29722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29724 if (SWIG_arg_fail(1)) SWIG_fail
;
29726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29727 if (SWIG_arg_fail(2)) SWIG_fail
;
29728 if (arg2
== NULL
) {
29729 SWIG_null_ref("wxTreeItemId");
29731 if (SWIG_arg_fail(2)) SWIG_fail
;
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29741 wxTreeItemId
* resultptr
;
29742 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29751 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
;
29753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29754 wxTreeItemId
*arg2
= 0 ;
29755 wxTreeItemId result
;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "self",(char *) "item", NULL
29762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29764 if (SWIG_arg_fail(1)) SWIG_fail
;
29766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29767 if (SWIG_arg_fail(2)) SWIG_fail
;
29768 if (arg2
== NULL
) {
29769 SWIG_null_ref("wxTreeItemId");
29771 if (SWIG_arg_fail(2)) SWIG_fail
;
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29781 wxTreeItemId
* resultptr
;
29782 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29791 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
;
29793 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29794 wxString
*arg2
= 0 ;
29795 int arg3
= (int) -1 ;
29796 int arg4
= (int) -1 ;
29797 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29798 wxTreeItemId result
;
29799 bool temp2
= false ;
29800 PyObject
* obj0
= 0 ;
29801 PyObject
* obj1
= 0 ;
29802 PyObject
* obj2
= 0 ;
29803 PyObject
* obj3
= 0 ;
29804 PyObject
* obj4
= 0 ;
29805 char *kwnames
[] = {
29806 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29811 if (SWIG_arg_fail(1)) SWIG_fail
;
29813 arg2
= wxString_in_helper(obj1
);
29814 if (arg2
== NULL
) SWIG_fail
;
29819 arg3
= (int)(SWIG_As_int(obj2
));
29820 if (SWIG_arg_fail(3)) SWIG_fail
;
29825 arg4
= (int)(SWIG_As_int(obj3
));
29826 if (SWIG_arg_fail(4)) SWIG_fail
;
29830 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29831 if (SWIG_arg_fail(5)) SWIG_fail
;
29834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29835 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29841 wxTreeItemId
* resultptr
;
29842 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29859 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
;
29861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29862 wxTreeItemId
*arg2
= 0 ;
29863 wxString
*arg3
= 0 ;
29864 int arg4
= (int) -1 ;
29865 int arg5
= (int) -1 ;
29866 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29867 wxTreeItemId result
;
29868 bool temp3
= false ;
29869 PyObject
* obj0
= 0 ;
29870 PyObject
* obj1
= 0 ;
29871 PyObject
* obj2
= 0 ;
29872 PyObject
* obj3
= 0 ;
29873 PyObject
* obj4
= 0 ;
29874 PyObject
* obj5
= 0 ;
29875 char *kwnames
[] = {
29876 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29881 if (SWIG_arg_fail(1)) SWIG_fail
;
29883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29884 if (SWIG_arg_fail(2)) SWIG_fail
;
29885 if (arg2
== NULL
) {
29886 SWIG_null_ref("wxTreeItemId");
29888 if (SWIG_arg_fail(2)) SWIG_fail
;
29891 arg3
= wxString_in_helper(obj2
);
29892 if (arg3
== NULL
) SWIG_fail
;
29897 arg4
= (int)(SWIG_As_int(obj3
));
29898 if (SWIG_arg_fail(4)) SWIG_fail
;
29903 arg5
= (int)(SWIG_As_int(obj4
));
29904 if (SWIG_arg_fail(5)) SWIG_fail
;
29908 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29909 if (SWIG_arg_fail(6)) SWIG_fail
;
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29919 wxTreeItemId
* resultptr
;
29920 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29937 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
;
29939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29940 wxTreeItemId
*arg2
= 0 ;
29941 wxTreeItemId
*arg3
= 0 ;
29942 wxString
*arg4
= 0 ;
29943 int arg5
= (int) -1 ;
29944 int arg6
= (int) -1 ;
29945 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29946 wxTreeItemId result
;
29947 bool temp4
= false ;
29948 PyObject
* obj0
= 0 ;
29949 PyObject
* obj1
= 0 ;
29950 PyObject
* obj2
= 0 ;
29951 PyObject
* obj3
= 0 ;
29952 PyObject
* obj4
= 0 ;
29953 PyObject
* obj5
= 0 ;
29954 PyObject
* obj6
= 0 ;
29955 char *kwnames
[] = {
29956 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29961 if (SWIG_arg_fail(1)) SWIG_fail
;
29963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29964 if (SWIG_arg_fail(2)) SWIG_fail
;
29965 if (arg2
== NULL
) {
29966 SWIG_null_ref("wxTreeItemId");
29968 if (SWIG_arg_fail(2)) SWIG_fail
;
29971 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29972 if (SWIG_arg_fail(3)) SWIG_fail
;
29973 if (arg3
== NULL
) {
29974 SWIG_null_ref("wxTreeItemId");
29976 if (SWIG_arg_fail(3)) SWIG_fail
;
29979 arg4
= wxString_in_helper(obj3
);
29980 if (arg4
== NULL
) SWIG_fail
;
29985 arg5
= (int)(SWIG_As_int(obj4
));
29986 if (SWIG_arg_fail(5)) SWIG_fail
;
29991 arg6
= (int)(SWIG_As_int(obj5
));
29992 if (SWIG_arg_fail(6)) SWIG_fail
;
29996 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29997 if (SWIG_arg_fail(7)) SWIG_fail
;
30000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30001 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30003 wxPyEndAllowThreads(__tstate
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30007 wxTreeItemId
* resultptr
;
30008 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30025 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
;
30027 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30028 wxTreeItemId
*arg2
= 0 ;
30030 wxString
*arg4
= 0 ;
30031 int arg5
= (int) -1 ;
30032 int arg6
= (int) -1 ;
30033 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30034 wxTreeItemId result
;
30035 bool temp4
= false ;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 PyObject
* obj2
= 0 ;
30039 PyObject
* obj3
= 0 ;
30040 PyObject
* obj4
= 0 ;
30041 PyObject
* obj5
= 0 ;
30042 PyObject
* obj6
= 0 ;
30043 char *kwnames
[] = {
30044 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30049 if (SWIG_arg_fail(1)) SWIG_fail
;
30051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30052 if (SWIG_arg_fail(2)) SWIG_fail
;
30053 if (arg2
== NULL
) {
30054 SWIG_null_ref("wxTreeItemId");
30056 if (SWIG_arg_fail(2)) SWIG_fail
;
30059 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30060 if (SWIG_arg_fail(3)) SWIG_fail
;
30063 arg4
= wxString_in_helper(obj3
);
30064 if (arg4
== NULL
) SWIG_fail
;
30069 arg5
= (int)(SWIG_As_int(obj4
));
30070 if (SWIG_arg_fail(5)) SWIG_fail
;
30075 arg6
= (int)(SWIG_As_int(obj5
));
30076 if (SWIG_arg_fail(6)) SWIG_fail
;
30080 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30081 if (SWIG_arg_fail(7)) SWIG_fail
;
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30087 wxPyEndAllowThreads(__tstate
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30091 wxTreeItemId
* resultptr
;
30092 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30109 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
;
30111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30112 wxTreeItemId
*arg2
= 0 ;
30113 wxString
*arg3
= 0 ;
30114 int arg4
= (int) -1 ;
30115 int arg5
= (int) -1 ;
30116 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30117 wxTreeItemId result
;
30118 bool temp3
= false ;
30119 PyObject
* obj0
= 0 ;
30120 PyObject
* obj1
= 0 ;
30121 PyObject
* obj2
= 0 ;
30122 PyObject
* obj3
= 0 ;
30123 PyObject
* obj4
= 0 ;
30124 PyObject
* obj5
= 0 ;
30125 char *kwnames
[] = {
30126 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30131 if (SWIG_arg_fail(1)) SWIG_fail
;
30133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30134 if (SWIG_arg_fail(2)) SWIG_fail
;
30135 if (arg2
== NULL
) {
30136 SWIG_null_ref("wxTreeItemId");
30138 if (SWIG_arg_fail(2)) SWIG_fail
;
30141 arg3
= wxString_in_helper(obj2
);
30142 if (arg3
== NULL
) SWIG_fail
;
30147 arg4
= (int)(SWIG_As_int(obj3
));
30148 if (SWIG_arg_fail(4)) SWIG_fail
;
30153 arg5
= (int)(SWIG_As_int(obj4
));
30154 if (SWIG_arg_fail(5)) SWIG_fail
;
30158 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30159 if (SWIG_arg_fail(6)) SWIG_fail
;
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30163 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30169 wxTreeItemId
* resultptr
;
30170 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30187 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30188 PyObject
*resultobj
;
30189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30190 wxTreeItemId
*arg2
= 0 ;
30191 PyObject
* obj0
= 0 ;
30192 PyObject
* obj1
= 0 ;
30193 char *kwnames
[] = {
30194 (char *) "self",(char *) "item", NULL
30197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30199 if (SWIG_arg_fail(1)) SWIG_fail
;
30201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30202 if (SWIG_arg_fail(2)) SWIG_fail
;
30203 if (arg2
== NULL
) {
30204 SWIG_null_ref("wxTreeItemId");
30206 if (SWIG_arg_fail(2)) SWIG_fail
;
30209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30210 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 Py_INCREF(Py_None
); resultobj
= Py_None
;
30222 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
;
30224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30225 wxTreeItemId
*arg2
= 0 ;
30226 PyObject
* obj0
= 0 ;
30227 PyObject
* obj1
= 0 ;
30228 char *kwnames
[] = {
30229 (char *) "self",(char *) "item", NULL
30232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30234 if (SWIG_arg_fail(1)) SWIG_fail
;
30236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30237 if (SWIG_arg_fail(2)) SWIG_fail
;
30238 if (arg2
== NULL
) {
30239 SWIG_null_ref("wxTreeItemId");
30241 if (SWIG_arg_fail(2)) SWIG_fail
;
30244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30245 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30247 wxPyEndAllowThreads(__tstate
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30250 Py_INCREF(Py_None
); resultobj
= Py_None
;
30257 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30258 PyObject
*resultobj
;
30259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30260 PyObject
* obj0
= 0 ;
30261 char *kwnames
[] = {
30262 (char *) "self", NULL
30265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30267 if (SWIG_arg_fail(1)) SWIG_fail
;
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30270 (arg1
)->DeleteAllItems();
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30275 Py_INCREF(Py_None
); resultobj
= Py_None
;
30282 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30283 PyObject
*resultobj
;
30284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30285 wxTreeItemId
*arg2
= 0 ;
30286 PyObject
* obj0
= 0 ;
30287 PyObject
* obj1
= 0 ;
30288 char *kwnames
[] = {
30289 (char *) "self",(char *) "item", NULL
30292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30294 if (SWIG_arg_fail(1)) SWIG_fail
;
30296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30297 if (SWIG_arg_fail(2)) SWIG_fail
;
30298 if (arg2
== NULL
) {
30299 SWIG_null_ref("wxTreeItemId");
30301 if (SWIG_arg_fail(2)) SWIG_fail
;
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30310 Py_INCREF(Py_None
); resultobj
= Py_None
;
30317 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
;
30319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30320 wxTreeItemId
*arg2
= 0 ;
30321 PyObject
* obj0
= 0 ;
30322 PyObject
* obj1
= 0 ;
30323 char *kwnames
[] = {
30324 (char *) "self",(char *) "item", NULL
30327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30329 if (SWIG_arg_fail(1)) SWIG_fail
;
30331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30332 if (SWIG_arg_fail(2)) SWIG_fail
;
30333 if (arg2
== NULL
) {
30334 SWIG_null_ref("wxTreeItemId");
30336 if (SWIG_arg_fail(2)) SWIG_fail
;
30339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30340 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30345 Py_INCREF(Py_None
); resultobj
= Py_None
;
30352 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
;
30354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30355 wxTreeItemId
*arg2
= 0 ;
30356 PyObject
* obj0
= 0 ;
30357 PyObject
* obj1
= 0 ;
30358 char *kwnames
[] = {
30359 (char *) "self",(char *) "item", NULL
30362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30364 if (SWIG_arg_fail(1)) SWIG_fail
;
30366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30367 if (SWIG_arg_fail(2)) SWIG_fail
;
30368 if (arg2
== NULL
) {
30369 SWIG_null_ref("wxTreeItemId");
30371 if (SWIG_arg_fail(2)) SWIG_fail
;
30374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30375 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30377 wxPyEndAllowThreads(__tstate
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30380 Py_INCREF(Py_None
); resultobj
= Py_None
;
30387 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30388 PyObject
*resultobj
;
30389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30390 wxTreeItemId
*arg2
= 0 ;
30391 PyObject
* obj0
= 0 ;
30392 PyObject
* obj1
= 0 ;
30393 char *kwnames
[] = {
30394 (char *) "self",(char *) "item", NULL
30397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30399 if (SWIG_arg_fail(1)) SWIG_fail
;
30401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30402 if (SWIG_arg_fail(2)) SWIG_fail
;
30403 if (arg2
== NULL
) {
30404 SWIG_null_ref("wxTreeItemId");
30406 if (SWIG_arg_fail(2)) SWIG_fail
;
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 Py_INCREF(Py_None
); resultobj
= Py_None
;
30422 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
;
30424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30425 PyObject
* obj0
= 0 ;
30426 char *kwnames
[] = {
30427 (char *) "self", NULL
30430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30432 if (SWIG_arg_fail(1)) SWIG_fail
;
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 (arg1
)->Unselect();
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 Py_INCREF(Py_None
); resultobj
= Py_None
;
30447 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
;
30449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30450 wxTreeItemId
*arg2
= 0 ;
30451 PyObject
* obj0
= 0 ;
30452 PyObject
* obj1
= 0 ;
30453 char *kwnames
[] = {
30454 (char *) "self",(char *) "item", NULL
30457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30459 if (SWIG_arg_fail(1)) SWIG_fail
;
30461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30462 if (SWIG_arg_fail(2)) SWIG_fail
;
30463 if (arg2
== NULL
) {
30464 SWIG_null_ref("wxTreeItemId");
30466 if (SWIG_arg_fail(2)) SWIG_fail
;
30469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30470 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30472 wxPyEndAllowThreads(__tstate
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30475 Py_INCREF(Py_None
); resultobj
= Py_None
;
30482 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30483 PyObject
*resultobj
;
30484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30485 PyObject
* obj0
= 0 ;
30486 char *kwnames
[] = {
30487 (char *) "self", NULL
30490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30492 if (SWIG_arg_fail(1)) SWIG_fail
;
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 (arg1
)->UnselectAll();
30497 wxPyEndAllowThreads(__tstate
);
30498 if (PyErr_Occurred()) SWIG_fail
;
30500 Py_INCREF(Py_None
); resultobj
= Py_None
;
30507 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30508 PyObject
*resultobj
;
30509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30510 wxTreeItemId
*arg2
= 0 ;
30511 bool arg3
= (bool) true ;
30512 PyObject
* obj0
= 0 ;
30513 PyObject
* obj1
= 0 ;
30514 PyObject
* obj2
= 0 ;
30515 char *kwnames
[] = {
30516 (char *) "self",(char *) "item",(char *) "select", NULL
30519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30521 if (SWIG_arg_fail(1)) SWIG_fail
;
30523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30524 if (SWIG_arg_fail(2)) SWIG_fail
;
30525 if (arg2
== NULL
) {
30526 SWIG_null_ref("wxTreeItemId");
30528 if (SWIG_arg_fail(2)) SWIG_fail
;
30532 arg3
= (bool)(SWIG_As_bool(obj2
));
30533 if (SWIG_arg_fail(3)) SWIG_fail
;
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30540 wxPyEndAllowThreads(__tstate
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30543 Py_INCREF(Py_None
); resultobj
= Py_None
;
30550 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30551 PyObject
*resultobj
;
30552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30553 wxTreeItemId
*arg2
= 0 ;
30554 PyObject
* obj0
= 0 ;
30555 PyObject
* obj1
= 0 ;
30556 char *kwnames
[] = {
30557 (char *) "self",(char *) "item", NULL
30560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30562 if (SWIG_arg_fail(1)) SWIG_fail
;
30564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30565 if (SWIG_arg_fail(2)) SWIG_fail
;
30566 if (arg2
== NULL
) {
30567 SWIG_null_ref("wxTreeItemId");
30569 if (SWIG_arg_fail(2)) SWIG_fail
;
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 Py_INCREF(Py_None
); resultobj
= Py_None
;
30585 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30586 PyObject
*resultobj
;
30587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30588 wxTreeItemId
*arg2
= 0 ;
30589 PyObject
* obj0
= 0 ;
30590 PyObject
* obj1
= 0 ;
30591 char *kwnames
[] = {
30592 (char *) "self",(char *) "item", NULL
30595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30597 if (SWIG_arg_fail(1)) SWIG_fail
;
30599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30600 if (SWIG_arg_fail(2)) SWIG_fail
;
30601 if (arg2
== NULL
) {
30602 SWIG_null_ref("wxTreeItemId");
30604 if (SWIG_arg_fail(2)) SWIG_fail
;
30607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30608 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30610 wxPyEndAllowThreads(__tstate
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30613 Py_INCREF(Py_None
); resultobj
= Py_None
;
30620 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30621 PyObject
*resultobj
;
30622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30623 wxTreeItemId
*arg2
= 0 ;
30624 PyObject
* obj0
= 0 ;
30625 PyObject
* obj1
= 0 ;
30626 char *kwnames
[] = {
30627 (char *) "self",(char *) "item", NULL
30630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30632 if (SWIG_arg_fail(1)) SWIG_fail
;
30634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30635 if (SWIG_arg_fail(2)) SWIG_fail
;
30636 if (arg2
== NULL
) {
30637 SWIG_null_ref("wxTreeItemId");
30639 if (SWIG_arg_fail(2)) SWIG_fail
;
30642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30643 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30645 wxPyEndAllowThreads(__tstate
);
30646 if (PyErr_Occurred()) SWIG_fail
;
30648 Py_INCREF(Py_None
); resultobj
= Py_None
;
30655 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30656 PyObject
*resultobj
;
30657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30658 wxTreeItemId
*arg2
= 0 ;
30659 PyObject
* obj0
= 0 ;
30660 PyObject
* obj1
= 0 ;
30661 char *kwnames
[] = {
30662 (char *) "self",(char *) "item", NULL
30665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30667 if (SWIG_arg_fail(1)) SWIG_fail
;
30669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30670 if (SWIG_arg_fail(2)) SWIG_fail
;
30671 if (arg2
== NULL
) {
30672 SWIG_null_ref("wxTreeItemId");
30674 if (SWIG_arg_fail(2)) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 Py_INCREF(Py_None
); resultobj
= Py_None
;
30690 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30693 wxTextCtrl
*result
;
30694 PyObject
* obj0
= 0 ;
30695 char *kwnames
[] = {
30696 (char *) "self", NULL
30699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30701 if (SWIG_arg_fail(1)) SWIG_fail
;
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30710 resultobj
= wxPyMake_wxObject(result
, 0);
30718 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
;
30720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30721 wxTreeItemId
*arg2
= 0 ;
30722 PyObject
* obj0
= 0 ;
30723 PyObject
* obj1
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "self",(char *) "item", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30730 if (SWIG_arg_fail(1)) SWIG_fail
;
30732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30733 if (SWIG_arg_fail(2)) SWIG_fail
;
30734 if (arg2
== NULL
) {
30735 SWIG_null_ref("wxTreeItemId");
30737 if (SWIG_arg_fail(2)) SWIG_fail
;
30740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30743 wxPyEndAllowThreads(__tstate
);
30744 if (PyErr_Occurred()) SWIG_fail
;
30746 Py_INCREF(Py_None
); resultobj
= Py_None
;
30753 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
;
30755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30756 wxPoint
*arg2
= 0 ;
30758 wxTreeItemId result
;
30762 PyObject
* obj0
= 0 ;
30763 PyObject
* obj1
= 0 ;
30764 char *kwnames
[] = {
30765 (char *) "self",(char *) "point", NULL
30768 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30771 if (SWIG_arg_fail(1)) SWIG_fail
;
30774 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30784 wxTreeItemId
* resultptr
;
30785 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30788 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30789 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30796 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
;
30798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30799 wxTreeItemId
*arg2
= 0 ;
30800 bool arg3
= (bool) false ;
30802 PyObject
* obj0
= 0 ;
30803 PyObject
* obj1
= 0 ;
30804 PyObject
* obj2
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30811 if (SWIG_arg_fail(1)) SWIG_fail
;
30813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30814 if (SWIG_arg_fail(2)) SWIG_fail
;
30815 if (arg2
== NULL
) {
30816 SWIG_null_ref("wxTreeItemId");
30818 if (SWIG_arg_fail(2)) SWIG_fail
;
30822 arg3
= (bool)(SWIG_As_bool(obj2
));
30823 if (SWIG_arg_fail(3)) SWIG_fail
;
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= result
;
30840 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
;
30842 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30843 wxVisualAttributes result
;
30844 PyObject
* obj0
= 0 ;
30845 char *kwnames
[] = {
30846 (char *) "variant", NULL
30849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30852 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30853 if (SWIG_arg_fail(1)) SWIG_fail
;
30857 if (!wxPyCheckForApp()) SWIG_fail
;
30858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30859 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30861 wxPyEndAllowThreads(__tstate
);
30862 if (PyErr_Occurred()) SWIG_fail
;
30865 wxVisualAttributes
* resultptr
;
30866 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30875 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30878 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30880 return Py_BuildValue((char *)"");
30882 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30883 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30888 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30893 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30895 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30902 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxWindow
*arg1
= (wxWindow
*) 0 ;
30905 int arg2
= (int) (int)-1 ;
30906 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30907 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30908 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30909 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30910 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30911 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30912 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30913 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30914 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30915 int arg8
= (int) 0 ;
30916 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30917 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30918 wxGenericDirCtrl
*result
;
30919 bool temp3
= false ;
30922 bool temp7
= false ;
30923 bool temp9
= false ;
30924 PyObject
* obj0
= 0 ;
30925 PyObject
* obj1
= 0 ;
30926 PyObject
* obj2
= 0 ;
30927 PyObject
* obj3
= 0 ;
30928 PyObject
* obj4
= 0 ;
30929 PyObject
* obj5
= 0 ;
30930 PyObject
* obj6
= 0 ;
30931 PyObject
* obj7
= 0 ;
30932 PyObject
* obj8
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30939 if (SWIG_arg_fail(1)) SWIG_fail
;
30942 arg2
= (int const)(SWIG_As_int(obj1
));
30943 if (SWIG_arg_fail(2)) SWIG_fail
;
30948 arg3
= wxString_in_helper(obj2
);
30949 if (arg3
== NULL
) SWIG_fail
;
30956 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30962 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30967 arg6
= (long)(SWIG_As_long(obj5
));
30968 if (SWIG_arg_fail(6)) SWIG_fail
;
30973 arg7
= wxString_in_helper(obj6
);
30974 if (arg7
== NULL
) SWIG_fail
;
30980 arg8
= (int)(SWIG_As_int(obj7
));
30981 if (SWIG_arg_fail(8)) SWIG_fail
;
30986 arg9
= wxString_in_helper(obj8
);
30987 if (arg9
== NULL
) SWIG_fail
;
30992 if (!wxPyCheckForApp()) SWIG_fail
;
30993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30994 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
30996 wxPyEndAllowThreads(__tstate
);
30997 if (PyErr_Occurred()) SWIG_fail
;
30999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31030 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31031 PyObject
*resultobj
;
31032 wxGenericDirCtrl
*result
;
31033 char *kwnames
[] = {
31037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31039 if (!wxPyCheckForApp()) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31053 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31056 wxWindow
*arg2
= (wxWindow
*) 0 ;
31057 int arg3
= (int) (int)-1 ;
31058 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31059 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31060 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31061 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31062 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31063 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31064 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31065 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31066 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31067 int arg9
= (int) 0 ;
31068 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31069 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31071 bool temp4
= false ;
31074 bool temp8
= false ;
31075 bool temp10
= false ;
31076 PyObject
* obj0
= 0 ;
31077 PyObject
* obj1
= 0 ;
31078 PyObject
* obj2
= 0 ;
31079 PyObject
* obj3
= 0 ;
31080 PyObject
* obj4
= 0 ;
31081 PyObject
* obj5
= 0 ;
31082 PyObject
* obj6
= 0 ;
31083 PyObject
* obj7
= 0 ;
31084 PyObject
* obj8
= 0 ;
31085 PyObject
* obj9
= 0 ;
31086 char *kwnames
[] = {
31087 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31092 if (SWIG_arg_fail(1)) SWIG_fail
;
31093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31094 if (SWIG_arg_fail(2)) SWIG_fail
;
31097 arg3
= (int const)(SWIG_As_int(obj2
));
31098 if (SWIG_arg_fail(3)) SWIG_fail
;
31103 arg4
= wxString_in_helper(obj3
);
31104 if (arg4
== NULL
) SWIG_fail
;
31111 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31117 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31122 arg7
= (long)(SWIG_As_long(obj6
));
31123 if (SWIG_arg_fail(7)) SWIG_fail
;
31128 arg8
= wxString_in_helper(obj7
);
31129 if (arg8
== NULL
) SWIG_fail
;
31135 arg9
= (int)(SWIG_As_int(obj8
));
31136 if (SWIG_arg_fail(9)) SWIG_fail
;
31141 arg10
= wxString_in_helper(obj9
);
31142 if (arg10
== NULL
) SWIG_fail
;
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31148 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31186 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
;
31188 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31189 wxString
*arg2
= 0 ;
31191 bool temp2
= false ;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self",(char *) "path", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31200 if (SWIG_arg_fail(1)) SWIG_fail
;
31202 arg2
= wxString_in_helper(obj1
);
31203 if (arg2
== NULL
) SWIG_fail
;
31207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31230 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31231 PyObject
*resultobj
;
31232 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31234 PyObject
* obj0
= 0 ;
31235 char *kwnames
[] = {
31236 (char *) "self", NULL
31239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31241 if (SWIG_arg_fail(1)) SWIG_fail
;
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31246 wxPyEndAllowThreads(__tstate
);
31247 if (PyErr_Occurred()) SWIG_fail
;
31251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31262 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31265 wxString
*arg2
= 0 ;
31266 bool temp2
= false ;
31267 PyObject
* obj0
= 0 ;
31268 PyObject
* obj1
= 0 ;
31269 char *kwnames
[] = {
31270 (char *) "self",(char *) "path", NULL
31273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31275 if (SWIG_arg_fail(1)) SWIG_fail
;
31277 arg2
= wxString_in_helper(obj1
);
31278 if (arg2
== NULL
) SWIG_fail
;
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31288 Py_INCREF(Py_None
); resultobj
= Py_None
;
31303 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31304 PyObject
*resultobj
;
31305 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31307 PyObject
* obj0
= 0 ;
31308 char *kwnames
[] = {
31309 (char *) "self", NULL
31312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31314 if (SWIG_arg_fail(1)) SWIG_fail
;
31316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31317 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31319 wxPyEndAllowThreads(__tstate
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31335 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31336 PyObject
*resultobj
;
31337 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31339 PyObject
* obj0
= 0 ;
31340 char *kwnames
[] = {
31341 (char *) "self", NULL
31344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31346 if (SWIG_arg_fail(1)) SWIG_fail
;
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31351 wxPyEndAllowThreads(__tstate
);
31352 if (PyErr_Occurred()) SWIG_fail
;
31356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31367 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31368 PyObject
*resultobj
;
31369 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31370 wxString
*arg2
= 0 ;
31371 bool temp2
= false ;
31372 PyObject
* obj0
= 0 ;
31373 PyObject
* obj1
= 0 ;
31374 char *kwnames
[] = {
31375 (char *) "self",(char *) "path", NULL
31378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31380 if (SWIG_arg_fail(1)) SWIG_fail
;
31382 arg2
= wxString_in_helper(obj1
);
31383 if (arg2
== NULL
) SWIG_fail
;
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 (arg1
)->SetPath((wxString
const &)*arg2
);
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31393 Py_INCREF(Py_None
); resultobj
= Py_None
;
31408 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31409 PyObject
*resultobj
;
31410 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31412 PyObject
* obj0
= 0 ;
31413 PyObject
* obj1
= 0 ;
31414 char *kwnames
[] = {
31415 (char *) "self",(char *) "show", NULL
31418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31420 if (SWIG_arg_fail(1)) SWIG_fail
;
31422 arg2
= (bool)(SWIG_As_bool(obj1
));
31423 if (SWIG_arg_fail(2)) SWIG_fail
;
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 (arg1
)->ShowHidden(arg2
);
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 Py_INCREF(Py_None
); resultobj
= Py_None
;
31439 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
;
31441 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31443 PyObject
* obj0
= 0 ;
31444 char *kwnames
[] = {
31445 (char *) "self", NULL
31448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31450 if (SWIG_arg_fail(1)) SWIG_fail
;
31452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 result
= (bool)(arg1
)->GetShowHidden();
31455 wxPyEndAllowThreads(__tstate
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31467 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31468 PyObject
*resultobj
;
31469 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31471 PyObject
* obj0
= 0 ;
31472 char *kwnames
[] = {
31473 (char *) "self", NULL
31476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31478 if (SWIG_arg_fail(1)) SWIG_fail
;
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31481 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31499 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31500 PyObject
*resultobj
;
31501 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31502 wxString
*arg2
= 0 ;
31503 bool temp2
= false ;
31504 PyObject
* obj0
= 0 ;
31505 PyObject
* obj1
= 0 ;
31506 char *kwnames
[] = {
31507 (char *) "self",(char *) "filter", NULL
31510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31512 if (SWIG_arg_fail(1)) SWIG_fail
;
31514 arg2
= wxString_in_helper(obj1
);
31515 if (arg2
== NULL
) SWIG_fail
;
31519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31520 (arg1
)->SetFilter((wxString
const &)*arg2
);
31522 wxPyEndAllowThreads(__tstate
);
31523 if (PyErr_Occurred()) SWIG_fail
;
31525 Py_INCREF(Py_None
); resultobj
= Py_None
;
31540 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31541 PyObject
*resultobj
;
31542 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31544 PyObject
* obj0
= 0 ;
31545 char *kwnames
[] = {
31546 (char *) "self", NULL
31549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31551 if (SWIG_arg_fail(1)) SWIG_fail
;
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_From_int((int)(result
));
31568 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
;
31570 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31572 PyObject
* obj0
= 0 ;
31573 PyObject
* obj1
= 0 ;
31574 char *kwnames
[] = {
31575 (char *) "self",(char *) "n", NULL
31578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31580 if (SWIG_arg_fail(1)) SWIG_fail
;
31582 arg2
= (int)(SWIG_As_int(obj1
));
31583 if (SWIG_arg_fail(2)) SWIG_fail
;
31586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31587 (arg1
)->SetFilterIndex(arg2
);
31589 wxPyEndAllowThreads(__tstate
);
31590 if (PyErr_Occurred()) SWIG_fail
;
31592 Py_INCREF(Py_None
); resultobj
= Py_None
;
31599 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
;
31601 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31602 wxTreeItemId result
;
31603 PyObject
* obj0
= 0 ;
31604 char *kwnames
[] = {
31605 (char *) "self", NULL
31608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31610 if (SWIG_arg_fail(1)) SWIG_fail
;
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 result
= (arg1
)->GetRootId();
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31619 wxTreeItemId
* resultptr
;
31620 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31629 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31630 PyObject
*resultobj
;
31631 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31632 wxPyTreeCtrl
*result
;
31633 PyObject
* obj0
= 0 ;
31634 char *kwnames
[] = {
31635 (char *) "self", NULL
31638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31640 if (SWIG_arg_fail(1)) SWIG_fail
;
31642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31643 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31645 wxPyEndAllowThreads(__tstate
);
31646 if (PyErr_Occurred()) SWIG_fail
;
31649 resultobj
= wxPyMake_wxObject(result
, 0);
31657 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31658 PyObject
*resultobj
;
31659 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31660 wxDirFilterListCtrl
*result
;
31661 PyObject
* obj0
= 0 ;
31662 char *kwnames
[] = {
31663 (char *) "self", NULL
31666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31668 if (SWIG_arg_fail(1)) SWIG_fail
;
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31683 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31684 PyObject
*resultobj
;
31685 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31686 wxTreeItemId arg2
;
31687 wxString
*arg3
= 0 ;
31689 wxTreeItemId result
;
31690 bool temp3
= false ;
31693 PyObject
* obj0
= 0 ;
31694 PyObject
* obj1
= 0 ;
31695 PyObject
* obj2
= 0 ;
31696 char *kwnames
[] = {
31697 (char *) "self",(char *) "parentId",(char *) "path", NULL
31700 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31703 if (SWIG_arg_fail(1)) SWIG_fail
;
31705 wxTreeItemId
* argp
;
31706 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31707 if (SWIG_arg_fail(2)) SWIG_fail
;
31708 if (argp
== NULL
) {
31709 SWIG_null_ref("wxTreeItemId");
31711 if (SWIG_arg_fail(2)) SWIG_fail
;
31715 arg3
= wxString_in_helper(obj2
);
31716 if (arg3
== NULL
) SWIG_fail
;
31720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31721 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31727 wxTreeItemId
* resultptr
;
31728 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31731 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31732 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31747 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31748 PyObject
*resultobj
;
31749 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31750 PyObject
* obj0
= 0 ;
31751 char *kwnames
[] = {
31752 (char *) "self", NULL
31755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31757 if (SWIG_arg_fail(1)) SWIG_fail
;
31759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31760 (arg1
)->DoResize();
31762 wxPyEndAllowThreads(__tstate
);
31763 if (PyErr_Occurred()) SWIG_fail
;
31765 Py_INCREF(Py_None
); resultobj
= Py_None
;
31772 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31773 PyObject
*resultobj
;
31774 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31775 PyObject
* obj0
= 0 ;
31776 char *kwnames
[] = {
31777 (char *) "self", NULL
31780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31782 if (SWIG_arg_fail(1)) SWIG_fail
;
31784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31785 (arg1
)->ReCreateTree();
31787 wxPyEndAllowThreads(__tstate
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31790 Py_INCREF(Py_None
); resultobj
= Py_None
;
31797 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31800 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31802 return Py_BuildValue((char *)"");
31804 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31805 PyObject
*resultobj
;
31806 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31807 int arg2
= (int) (int)-1 ;
31808 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31809 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31810 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31811 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31812 long arg5
= (long) 0 ;
31813 wxDirFilterListCtrl
*result
;
31816 PyObject
* obj0
= 0 ;
31817 PyObject
* obj1
= 0 ;
31818 PyObject
* obj2
= 0 ;
31819 PyObject
* obj3
= 0 ;
31820 PyObject
* obj4
= 0 ;
31821 char *kwnames
[] = {
31822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31827 if (SWIG_arg_fail(1)) SWIG_fail
;
31830 arg2
= (int const)(SWIG_As_int(obj1
));
31831 if (SWIG_arg_fail(2)) SWIG_fail
;
31837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31843 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31848 arg5
= (long)(SWIG_As_long(obj4
));
31849 if (SWIG_arg_fail(5)) SWIG_fail
;
31853 if (!wxPyCheckForApp()) SWIG_fail
;
31854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31857 wxPyEndAllowThreads(__tstate
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31867 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31868 PyObject
*resultobj
;
31869 wxDirFilterListCtrl
*result
;
31870 char *kwnames
[] = {
31874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31876 if (!wxPyCheckForApp()) SWIG_fail
;
31877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31890 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
;
31892 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31893 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31894 int arg3
= (int) (int)-1 ;
31895 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31896 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31897 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31898 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31899 long arg6
= (long) 0 ;
31903 PyObject
* obj0
= 0 ;
31904 PyObject
* obj1
= 0 ;
31905 PyObject
* obj2
= 0 ;
31906 PyObject
* obj3
= 0 ;
31907 PyObject
* obj4
= 0 ;
31908 PyObject
* obj5
= 0 ;
31909 char *kwnames
[] = {
31910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31915 if (SWIG_arg_fail(1)) SWIG_fail
;
31916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31917 if (SWIG_arg_fail(2)) SWIG_fail
;
31920 arg3
= (int const)(SWIG_As_int(obj2
));
31921 if (SWIG_arg_fail(3)) SWIG_fail
;
31927 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31933 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31938 arg6
= (long)(SWIG_As_long(obj5
));
31939 if (SWIG_arg_fail(6)) SWIG_fail
;
31943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31944 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
31946 wxPyEndAllowThreads(__tstate
);
31947 if (PyErr_Occurred()) SWIG_fail
;
31950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31958 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
;
31960 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31961 wxString
*arg2
= 0 ;
31963 bool temp2
= false ;
31964 PyObject
* obj0
= 0 ;
31965 PyObject
* obj1
= 0 ;
31966 PyObject
* obj2
= 0 ;
31967 char *kwnames
[] = {
31968 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31973 if (SWIG_arg_fail(1)) SWIG_fail
;
31975 arg2
= wxString_in_helper(obj1
);
31976 if (arg2
== NULL
) SWIG_fail
;
31980 arg3
= (int)(SWIG_As_int(obj2
));
31981 if (SWIG_arg_fail(3)) SWIG_fail
;
31984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31985 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
31987 wxPyEndAllowThreads(__tstate
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31990 Py_INCREF(Py_None
); resultobj
= Py_None
;
32005 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32008 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32010 return Py_BuildValue((char *)"");
32012 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32013 PyObject
*resultobj
;
32014 wxWindow
*arg1
= (wxWindow
*) 0 ;
32015 int arg2
= (int) (int)-1 ;
32016 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32017 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32018 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32019 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32020 long arg5
= (long) 0 ;
32021 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32022 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32023 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32024 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32025 wxPyControl
*result
;
32028 bool temp7
= false ;
32029 PyObject
* obj0
= 0 ;
32030 PyObject
* obj1
= 0 ;
32031 PyObject
* obj2
= 0 ;
32032 PyObject
* obj3
= 0 ;
32033 PyObject
* obj4
= 0 ;
32034 PyObject
* obj5
= 0 ;
32035 PyObject
* obj6
= 0 ;
32036 char *kwnames
[] = {
32037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32042 if (SWIG_arg_fail(1)) SWIG_fail
;
32045 arg2
= (int const)(SWIG_As_int(obj1
));
32046 if (SWIG_arg_fail(2)) SWIG_fail
;
32052 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32058 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32063 arg5
= (long)(SWIG_As_long(obj4
));
32064 if (SWIG_arg_fail(5)) SWIG_fail
;
32069 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32070 if (SWIG_arg_fail(6)) SWIG_fail
;
32071 if (arg6
== NULL
) {
32072 SWIG_null_ref("wxValidator");
32074 if (SWIG_arg_fail(6)) SWIG_fail
;
32079 arg7
= wxString_in_helper(obj6
);
32080 if (arg7
== NULL
) SWIG_fail
;
32085 if (!wxPyCheckForApp()) SWIG_fail
;
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32089 wxPyEndAllowThreads(__tstate
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32107 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32108 PyObject
*resultobj
;
32109 wxPyControl
*result
;
32110 char *kwnames
[] = {
32114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32116 if (!wxPyCheckForApp()) SWIG_fail
;
32117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32118 result
= (wxPyControl
*)new wxPyControl();
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32130 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32131 PyObject
*resultobj
;
32132 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32133 PyObject
*arg2
= (PyObject
*) 0 ;
32134 PyObject
*arg3
= (PyObject
*) 0 ;
32135 PyObject
* obj0
= 0 ;
32136 PyObject
* obj1
= 0 ;
32137 PyObject
* obj2
= 0 ;
32138 char *kwnames
[] = {
32139 (char *) "self",(char *) "self",(char *) "_class", NULL
32142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32144 if (SWIG_arg_fail(1)) SWIG_fail
;
32148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32149 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32151 wxPyEndAllowThreads(__tstate
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32154 Py_INCREF(Py_None
); resultobj
= Py_None
;
32161 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32162 PyObject
*resultobj
;
32163 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32166 PyObject
* obj0
= 0 ;
32167 PyObject
* obj1
= 0 ;
32168 char *kwnames
[] = {
32169 (char *) "self",(char *) "size", NULL
32172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32174 if (SWIG_arg_fail(1)) SWIG_fail
;
32177 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32181 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32183 wxPyEndAllowThreads(__tstate
);
32184 if (PyErr_Occurred()) SWIG_fail
;
32186 Py_INCREF(Py_None
); resultobj
= Py_None
;
32193 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32194 PyObject
*resultobj
;
32195 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32200 PyObject
* obj0
= 0 ;
32201 PyObject
* obj1
= 0 ;
32202 PyObject
* obj2
= 0 ;
32203 PyObject
* obj3
= 0 ;
32204 PyObject
* obj4
= 0 ;
32205 char *kwnames
[] = {
32206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32211 if (SWIG_arg_fail(1)) SWIG_fail
;
32213 arg2
= (int)(SWIG_As_int(obj1
));
32214 if (SWIG_arg_fail(2)) SWIG_fail
;
32217 arg3
= (int)(SWIG_As_int(obj2
));
32218 if (SWIG_arg_fail(3)) SWIG_fail
;
32221 arg4
= (int)(SWIG_As_int(obj3
));
32222 if (SWIG_arg_fail(4)) SWIG_fail
;
32225 arg5
= (int)(SWIG_As_int(obj4
));
32226 if (SWIG_arg_fail(5)) SWIG_fail
;
32229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32230 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32232 wxPyEndAllowThreads(__tstate
);
32233 if (PyErr_Occurred()) SWIG_fail
;
32235 Py_INCREF(Py_None
); resultobj
= Py_None
;
32242 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32243 PyObject
*resultobj
;
32244 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32249 int arg6
= (int) wxSIZE_AUTO
;
32250 PyObject
* obj0
= 0 ;
32251 PyObject
* obj1
= 0 ;
32252 PyObject
* obj2
= 0 ;
32253 PyObject
* obj3
= 0 ;
32254 PyObject
* obj4
= 0 ;
32255 PyObject
* obj5
= 0 ;
32256 char *kwnames
[] = {
32257 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32262 if (SWIG_arg_fail(1)) SWIG_fail
;
32264 arg2
= (int)(SWIG_As_int(obj1
));
32265 if (SWIG_arg_fail(2)) SWIG_fail
;
32268 arg3
= (int)(SWIG_As_int(obj2
));
32269 if (SWIG_arg_fail(3)) SWIG_fail
;
32272 arg4
= (int)(SWIG_As_int(obj3
));
32273 if (SWIG_arg_fail(4)) SWIG_fail
;
32276 arg5
= (int)(SWIG_As_int(obj4
));
32277 if (SWIG_arg_fail(5)) SWIG_fail
;
32281 arg6
= (int)(SWIG_As_int(obj5
));
32282 if (SWIG_arg_fail(6)) SWIG_fail
;
32286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32287 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32292 Py_INCREF(Py_None
); resultobj
= Py_None
;
32299 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32300 PyObject
*resultobj
;
32301 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32304 PyObject
* obj0
= 0 ;
32305 PyObject
* obj1
= 0 ;
32306 PyObject
* obj2
= 0 ;
32307 char *kwnames
[] = {
32308 (char *) "self",(char *) "width",(char *) "height", NULL
32311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32313 if (SWIG_arg_fail(1)) SWIG_fail
;
32315 arg2
= (int)(SWIG_As_int(obj1
));
32316 if (SWIG_arg_fail(2)) SWIG_fail
;
32319 arg3
= (int)(SWIG_As_int(obj2
));
32320 if (SWIG_arg_fail(3)) SWIG_fail
;
32323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32324 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32326 wxPyEndAllowThreads(__tstate
);
32327 if (PyErr_Occurred()) SWIG_fail
;
32329 Py_INCREF(Py_None
); resultobj
= Py_None
;
32336 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32337 PyObject
*resultobj
;
32338 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32341 PyObject
* obj0
= 0 ;
32342 PyObject
* obj1
= 0 ;
32343 PyObject
* obj2
= 0 ;
32344 char *kwnames
[] = {
32345 (char *) "self",(char *) "x",(char *) "y", NULL
32348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32350 if (SWIG_arg_fail(1)) SWIG_fail
;
32352 arg2
= (int)(SWIG_As_int(obj1
));
32353 if (SWIG_arg_fail(2)) SWIG_fail
;
32356 arg3
= (int)(SWIG_As_int(obj2
));
32357 if (SWIG_arg_fail(3)) SWIG_fail
;
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32366 Py_INCREF(Py_None
); resultobj
= Py_None
;
32373 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32374 PyObject
*resultobj
;
32375 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32376 int *arg2
= (int *) 0 ;
32377 int *arg3
= (int *) 0 ;
32382 PyObject
* obj0
= 0 ;
32383 char *kwnames
[] = {
32384 (char *) "self", NULL
32387 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32388 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32391 if (SWIG_arg_fail(1)) SWIG_fail
;
32393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32394 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32396 wxPyEndAllowThreads(__tstate
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32399 Py_INCREF(Py_None
); resultobj
= Py_None
;
32400 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32401 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32402 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32403 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32410 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32411 PyObject
*resultobj
;
32412 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32413 int *arg2
= (int *) 0 ;
32414 int *arg3
= (int *) 0 ;
32419 PyObject
* obj0
= 0 ;
32420 char *kwnames
[] = {
32421 (char *) "self", NULL
32424 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32425 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32428 if (SWIG_arg_fail(1)) SWIG_fail
;
32430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32431 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 Py_INCREF(Py_None
); resultobj
= Py_None
;
32437 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32438 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32439 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32440 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32447 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32448 PyObject
*resultobj
;
32449 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32450 int *arg2
= (int *) 0 ;
32451 int *arg3
= (int *) 0 ;
32456 PyObject
* obj0
= 0 ;
32457 char *kwnames
[] = {
32458 (char *) "self", NULL
32461 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32462 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32465 if (SWIG_arg_fail(1)) SWIG_fail
;
32467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32468 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32473 Py_INCREF(Py_None
); resultobj
= Py_None
;
32474 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32475 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32476 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32477 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32484 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32485 PyObject
*resultobj
;
32486 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32488 PyObject
* obj0
= 0 ;
32489 char *kwnames
[] = {
32490 (char *) "self", NULL
32493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32495 if (SWIG_arg_fail(1)) SWIG_fail
;
32497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32498 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32500 wxPyEndAllowThreads(__tstate
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32504 wxSize
* resultptr
;
32505 resultptr
= new wxSize((wxSize
&)(result
));
32506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32514 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
;
32516 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32518 PyObject
* obj0
= 0 ;
32519 char *kwnames
[] = {
32520 (char *) "self", NULL
32523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32525 if (SWIG_arg_fail(1)) SWIG_fail
;
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32534 wxSize
* resultptr
;
32535 resultptr
= new wxSize((wxSize
&)(result
));
32536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32544 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
;
32546 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32547 PyObject
* obj0
= 0 ;
32548 char *kwnames
[] = {
32549 (char *) "self", NULL
32552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32554 if (SWIG_arg_fail(1)) SWIG_fail
;
32556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32557 (arg1
)->base_InitDialog();
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32562 Py_INCREF(Py_None
); resultobj
= Py_None
;
32569 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32570 PyObject
*resultobj
;
32571 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32573 PyObject
* obj0
= 0 ;
32574 char *kwnames
[] = {
32575 (char *) "self", NULL
32578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32580 if (SWIG_arg_fail(1)) SWIG_fail
;
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 result
= (bool)(arg1
)->base_TransferDataToWindow();
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32597 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32598 PyObject
*resultobj
;
32599 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32601 PyObject
* obj0
= 0 ;
32602 char *kwnames
[] = {
32603 (char *) "self", NULL
32606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32608 if (SWIG_arg_fail(1)) SWIG_fail
;
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32613 wxPyEndAllowThreads(__tstate
);
32614 if (PyErr_Occurred()) SWIG_fail
;
32617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32625 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32626 PyObject
*resultobj
;
32627 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32629 PyObject
* obj0
= 0 ;
32630 char *kwnames
[] = {
32631 (char *) "self", NULL
32634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32636 if (SWIG_arg_fail(1)) SWIG_fail
;
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 result
= (bool)(arg1
)->base_Validate();
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32653 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32654 PyObject
*resultobj
;
32655 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32657 PyObject
* obj0
= 0 ;
32658 char *kwnames
[] = {
32659 (char *) "self", NULL
32662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32664 if (SWIG_arg_fail(1)) SWIG_fail
;
32666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32667 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32669 wxPyEndAllowThreads(__tstate
);
32670 if (PyErr_Occurred()) SWIG_fail
;
32673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32681 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32682 PyObject
*resultobj
;
32683 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32685 PyObject
* obj0
= 0 ;
32686 char *kwnames
[] = {
32687 (char *) "self", NULL
32690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32692 if (SWIG_arg_fail(1)) SWIG_fail
;
32694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32695 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32697 wxPyEndAllowThreads(__tstate
);
32698 if (PyErr_Occurred()) SWIG_fail
;
32701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32709 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32710 PyObject
*resultobj
;
32711 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32713 PyObject
* obj0
= 0 ;
32714 char *kwnames
[] = {
32715 (char *) "self", NULL
32718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32720 if (SWIG_arg_fail(1)) SWIG_fail
;
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32725 wxPyEndAllowThreads(__tstate
);
32726 if (PyErr_Occurred()) SWIG_fail
;
32729 wxSize
* resultptr
;
32730 resultptr
= new wxSize((wxSize
&)(result
));
32731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32739 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
;
32741 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32742 wxWindow
*arg2
= (wxWindow
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 PyObject
* obj1
= 0 ;
32745 char *kwnames
[] = {
32746 (char *) "self",(char *) "child", NULL
32749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail
;
32752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32753 if (SWIG_arg_fail(2)) SWIG_fail
;
32755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32756 (arg1
)->base_AddChild(arg2
);
32758 wxPyEndAllowThreads(__tstate
);
32759 if (PyErr_Occurred()) SWIG_fail
;
32761 Py_INCREF(Py_None
); resultobj
= Py_None
;
32768 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32769 PyObject
*resultobj
;
32770 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32771 wxWindow
*arg2
= (wxWindow
*) 0 ;
32772 PyObject
* obj0
= 0 ;
32773 PyObject
* obj1
= 0 ;
32774 char *kwnames
[] = {
32775 (char *) "self",(char *) "child", NULL
32778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32780 if (SWIG_arg_fail(1)) SWIG_fail
;
32781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32782 if (SWIG_arg_fail(2)) SWIG_fail
;
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 (arg1
)->base_RemoveChild(arg2
);
32787 wxPyEndAllowThreads(__tstate
);
32788 if (PyErr_Occurred()) SWIG_fail
;
32790 Py_INCREF(Py_None
); resultobj
= Py_None
;
32797 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
;
32799 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32801 PyObject
* obj0
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32808 if (SWIG_arg_fail(1)) SWIG_fail
;
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32825 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
;
32827 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32828 wxVisualAttributes result
;
32829 PyObject
* obj0
= 0 ;
32830 char *kwnames
[] = {
32831 (char *) "self", NULL
32834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32836 if (SWIG_arg_fail(1)) SWIG_fail
;
32838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32839 result
= (arg1
)->base_GetDefaultAttributes();
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32845 wxVisualAttributes
* resultptr
;
32846 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32855 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32858 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32860 return Py_BuildValue((char *)"");
32862 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32863 PyObject
*resultobj
;
32864 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32865 int arg2
= (int) 0 ;
32866 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32867 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32868 wxHelpEvent
*result
;
32870 PyObject
* obj0
= 0 ;
32871 PyObject
* obj1
= 0 ;
32872 PyObject
* obj2
= 0 ;
32873 char *kwnames
[] = {
32874 (char *) "type",(char *) "winid",(char *) "pt", NULL
32877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32880 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32881 if (SWIG_arg_fail(1)) SWIG_fail
;
32886 arg2
= (int)(SWIG_As_int(obj1
));
32887 if (SWIG_arg_fail(2)) SWIG_fail
;
32893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32900 wxPyEndAllowThreads(__tstate
);
32901 if (PyErr_Occurred()) SWIG_fail
;
32903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32910 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32911 PyObject
*resultobj
;
32912 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32914 PyObject
* obj0
= 0 ;
32915 char *kwnames
[] = {
32916 (char *) "self", NULL
32919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32921 if (SWIG_arg_fail(1)) SWIG_fail
;
32923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32924 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32930 wxPoint
* resultptr
;
32931 resultptr
= new wxPoint((wxPoint
const &)(result
));
32932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
32940 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32941 PyObject
*resultobj
;
32942 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32943 wxPoint
*arg2
= 0 ;
32945 PyObject
* obj0
= 0 ;
32946 PyObject
* obj1
= 0 ;
32947 char *kwnames
[] = {
32948 (char *) "self",(char *) "pos", NULL
32951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
32952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32953 if (SWIG_arg_fail(1)) SWIG_fail
;
32956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32960 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
32962 wxPyEndAllowThreads(__tstate
);
32963 if (PyErr_Occurred()) SWIG_fail
;
32965 Py_INCREF(Py_None
); resultobj
= Py_None
;
32972 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32973 PyObject
*resultobj
;
32974 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32976 PyObject
* obj0
= 0 ;
32977 char *kwnames
[] = {
32978 (char *) "self", NULL
32981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
32982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32983 if (SWIG_arg_fail(1)) SWIG_fail
;
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32987 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
32988 result
= (wxString
*) &_result_ref
;
32991 wxPyEndAllowThreads(__tstate
);
32992 if (PyErr_Occurred()) SWIG_fail
;
32996 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32998 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33007 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33008 PyObject
*resultobj
;
33009 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33010 wxString
*arg2
= 0 ;
33011 bool temp2
= false ;
33012 PyObject
* obj0
= 0 ;
33013 PyObject
* obj1
= 0 ;
33014 char *kwnames
[] = {
33015 (char *) "self",(char *) "link", NULL
33018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33020 if (SWIG_arg_fail(1)) SWIG_fail
;
33022 arg2
= wxString_in_helper(obj1
);
33023 if (arg2
== NULL
) SWIG_fail
;
33027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33028 (arg1
)->SetLink((wxString
const &)*arg2
);
33030 wxPyEndAllowThreads(__tstate
);
33031 if (PyErr_Occurred()) SWIG_fail
;
33033 Py_INCREF(Py_None
); resultobj
= Py_None
;
33048 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33049 PyObject
*resultobj
;
33050 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33052 PyObject
* obj0
= 0 ;
33053 char *kwnames
[] = {
33054 (char *) "self", NULL
33057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33059 if (SWIG_arg_fail(1)) SWIG_fail
;
33061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33063 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33064 result
= (wxString
*) &_result_ref
;
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33072 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33074 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33083 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33084 PyObject
*resultobj
;
33085 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33086 wxString
*arg2
= 0 ;
33087 bool temp2
= false ;
33088 PyObject
* obj0
= 0 ;
33089 PyObject
* obj1
= 0 ;
33090 char *kwnames
[] = {
33091 (char *) "self",(char *) "target", NULL
33094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33096 if (SWIG_arg_fail(1)) SWIG_fail
;
33098 arg2
= wxString_in_helper(obj1
);
33099 if (arg2
== NULL
) SWIG_fail
;
33103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33104 (arg1
)->SetTarget((wxString
const &)*arg2
);
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33109 Py_INCREF(Py_None
); resultobj
= Py_None
;
33124 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33127 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33129 return Py_BuildValue((char *)"");
33131 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33132 PyObject
*resultobj
;
33133 wxWindow
*arg1
= (wxWindow
*) NULL
;
33134 bool arg2
= (bool) true ;
33135 wxContextHelp
*result
;
33136 PyObject
* obj0
= 0 ;
33137 PyObject
* obj1
= 0 ;
33138 char *kwnames
[] = {
33139 (char *) "window",(char *) "doNow", NULL
33142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33145 if (SWIG_arg_fail(1)) SWIG_fail
;
33149 arg2
= (bool)(SWIG_As_bool(obj1
));
33150 if (SWIG_arg_fail(2)) SWIG_fail
;
33154 if (!wxPyCheckForApp()) SWIG_fail
;
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33156 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33158 wxPyEndAllowThreads(__tstate
);
33159 if (PyErr_Occurred()) SWIG_fail
;
33161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33168 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33169 PyObject
*resultobj
;
33170 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33171 PyObject
* obj0
= 0 ;
33172 char *kwnames
[] = {
33173 (char *) "self", NULL
33176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33178 if (SWIG_arg_fail(1)) SWIG_fail
;
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33183 wxPyEndAllowThreads(__tstate
);
33184 if (PyErr_Occurred()) SWIG_fail
;
33186 Py_INCREF(Py_None
); resultobj
= Py_None
;
33193 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33194 PyObject
*resultobj
;
33195 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33196 wxWindow
*arg2
= (wxWindow
*) NULL
;
33198 PyObject
* obj0
= 0 ;
33199 PyObject
* obj1
= 0 ;
33200 char *kwnames
[] = {
33201 (char *) "self",(char *) "window", NULL
33204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33206 if (SWIG_arg_fail(1)) SWIG_fail
;
33208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33209 if (SWIG_arg_fail(2)) SWIG_fail
;
33212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33213 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33215 wxPyEndAllowThreads(__tstate
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33227 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
;
33229 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33231 PyObject
* obj0
= 0 ;
33232 char *kwnames
[] = {
33233 (char *) "self", NULL
33236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33238 if (SWIG_arg_fail(1)) SWIG_fail
;
33240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33241 result
= (bool)(arg1
)->EndContextHelp();
33243 wxPyEndAllowThreads(__tstate
);
33244 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33255 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33258 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33260 return Py_BuildValue((char *)"");
33262 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33263 PyObject
*resultobj
;
33264 wxWindow
*arg1
= (wxWindow
*) 0 ;
33265 int arg2
= (int) wxID_CONTEXT_HELP
;
33266 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33267 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33268 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33269 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33270 long arg5
= (long) wxBU_AUTODRAW
;
33271 wxContextHelpButton
*result
;
33274 PyObject
* obj0
= 0 ;
33275 PyObject
* obj1
= 0 ;
33276 PyObject
* obj2
= 0 ;
33277 PyObject
* obj3
= 0 ;
33278 PyObject
* obj4
= 0 ;
33279 char *kwnames
[] = {
33280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33285 if (SWIG_arg_fail(1)) SWIG_fail
;
33288 arg2
= (int)(SWIG_As_int(obj1
));
33289 if (SWIG_arg_fail(2)) SWIG_fail
;
33295 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33301 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33306 arg5
= (long)(SWIG_As_long(obj4
));
33307 if (SWIG_arg_fail(5)) SWIG_fail
;
33311 if (!wxPyCheckForApp()) SWIG_fail
;
33312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33313 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33315 wxPyEndAllowThreads(__tstate
);
33316 if (PyErr_Occurred()) SWIG_fail
;
33318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33325 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33328 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33330 return Py_BuildValue((char *)"");
33332 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33333 PyObject
*resultobj
;
33334 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33335 wxHelpProvider
*result
;
33336 PyObject
* obj0
= 0 ;
33337 char *kwnames
[] = {
33338 (char *) "helpProvider", NULL
33341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33343 if (SWIG_arg_fail(1)) SWIG_fail
;
33345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33346 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33348 wxPyEndAllowThreads(__tstate
);
33349 if (PyErr_Occurred()) SWIG_fail
;
33351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33358 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33359 PyObject
*resultobj
;
33360 wxHelpProvider
*result
;
33361 char *kwnames
[] = {
33365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33368 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33380 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33381 PyObject
*resultobj
;
33382 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33383 wxWindow
*arg2
= (wxWindow
*) 0 ;
33385 PyObject
* obj0
= 0 ;
33386 PyObject
* obj1
= 0 ;
33387 char *kwnames
[] = {
33388 (char *) "self",(char *) "window", NULL
33391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33393 if (SWIG_arg_fail(1)) SWIG_fail
;
33394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33395 if (SWIG_arg_fail(2)) SWIG_fail
;
33397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33398 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33400 wxPyEndAllowThreads(__tstate
);
33401 if (PyErr_Occurred()) SWIG_fail
;
33405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33416 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33417 PyObject
*resultobj
;
33418 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33419 wxWindow
*arg2
= (wxWindow
*) 0 ;
33421 PyObject
* obj0
= 0 ;
33422 PyObject
* obj1
= 0 ;
33423 char *kwnames
[] = {
33424 (char *) "self",(char *) "window", NULL
33427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33429 if (SWIG_arg_fail(1)) SWIG_fail
;
33430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33431 if (SWIG_arg_fail(2)) SWIG_fail
;
33433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33434 result
= (bool)(arg1
)->ShowHelp(arg2
);
33436 wxPyEndAllowThreads(__tstate
);
33437 if (PyErr_Occurred()) SWIG_fail
;
33440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33448 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33449 PyObject
*resultobj
;
33450 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33451 wxWindow
*arg2
= (wxWindow
*) 0 ;
33452 wxString
*arg3
= 0 ;
33453 bool temp3
= false ;
33454 PyObject
* obj0
= 0 ;
33455 PyObject
* obj1
= 0 ;
33456 PyObject
* obj2
= 0 ;
33457 char *kwnames
[] = {
33458 (char *) "self",(char *) "window",(char *) "text", NULL
33461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33463 if (SWIG_arg_fail(1)) SWIG_fail
;
33464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33465 if (SWIG_arg_fail(2)) SWIG_fail
;
33467 arg3
= wxString_in_helper(obj2
);
33468 if (arg3
== NULL
) SWIG_fail
;
33472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33473 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33475 wxPyEndAllowThreads(__tstate
);
33476 if (PyErr_Occurred()) SWIG_fail
;
33478 Py_INCREF(Py_None
); resultobj
= Py_None
;
33493 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33494 PyObject
*resultobj
;
33495 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33497 wxString
*arg3
= 0 ;
33498 bool temp3
= false ;
33499 PyObject
* obj0
= 0 ;
33500 PyObject
* obj1
= 0 ;
33501 PyObject
* obj2
= 0 ;
33502 char *kwnames
[] = {
33503 (char *) "self",(char *) "id",(char *) "text", NULL
33506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33508 if (SWIG_arg_fail(1)) SWIG_fail
;
33510 arg2
= (int)(SWIG_As_int(obj1
));
33511 if (SWIG_arg_fail(2)) SWIG_fail
;
33514 arg3
= wxString_in_helper(obj2
);
33515 if (arg3
== NULL
) SWIG_fail
;
33519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33520 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33522 wxPyEndAllowThreads(__tstate
);
33523 if (PyErr_Occurred()) SWIG_fail
;
33525 Py_INCREF(Py_None
); resultobj
= Py_None
;
33540 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33541 PyObject
*resultobj
;
33542 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33543 wxWindow
*arg2
= (wxWindow
*) 0 ;
33544 PyObject
* obj0
= 0 ;
33545 PyObject
* obj1
= 0 ;
33546 char *kwnames
[] = {
33547 (char *) "self",(char *) "window", NULL
33550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33552 if (SWIG_arg_fail(1)) SWIG_fail
;
33553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33554 if (SWIG_arg_fail(2)) SWIG_fail
;
33556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33557 (arg1
)->RemoveHelp(arg2
);
33559 wxPyEndAllowThreads(__tstate
);
33560 if (PyErr_Occurred()) SWIG_fail
;
33562 Py_INCREF(Py_None
); resultobj
= Py_None
;
33569 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33570 PyObject
*resultobj
;
33571 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33572 PyObject
* obj0
= 0 ;
33573 char *kwnames
[] = {
33574 (char *) "self", NULL
33577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33579 if (SWIG_arg_fail(1)) SWIG_fail
;
33581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33582 wxHelpProvider_Destroy(arg1
);
33584 wxPyEndAllowThreads(__tstate
);
33585 if (PyErr_Occurred()) SWIG_fail
;
33587 Py_INCREF(Py_None
); resultobj
= Py_None
;
33594 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33597 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33599 return Py_BuildValue((char *)"");
33601 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33602 PyObject
*resultobj
;
33603 wxSimpleHelpProvider
*result
;
33604 char *kwnames
[] = {
33608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33611 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33613 wxPyEndAllowThreads(__tstate
);
33614 if (PyErr_Occurred()) SWIG_fail
;
33616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33623 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33626 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33628 return Py_BuildValue((char *)"");
33630 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33631 PyObject
*resultobj
;
33632 wxBitmap
*arg1
= 0 ;
33633 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33634 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33635 wxGenericDragImage
*result
;
33636 PyObject
* obj0
= 0 ;
33637 PyObject
* obj1
= 0 ;
33638 char *kwnames
[] = {
33639 (char *) "image",(char *) "cursor", NULL
33642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33645 if (SWIG_arg_fail(1)) SWIG_fail
;
33646 if (arg1
== NULL
) {
33647 SWIG_null_ref("wxBitmap");
33649 if (SWIG_arg_fail(1)) SWIG_fail
;
33653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33654 if (SWIG_arg_fail(2)) SWIG_fail
;
33655 if (arg2
== NULL
) {
33656 SWIG_null_ref("wxCursor");
33658 if (SWIG_arg_fail(2)) SWIG_fail
;
33662 if (!wxPyCheckForApp()) SWIG_fail
;
33663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33664 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33666 wxPyEndAllowThreads(__tstate
);
33667 if (PyErr_Occurred()) SWIG_fail
;
33669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33676 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33677 PyObject
*resultobj
;
33679 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33680 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33681 wxGenericDragImage
*result
;
33682 PyObject
* obj0
= 0 ;
33683 PyObject
* obj1
= 0 ;
33684 char *kwnames
[] = {
33685 (char *) "image",(char *) "cursor", NULL
33688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33691 if (SWIG_arg_fail(1)) SWIG_fail
;
33692 if (arg1
== NULL
) {
33693 SWIG_null_ref("wxIcon");
33695 if (SWIG_arg_fail(1)) SWIG_fail
;
33699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33700 if (SWIG_arg_fail(2)) SWIG_fail
;
33701 if (arg2
== NULL
) {
33702 SWIG_null_ref("wxCursor");
33704 if (SWIG_arg_fail(2)) SWIG_fail
;
33708 if (!wxPyCheckForApp()) SWIG_fail
;
33709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33710 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33712 wxPyEndAllowThreads(__tstate
);
33713 if (PyErr_Occurred()) SWIG_fail
;
33715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33722 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33723 PyObject
*resultobj
;
33724 wxString
*arg1
= 0 ;
33725 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33726 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33727 wxGenericDragImage
*result
;
33728 bool temp1
= false ;
33729 PyObject
* obj0
= 0 ;
33730 PyObject
* obj1
= 0 ;
33731 char *kwnames
[] = {
33732 (char *) "str",(char *) "cursor", NULL
33735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33737 arg1
= wxString_in_helper(obj0
);
33738 if (arg1
== NULL
) SWIG_fail
;
33743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33744 if (SWIG_arg_fail(2)) SWIG_fail
;
33745 if (arg2
== NULL
) {
33746 SWIG_null_ref("wxCursor");
33748 if (SWIG_arg_fail(2)) SWIG_fail
;
33752 if (!wxPyCheckForApp()) SWIG_fail
;
33753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33754 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33756 wxPyEndAllowThreads(__tstate
);
33757 if (PyErr_Occurred()) SWIG_fail
;
33759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33774 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33775 PyObject
*resultobj
;
33776 wxPyTreeCtrl
*arg1
= 0 ;
33777 wxTreeItemId
*arg2
= 0 ;
33778 wxGenericDragImage
*result
;
33779 PyObject
* obj0
= 0 ;
33780 PyObject
* obj1
= 0 ;
33781 char *kwnames
[] = {
33782 (char *) "treeCtrl",(char *) "id", NULL
33785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33788 if (SWIG_arg_fail(1)) SWIG_fail
;
33789 if (arg1
== NULL
) {
33790 SWIG_null_ref("wxPyTreeCtrl");
33792 if (SWIG_arg_fail(1)) SWIG_fail
;
33795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33796 if (SWIG_arg_fail(2)) SWIG_fail
;
33797 if (arg2
== NULL
) {
33798 SWIG_null_ref("wxTreeItemId");
33800 if (SWIG_arg_fail(2)) SWIG_fail
;
33803 if (!wxPyCheckForApp()) SWIG_fail
;
33804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33805 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33807 wxPyEndAllowThreads(__tstate
);
33808 if (PyErr_Occurred()) SWIG_fail
;
33810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33817 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33818 PyObject
*resultobj
;
33819 wxPyListCtrl
*arg1
= 0 ;
33821 wxGenericDragImage
*result
;
33822 PyObject
* obj0
= 0 ;
33823 PyObject
* obj1
= 0 ;
33824 char *kwnames
[] = {
33825 (char *) "listCtrl",(char *) "id", NULL
33828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33831 if (SWIG_arg_fail(1)) SWIG_fail
;
33832 if (arg1
== NULL
) {
33833 SWIG_null_ref("wxPyListCtrl");
33835 if (SWIG_arg_fail(1)) SWIG_fail
;
33838 arg2
= (long)(SWIG_As_long(obj1
));
33839 if (SWIG_arg_fail(2)) SWIG_fail
;
33842 if (!wxPyCheckForApp()) SWIG_fail
;
33843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33844 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33856 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33857 PyObject
*resultobj
;
33858 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33859 PyObject
* obj0
= 0 ;
33860 char *kwnames
[] = {
33861 (char *) "self", NULL
33864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33866 if (SWIG_arg_fail(1)) SWIG_fail
;
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33871 wxPyEndAllowThreads(__tstate
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33874 Py_INCREF(Py_None
); resultobj
= Py_None
;
33881 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33882 PyObject
*resultobj
;
33883 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33884 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33885 PyObject
* obj0
= 0 ;
33886 PyObject
* obj1
= 0 ;
33887 char *kwnames
[] = {
33888 (char *) "self",(char *) "bitmap", NULL
33891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33893 if (SWIG_arg_fail(1)) SWIG_fail
;
33894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33895 if (SWIG_arg_fail(2)) SWIG_fail
;
33897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33898 (arg1
)->SetBackingBitmap(arg2
);
33900 wxPyEndAllowThreads(__tstate
);
33901 if (PyErr_Occurred()) SWIG_fail
;
33903 Py_INCREF(Py_None
); resultobj
= Py_None
;
33910 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33911 PyObject
*resultobj
;
33912 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33913 wxPoint
*arg2
= 0 ;
33914 wxWindow
*arg3
= (wxWindow
*) 0 ;
33915 bool arg4
= (bool) false ;
33916 wxRect
*arg5
= (wxRect
*) NULL
;
33919 PyObject
* obj0
= 0 ;
33920 PyObject
* obj1
= 0 ;
33921 PyObject
* obj2
= 0 ;
33922 PyObject
* obj3
= 0 ;
33923 PyObject
* obj4
= 0 ;
33924 char *kwnames
[] = {
33925 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33930 if (SWIG_arg_fail(1)) SWIG_fail
;
33933 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33935 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33936 if (SWIG_arg_fail(3)) SWIG_fail
;
33939 arg4
= (bool)(SWIG_As_bool(obj3
));
33940 if (SWIG_arg_fail(4)) SWIG_fail
;
33944 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
33945 if (SWIG_arg_fail(5)) SWIG_fail
;
33948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33949 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
33951 wxPyEndAllowThreads(__tstate
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33963 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33964 PyObject
*resultobj
;
33965 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33966 wxPoint
*arg2
= 0 ;
33967 wxWindow
*arg3
= (wxWindow
*) 0 ;
33968 wxWindow
*arg4
= (wxWindow
*) 0 ;
33971 PyObject
* obj0
= 0 ;
33972 PyObject
* obj1
= 0 ;
33973 PyObject
* obj2
= 0 ;
33974 PyObject
* obj3
= 0 ;
33975 char *kwnames
[] = {
33976 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
33979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33981 if (SWIG_arg_fail(1)) SWIG_fail
;
33984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33986 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33987 if (SWIG_arg_fail(3)) SWIG_fail
;
33988 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33989 if (SWIG_arg_fail(4)) SWIG_fail
;
33991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33992 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34006 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34007 PyObject
*resultobj
;
34008 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34010 PyObject
* obj0
= 0 ;
34011 char *kwnames
[] = {
34012 (char *) "self", NULL
34015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34017 if (SWIG_arg_fail(1)) SWIG_fail
;
34019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34020 result
= (bool)(arg1
)->EndDrag();
34022 wxPyEndAllowThreads(__tstate
);
34023 if (PyErr_Occurred()) SWIG_fail
;
34026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34034 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34035 PyObject
*resultobj
;
34036 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34037 wxPoint
*arg2
= 0 ;
34040 PyObject
* obj0
= 0 ;
34041 PyObject
* obj1
= 0 ;
34042 char *kwnames
[] = {
34043 (char *) "self",(char *) "pt", NULL
34046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34048 if (SWIG_arg_fail(1)) SWIG_fail
;
34051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34055 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34057 wxPyEndAllowThreads(__tstate
);
34058 if (PyErr_Occurred()) SWIG_fail
;
34061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34069 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34070 PyObject
*resultobj
;
34071 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34073 PyObject
* obj0
= 0 ;
34074 char *kwnames
[] = {
34075 (char *) "self", NULL
34078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34080 if (SWIG_arg_fail(1)) SWIG_fail
;
34082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34083 result
= (bool)(arg1
)->Show();
34085 wxPyEndAllowThreads(__tstate
);
34086 if (PyErr_Occurred()) SWIG_fail
;
34089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34097 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34098 PyObject
*resultobj
;
34099 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34101 PyObject
* obj0
= 0 ;
34102 char *kwnames
[] = {
34103 (char *) "self", NULL
34106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34108 if (SWIG_arg_fail(1)) SWIG_fail
;
34110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34111 result
= (bool)(arg1
)->Hide();
34113 wxPyEndAllowThreads(__tstate
);
34114 if (PyErr_Occurred()) SWIG_fail
;
34117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34125 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
;
34127 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34128 wxPoint
*arg2
= 0 ;
34131 PyObject
* obj0
= 0 ;
34132 PyObject
* obj1
= 0 ;
34133 char *kwnames
[] = {
34134 (char *) "self",(char *) "pos", NULL
34137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34139 if (SWIG_arg_fail(1)) SWIG_fail
;
34142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34146 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34152 wxRect
* resultptr
;
34153 resultptr
= new wxRect((wxRect
&)(result
));
34154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34162 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34163 PyObject
*resultobj
;
34164 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34166 wxPoint
*arg3
= 0 ;
34169 PyObject
* obj0
= 0 ;
34170 PyObject
* obj1
= 0 ;
34171 PyObject
* obj2
= 0 ;
34172 char *kwnames
[] = {
34173 (char *) "self",(char *) "dc",(char *) "pos", NULL
34176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34178 if (SWIG_arg_fail(1)) SWIG_fail
;
34180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34181 if (SWIG_arg_fail(2)) SWIG_fail
;
34182 if (arg2
== NULL
) {
34183 SWIG_null_ref("wxDC");
34185 if (SWIG_arg_fail(2)) SWIG_fail
;
34189 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34193 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34195 wxPyEndAllowThreads(__tstate
);
34196 if (PyErr_Occurred()) SWIG_fail
;
34199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34207 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34208 PyObject
*resultobj
;
34209 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34211 wxMemoryDC
*arg3
= 0 ;
34217 PyObject
* obj0
= 0 ;
34218 PyObject
* obj1
= 0 ;
34219 PyObject
* obj2
= 0 ;
34220 PyObject
* obj3
= 0 ;
34221 PyObject
* obj4
= 0 ;
34222 char *kwnames
[] = {
34223 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34228 if (SWIG_arg_fail(1)) SWIG_fail
;
34230 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34231 if (SWIG_arg_fail(2)) SWIG_fail
;
34232 if (arg2
== NULL
) {
34233 SWIG_null_ref("wxDC");
34235 if (SWIG_arg_fail(2)) SWIG_fail
;
34238 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34239 if (SWIG_arg_fail(3)) SWIG_fail
;
34240 if (arg3
== NULL
) {
34241 SWIG_null_ref("wxMemoryDC");
34243 if (SWIG_arg_fail(3)) SWIG_fail
;
34247 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34251 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34255 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34257 wxPyEndAllowThreads(__tstate
);
34258 if (PyErr_Occurred()) SWIG_fail
;
34261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34269 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34270 PyObject
*resultobj
;
34271 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34272 wxPoint
*arg2
= 0 ;
34273 wxPoint
*arg3
= 0 ;
34279 PyObject
* obj0
= 0 ;
34280 PyObject
* obj1
= 0 ;
34281 PyObject
* obj2
= 0 ;
34282 PyObject
* obj3
= 0 ;
34283 PyObject
* obj4
= 0 ;
34284 char *kwnames
[] = {
34285 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34290 if (SWIG_arg_fail(1)) SWIG_fail
;
34293 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34300 arg4
= (bool)(SWIG_As_bool(obj3
));
34301 if (SWIG_arg_fail(4)) SWIG_fail
;
34304 arg5
= (bool)(SWIG_As_bool(obj4
));
34305 if (SWIG_arg_fail(5)) SWIG_fail
;
34308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34309 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34311 wxPyEndAllowThreads(__tstate
);
34312 if (PyErr_Occurred()) SWIG_fail
;
34315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34323 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34326 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34328 return Py_BuildValue((char *)"");
34330 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34331 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34336 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34341 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34343 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34350 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
;
34352 wxWindow
*arg1
= (wxWindow
*) 0 ;
34353 int arg2
= (int) -1 ;
34354 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34355 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34356 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34357 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34358 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34359 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34360 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34361 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34362 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34363 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34364 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34365 wxDatePickerCtrl
*result
;
34368 bool temp8
= false ;
34369 PyObject
* obj0
= 0 ;
34370 PyObject
* obj1
= 0 ;
34371 PyObject
* obj2
= 0 ;
34372 PyObject
* obj3
= 0 ;
34373 PyObject
* obj4
= 0 ;
34374 PyObject
* obj5
= 0 ;
34375 PyObject
* obj6
= 0 ;
34376 PyObject
* obj7
= 0 ;
34377 char *kwnames
[] = {
34378 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34383 if (SWIG_arg_fail(1)) SWIG_fail
;
34386 arg2
= (int)(SWIG_As_int(obj1
));
34387 if (SWIG_arg_fail(2)) SWIG_fail
;
34392 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34393 if (SWIG_arg_fail(3)) SWIG_fail
;
34394 if (arg3
== NULL
) {
34395 SWIG_null_ref("wxDateTime");
34397 if (SWIG_arg_fail(3)) SWIG_fail
;
34403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34414 arg6
= (long)(SWIG_As_long(obj5
));
34415 if (SWIG_arg_fail(6)) SWIG_fail
;
34420 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34421 if (SWIG_arg_fail(7)) SWIG_fail
;
34422 if (arg7
== NULL
) {
34423 SWIG_null_ref("wxValidator");
34425 if (SWIG_arg_fail(7)) SWIG_fail
;
34430 arg8
= wxString_in_helper(obj7
);
34431 if (arg8
== NULL
) SWIG_fail
;
34436 if (!wxPyCheckForApp()) SWIG_fail
;
34437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34438 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34440 wxPyEndAllowThreads(__tstate
);
34441 if (PyErr_Occurred()) SWIG_fail
;
34443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34458 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34459 PyObject
*resultobj
;
34460 wxDatePickerCtrl
*result
;
34461 char *kwnames
[] = {
34465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34467 if (!wxPyCheckForApp()) SWIG_fail
;
34468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34469 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34471 wxPyEndAllowThreads(__tstate
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34481 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
;
34483 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34484 wxWindow
*arg2
= (wxWindow
*) 0 ;
34485 int arg3
= (int) -1 ;
34486 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34487 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34488 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34489 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34490 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34491 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34492 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34493 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34494 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34495 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34496 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34500 bool temp9
= false ;
34501 PyObject
* obj0
= 0 ;
34502 PyObject
* obj1
= 0 ;
34503 PyObject
* obj2
= 0 ;
34504 PyObject
* obj3
= 0 ;
34505 PyObject
* obj4
= 0 ;
34506 PyObject
* obj5
= 0 ;
34507 PyObject
* obj6
= 0 ;
34508 PyObject
* obj7
= 0 ;
34509 PyObject
* obj8
= 0 ;
34510 char *kwnames
[] = {
34511 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34516 if (SWIG_arg_fail(1)) SWIG_fail
;
34517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34518 if (SWIG_arg_fail(2)) SWIG_fail
;
34521 arg3
= (int)(SWIG_As_int(obj2
));
34522 if (SWIG_arg_fail(3)) SWIG_fail
;
34527 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34528 if (SWIG_arg_fail(4)) SWIG_fail
;
34529 if (arg4
== NULL
) {
34530 SWIG_null_ref("wxDateTime");
34532 if (SWIG_arg_fail(4)) SWIG_fail
;
34538 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34544 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34549 arg7
= (long)(SWIG_As_long(obj6
));
34550 if (SWIG_arg_fail(7)) SWIG_fail
;
34555 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34556 if (SWIG_arg_fail(8)) SWIG_fail
;
34557 if (arg8
== NULL
) {
34558 SWIG_null_ref("wxValidator");
34560 if (SWIG_arg_fail(8)) SWIG_fail
;
34565 arg9
= wxString_in_helper(obj8
);
34566 if (arg9
== NULL
) SWIG_fail
;
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34594 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34595 PyObject
*resultobj
;
34596 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34597 wxDateTime
*arg2
= 0 ;
34598 PyObject
* obj0
= 0 ;
34599 PyObject
* obj1
= 0 ;
34600 char *kwnames
[] = {
34601 (char *) "self",(char *) "dt", NULL
34604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34606 if (SWIG_arg_fail(1)) SWIG_fail
;
34608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34609 if (SWIG_arg_fail(2)) SWIG_fail
;
34610 if (arg2
== NULL
) {
34611 SWIG_null_ref("wxDateTime");
34613 if (SWIG_arg_fail(2)) SWIG_fail
;
34616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34617 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34619 wxPyEndAllowThreads(__tstate
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34622 Py_INCREF(Py_None
); resultobj
= Py_None
;
34629 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34630 PyObject
*resultobj
;
34631 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34633 PyObject
* obj0
= 0 ;
34634 char *kwnames
[] = {
34635 (char *) "self", NULL
34638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34640 if (SWIG_arg_fail(1)) SWIG_fail
;
34642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34643 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34645 wxPyEndAllowThreads(__tstate
);
34646 if (PyErr_Occurred()) SWIG_fail
;
34649 wxDateTime
* resultptr
;
34650 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34659 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34660 PyObject
*resultobj
;
34661 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34662 wxDateTime
*arg2
= 0 ;
34663 wxDateTime
*arg3
= 0 ;
34664 PyObject
* obj0
= 0 ;
34665 PyObject
* obj1
= 0 ;
34666 PyObject
* obj2
= 0 ;
34667 char *kwnames
[] = {
34668 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34673 if (SWIG_arg_fail(1)) SWIG_fail
;
34675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34676 if (SWIG_arg_fail(2)) SWIG_fail
;
34677 if (arg2
== NULL
) {
34678 SWIG_null_ref("wxDateTime");
34680 if (SWIG_arg_fail(2)) SWIG_fail
;
34683 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34684 if (SWIG_arg_fail(3)) SWIG_fail
;
34685 if (arg3
== NULL
) {
34686 SWIG_null_ref("wxDateTime");
34688 if (SWIG_arg_fail(3)) SWIG_fail
;
34691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34692 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34694 wxPyEndAllowThreads(__tstate
);
34695 if (PyErr_Occurred()) SWIG_fail
;
34697 Py_INCREF(Py_None
); resultobj
= Py_None
;
34704 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
;
34706 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34708 PyObject
* obj0
= 0 ;
34709 char *kwnames
[] = {
34710 (char *) "self", NULL
34713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34715 if (SWIG_arg_fail(1)) SWIG_fail
;
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34724 wxDateTime
* resultptr
;
34725 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34734 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34735 PyObject
*resultobj
;
34736 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34738 PyObject
* obj0
= 0 ;
34739 char *kwnames
[] = {
34740 (char *) "self", NULL
34743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34745 if (SWIG_arg_fail(1)) SWIG_fail
;
34747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34748 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34750 wxPyEndAllowThreads(__tstate
);
34751 if (PyErr_Occurred()) SWIG_fail
;
34754 wxDateTime
* resultptr
;
34755 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34764 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34767 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34769 return Py_BuildValue((char *)"");
34771 static PyMethodDef SwigMethods
[] = {
34772 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34773 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34779 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34794 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34806 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34811 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34841 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34855 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34860 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34867 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34872 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34880 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34903 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34911 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34942 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
34998 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35003 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35015 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35028 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35040 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35044 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35062 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35069 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35095 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35103 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35125 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35131 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35142 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35144 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35150 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35152 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35159 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35161 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35166 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35171 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35201 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35246 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35252 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35264 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35316 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35343 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35414 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35426 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35434 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35441 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35458 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35534 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35556 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35561 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35586 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35594 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35599 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35601 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35610 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35612 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35630 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35639 { NULL
, NULL
, 0, NULL
}
35643 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35645 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35646 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35648 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35649 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35651 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35652 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35654 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35655 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35657 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35658 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35660 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35661 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35663 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35664 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35666 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35667 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35669 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35670 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35672 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35673 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35675 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35676 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35678 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35679 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35681 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35682 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35684 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35685 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35687 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35688 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35690 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35691 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35693 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35694 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35696 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35697 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35699 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35700 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35702 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35703 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35705 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35706 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35708 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35711 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35712 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35714 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35715 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35717 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35718 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35720 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35721 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35723 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35724 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35726 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35727 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35729 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35732 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35733 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35735 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35736 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35738 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35739 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35741 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35742 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35744 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35745 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35747 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35748 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35750 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35753 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35754 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35756 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35757 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35759 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35760 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35762 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35763 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35765 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35766 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35768 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35769 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35771 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35772 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35774 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35775 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35777 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35778 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35780 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35783 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35784 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35786 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35787 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35789 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35790 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35792 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35793 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35795 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35796 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35798 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35799 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35801 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35802 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35804 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35805 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35807 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35808 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35810 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35811 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35813 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35814 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35816 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35817 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35819 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35820 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35822 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35823 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35825 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35826 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35828 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35829 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35831 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35832 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35834 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35835 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35837 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35838 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35840 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35841 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35843 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35844 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35846 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35847 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35849 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35850 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35852 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35853 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35855 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35856 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35858 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35859 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35861 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35862 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35864 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35865 return (void *)((wxControl
*) ((wxGauge
*) x
));
35867 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35868 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35870 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35871 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35873 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35874 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35876 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35877 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35879 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35880 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35882 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35883 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35885 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35886 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35888 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35889 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35891 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35892 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35894 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35895 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35897 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35898 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35900 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35901 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35903 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35904 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35906 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35907 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35909 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35910 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35912 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35913 return (void *)((wxControl
*) ((wxSlider
*) x
));
35915 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35916 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35918 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35919 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35921 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35922 return (void *)((wxControl
*) ((wxButton
*) x
));
35924 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35925 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35927 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
35928 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
35930 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35931 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35933 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35934 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35936 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35937 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35939 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35940 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35942 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35943 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35945 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35946 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35948 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35949 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35951 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35952 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35954 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35955 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35957 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
35958 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35960 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
35961 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35963 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
35964 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
35966 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
35967 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
35969 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35970 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35972 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
35973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35975 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35976 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35978 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35979 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35981 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
35982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
35984 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35985 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35987 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
35988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35990 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
35991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35993 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35994 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35996 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35997 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35999 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36002 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36005 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36008 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36011 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36014 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36015 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36017 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36020 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36023 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36026 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36029 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36032 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36033 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36035 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36038 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36041 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36044 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36047 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36050 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36053 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36056 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36059 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36062 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36065 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36068 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36069 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36071 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36074 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36077 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36080 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36083 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36086 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36089 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36092 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36095 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36096 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36098 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36099 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36101 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36102 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36104 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36105 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36107 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36108 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36110 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36111 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36113 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36114 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36116 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36117 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36119 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36120 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36122 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36123 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36125 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36126 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36128 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36129 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36131 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36132 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36134 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36135 return (void *)((wxObject
*) ((wxSizer
*) x
));
36137 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36138 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36140 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36143 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36146 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36149 static void *_p_wxEventTo_p_wxObject(void *x
) {
36150 return (void *)((wxObject
*) ((wxEvent
*) x
));
36152 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36153 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36155 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36156 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36158 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36159 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36161 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36164 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36167 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36168 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36170 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36171 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36173 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36174 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36176 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36177 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36179 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36180 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36182 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36183 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36185 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36186 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36188 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36191 static void *_p_wxControlTo_p_wxObject(void *x
) {
36192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36194 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36197 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36200 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36203 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36206 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36209 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36210 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36212 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36215 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36216 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36218 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36219 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36221 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36224 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36227 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36230 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36231 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36233 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36234 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36236 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36239 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36242 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36243 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36245 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36248 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36251 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36252 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36254 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36257 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36258 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36260 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36263 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36264 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36266 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36267 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36269 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36270 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36272 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36273 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36275 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36276 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36278 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36279 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36281 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36284 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36285 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36287 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36290 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36291 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36293 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36294 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36296 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36297 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36299 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36300 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36302 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36303 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36305 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36306 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36308 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36309 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36311 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36312 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36314 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36315 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36317 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36318 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36320 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36321 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36323 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36324 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36326 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36327 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36329 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36332 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36335 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36338 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36341 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36344 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36347 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36350 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36351 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36353 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36354 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36356 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36359 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36362 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36365 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36366 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36368 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36369 return (void *)((wxObject
*) ((wxListItem
*) x
));
36371 static void *_p_wxImageTo_p_wxObject(void *x
) {
36372 return (void *)((wxObject
*) ((wxImage
*) x
));
36374 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36375 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36377 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36378 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36380 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36383 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36386 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36389 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36392 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36395 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36398 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36401 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36404 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36405 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36407 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36408 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36410 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36411 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36413 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36416 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36417 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36419 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36420 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36422 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36423 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36425 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36426 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36428 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36429 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36431 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36432 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36434 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36435 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36437 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36440 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36443 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36444 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36446 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36449 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36452 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36455 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36458 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36461 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36464 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36467 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36470 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36473 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36476 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36479 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36482 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36483 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36485 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36486 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36488 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36489 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36491 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36492 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36494 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36495 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36497 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36498 return (void *)((wxWindow
*) ((wxControl
*) x
));
36500 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36501 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36503 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36504 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36506 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36507 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36509 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36510 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36512 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36513 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36515 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36516 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36518 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36519 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36521 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36522 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36524 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36525 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36527 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36528 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36530 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36531 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36533 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36534 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36536 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36537 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36539 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36540 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36542 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36543 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36545 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36546 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36548 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36549 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36551 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36552 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36554 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36555 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36557 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36558 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36560 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36561 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36563 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36564 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36566 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36567 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36569 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36570 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36572 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36573 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36575 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36576 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36578 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36579 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36581 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36582 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36584 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36585 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36587 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36588 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36590 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36591 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36593 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36594 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36596 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36597 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36599 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36600 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36602 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36603 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36605 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36606 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36608 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36609 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36611 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36612 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36614 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36615 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36617 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36618 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36620 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36621 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36623 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36624 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36626 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36627 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36629 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36630 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36632 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36633 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36635 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36636 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36638 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36639 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36641 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36642 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36644 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36645 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36647 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36648 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36650 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36651 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36653 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36654 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36656 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36657 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36659 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36660 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36662 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36663 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36665 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36666 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36668 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36669 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36671 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}};
36672 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}};
36673 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}};
36674 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}};
36675 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}};
36676 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}};
36677 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}};
36678 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}};
36679 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}};
36680 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}};
36681 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}};
36682 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}};
36683 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}};
36684 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}};
36685 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}};
36686 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}};
36687 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}};
36688 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}};
36689 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}};
36690 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}};
36691 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}};
36692 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}};
36693 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}};
36694 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}};
36695 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}};
36696 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}};
36697 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}};
36698 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}};
36699 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}};
36700 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}};
36701 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}};
36702 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}};
36703 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}};
36704 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}};
36705 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}};
36706 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}};
36707 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}};
36708 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}};
36709 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}};
36710 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}};
36711 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}};
36712 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}};
36713 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}};
36714 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}};
36715 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}};
36716 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}};
36717 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}};
36718 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}};
36719 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}};
36720 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}};
36721 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}};
36722 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}};
36723 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}};
36724 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}};
36725 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}};
36726 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}};
36727 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}};
36728 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}};
36729 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}};
36730 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}};
36731 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}};
36732 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}};
36733 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}};
36734 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}};
36735 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}};
36736 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}};
36737 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}};
36738 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}};
36739 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}};
36740 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}};
36741 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}};
36742 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}};
36743 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}};
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 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}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 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}};
36756 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}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36770 static swig_type_info
*swig_types_initial
[] = {
36771 _swigt__p_wxTextUrlEvent
,
36773 _swigt__p_wxCheckBox
,
36774 _swigt__p_wxPyTreeCtrl
,
36776 _swigt__p_wxGenericDirCtrl
,
36778 _swigt__p_wxItemContainer
,
36779 _swigt__p_wxPyListCtrl
,
36780 _swigt__p_wxPyTreeItemData
,
36781 _swigt__p_wxDirFilterListCtrl
,
36782 _swigt__p_wxStaticLine
,
36783 _swigt__p_wxControl
,
36784 _swigt__p_wxPyControl
,
36786 _swigt__p_wxToolBarBase
,
36788 _swigt__p_wxToggleButton
,
36789 _swigt__p_wxRadioButton
,
36790 _swigt__p_wxChoice
,
36791 _swigt__p_wxMemoryDC
,
36793 _swigt__std__ptrdiff_t
,
36794 _swigt__p_wxListItemAttr
,
36799 _swigt__p_wxListView
,
36801 _swigt__p_wxVisualAttributes
,
36802 _swigt__p_wxTextCtrl
,
36803 _swigt__p_wxNotebook
,
36804 _swigt__p_wxChoicebook
,
36805 _swigt__p_wxNotifyEvent
,
36806 _swigt__p_wxArrayString
,
36807 _swigt__p_form_ops_t
,
36808 _swigt__p_wxListbook
,
36809 _swigt__p_wxStaticBitmap
,
36810 _swigt__p_wxSlider
,
36811 _swigt__p_wxStaticBox
,
36812 _swigt__p_wxArrayInt
,
36813 _swigt__p_wxContextHelp
,
36815 _swigt__p_wxDuplexMode
,
36816 _swigt__p_wxBookCtrlBase
,
36817 _swigt__p_wxEvtHandler
,
36818 _swigt__p_wxListEvent
,
36819 _swigt__p_wxCheckListBox
,
36820 _swigt__p_wxListBox
,
36821 _swigt__p_wxSpinButton
,
36822 _swigt__p_wxButton
,
36823 _swigt__p_wxBitmapButton
,
36825 _swigt__p_wxContextHelpButton
,
36826 _swigt__p_wxRadioBox
,
36827 _swigt__p_wxScrollBar
,
36829 _swigt__p_wxComboBox
,
36830 _swigt__p_wxTreeItemId
,
36831 _swigt__p_wxHelpEvent
,
36832 _swigt__p_wxListItem
,
36833 _swigt__p_wxNotebookSizer
,
36834 _swigt__p_wxSpinEvent
,
36835 _swigt__p_wxGenericDragImage
,
36836 _swigt__p_wxSpinCtrl
,
36837 _swigt__p_wxPaperSize
,
36838 _swigt__p_wxImageList
,
36839 _swigt__p_wxHelpProvider
,
36840 _swigt__p_wxTextAttr
,
36841 _swigt__p_wxSimpleHelpProvider
,
36842 _swigt__p_wxChoicebookEvent
,
36843 _swigt__p_wxListbookEvent
,
36844 _swigt__p_wxNotebookEvent
,
36846 _swigt__p_wxObject
,
36847 _swigt__p_wxCursor
,
36848 _swigt__p_wxDateTime
,
36849 _swigt__p_wxKeyEvent
,
36850 _swigt__p_unsigned_long
,
36851 _swigt__p_wxWindow
,
36852 _swigt__p_wxString
,
36853 _swigt__p_wxBitmap
,
36854 _swigt__unsigned_int
,
36855 _swigt__p_unsigned_int
,
36856 _swigt__p_unsigned_char
,
36857 _swigt__p_wxMouseEvent
,
36858 _swigt__p_wxBookCtrlBaseEvent
,
36859 _swigt__p_wxTreeEvent
,
36860 _swigt__p_wxCommandEvent
,
36861 _swigt__p_wxStaticText
,
36862 _swigt__p_wxDatePickerCtrl
,
36863 _swigt__p_wxControlWithItems
,
36864 _swigt__p_wxToolBarToolBase
,
36865 _swigt__p_wxColour
,
36866 _swigt__p_wxToolBar
,
36867 _swigt__p_wxBookCtrlSizer
,
36868 _swigt__p_wxValidator
,
36873 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36875 static swig_const_info swig_const_table
[] = {
36876 {0, 0, 0, 0.0, 0, 0}};
36887 /* Python-specific SWIG API */
36888 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36889 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36890 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36892 /* -----------------------------------------------------------------------------
36893 * global variable support code.
36894 * ----------------------------------------------------------------------------- */
36896 typedef struct swig_globalvar
{
36897 char *name
; /* Name of global variable */
36898 PyObject
*(*get_attr
)(); /* Return the current value */
36899 int (*set_attr
)(PyObject
*); /* Set the value */
36900 struct swig_globalvar
*next
;
36903 typedef struct swig_varlinkobject
{
36905 swig_globalvar
*vars
;
36906 } swig_varlinkobject
;
36909 swig_varlink_repr(swig_varlinkobject
*v
) {
36911 return PyString_FromString("<Swig global variables>");
36915 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36916 swig_globalvar
*var
;
36918 fprintf(fp
,"Swig global variables { ");
36919 for (var
= v
->vars
; var
; var
=var
->next
) {
36920 fprintf(fp
,"%s", var
->name
);
36921 if (var
->next
) fprintf(fp
,", ");
36923 fprintf(fp
," }\n");
36928 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36929 swig_globalvar
*var
= v
->vars
;
36931 if (strcmp(var
->name
,n
) == 0) {
36932 return (*var
->get_attr
)();
36936 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36941 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36942 swig_globalvar
*var
= v
->vars
;
36944 if (strcmp(var
->name
,n
) == 0) {
36945 return (*var
->set_attr
)(p
);
36949 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36953 static PyTypeObject varlinktype
= {
36954 PyObject_HEAD_INIT(0)
36955 0, /* Number of items in variable part (ob_size) */
36956 (char *)"swigvarlink", /* Type name (tp_name) */
36957 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36958 0, /* Itemsize (tp_itemsize) */
36959 0, /* Deallocator (tp_dealloc) */
36960 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36961 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36962 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36963 0, /* tp_compare */
36964 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36965 0, /* tp_as_number */
36966 0, /* tp_as_sequence */
36967 0, /* tp_as_mapping */
36971 0, /* tp_getattro */
36972 0, /* tp_setattro */
36973 0, /* tp_as_buffer */
36976 #if PY_VERSION_HEX >= 0x02000000
36977 0, /* tp_traverse */
36980 #if PY_VERSION_HEX >= 0x02010000
36981 0, /* tp_richcompare */
36982 0, /* tp_weaklistoffset */
36984 #if PY_VERSION_HEX >= 0x02020000
36985 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36987 #if PY_VERSION_HEX >= 0x02030000
36990 #ifdef COUNT_ALLOCS
36991 0,0,0,0 /* tp_alloc -> tp_next */
36995 /* Create a variable linking object for use later */
36997 SWIG_Python_newvarlink(void) {
36998 swig_varlinkobject
*result
= 0;
36999 result
= PyMem_NEW(swig_varlinkobject
,1);
37000 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37001 result
->ob_type
= &varlinktype
;
37003 result
->ob_refcnt
= 0;
37004 Py_XINCREF((PyObject
*) result
);
37005 return ((PyObject
*) result
);
37009 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37010 swig_varlinkobject
*v
;
37011 swig_globalvar
*gv
;
37012 v
= (swig_varlinkobject
*) p
;
37013 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37014 gv
->name
= (char *) malloc(strlen(name
)+1);
37015 strcpy(gv
->name
,name
);
37016 gv
->get_attr
= get_attr
;
37017 gv
->set_attr
= set_attr
;
37018 gv
->next
= v
->vars
;
37022 /* -----------------------------------------------------------------------------
37023 * constants/methods manipulation
37024 * ----------------------------------------------------------------------------- */
37026 /* Install Constants */
37028 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37031 for (i
= 0; constants
[i
].type
; i
++) {
37032 switch(constants
[i
].type
) {
37034 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37036 case SWIG_PY_FLOAT
:
37037 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37039 case SWIG_PY_STRING
:
37040 if (constants
[i
].pvalue
) {
37041 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37043 Py_INCREF(Py_None
);
37047 case SWIG_PY_POINTER
:
37048 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37050 case SWIG_PY_BINARY
:
37051 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37058 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37064 /* -----------------------------------------------------------------------------*/
37065 /* Fix SwigMethods to carry the callback ptrs when needed */
37066 /* -----------------------------------------------------------------------------*/
37069 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37070 swig_const_info
*const_table
,
37071 swig_type_info
**types
,
37072 swig_type_info
**types_initial
) {
37074 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37075 char *c
= methods
[i
].ml_doc
;
37076 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37078 swig_const_info
*ci
= 0;
37079 char *name
= c
+ 10;
37080 for (j
= 0; const_table
[j
].type
; j
++) {
37081 if (strncmp(const_table
[j
].name
, name
,
37082 strlen(const_table
[j
].name
)) == 0) {
37083 ci
= &(const_table
[j
]);
37088 size_t shift
= (ci
->ptype
) - types
;
37089 swig_type_info
*ty
= types_initial
[shift
];
37090 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37091 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37092 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37094 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37095 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37097 strncpy(buff
, "swig_ptr: ", 10);
37099 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37100 methods
[i
].ml_doc
= ndoc
;
37106 /* -----------------------------------------------------------------------------*
37107 * Initialize type list
37108 * -----------------------------------------------------------------------------*/
37110 #if PY_MAJOR_VERSION < 2
37111 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37112 is copied out of Python/modsupport.c in python version 2.3.4 */
37114 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37117 if (!PyModule_Check(m
)) {
37118 PyErr_SetString(PyExc_TypeError
,
37119 "PyModule_AddObject() needs module as first arg");
37123 PyErr_SetString(PyExc_TypeError
,
37124 "PyModule_AddObject() needs non-NULL value");
37128 dict
= PyModule_GetDict(m
);
37129 if (dict
== NULL
) {
37130 /* Internal error -- modules must have a dict! */
37131 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37132 PyModule_GetName(m
));
37135 if (PyDict_SetItemString(dict
, name
, o
))
37142 static swig_type_info
**
37143 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37144 static PyMethodDef swig_empty_runtime_method_table
[] = {
37146 NULL
, NULL
, 0, NULL
37150 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37151 swig_empty_runtime_method_table
);
37152 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37153 if (pointer
&& module) {
37154 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37156 return type_list_handle
;
37159 static swig_type_info
**
37160 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37161 swig_type_info
**type_pointer
;
37163 /* first check if module already created */
37164 type_pointer
= SWIG_Python_GetTypeListHandle();
37165 if (type_pointer
) {
37166 return type_pointer
;
37168 /* create a new module and variable */
37169 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37177 /* -----------------------------------------------------------------------------*
37178 * Partial Init method
37179 * -----------------------------------------------------------------------------*/
37181 #ifdef SWIG_LINK_RUNTIME
37185 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37191 SWIGEXPORT(void) SWIG_init(void) {
37192 static PyObject
*SWIG_globals
= 0;
37193 static int typeinit
= 0;
37196 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37198 /* Fix SwigMethods to carry the callback ptrs when needed */
37199 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37201 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37202 d
= PyModule_GetDict(m
);
37205 #ifdef SWIG_LINK_RUNTIME
37206 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37208 # ifndef SWIG_STATIC_RUNTIME
37209 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37212 for (i
= 0; swig_types_initial
[i
]; i
++) {
37213 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37217 SWIG_InstallConstants(d
,swig_const_table
);
37219 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37220 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37222 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37225 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37228 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37231 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37234 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37237 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37240 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37242 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37244 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37247 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37250 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37253 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37256 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37259 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37261 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37262 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37263 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37265 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37268 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37271 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37274 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37276 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37277 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37278 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37279 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37280 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37282 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37285 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37288 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37291 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37294 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37297 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37300 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37303 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37306 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37309 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37312 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37315 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37318 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37321 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37324 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37327 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37330 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37333 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37336 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37339 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37342 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37345 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37348 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37351 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37354 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37357 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37360 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37363 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37366 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37369 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37372 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37375 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37378 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37381 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37384 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37387 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37390 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37393 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37396 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37399 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37402 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37405 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37408 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37411 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37414 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37417 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37419 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37420 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37421 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37422 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37423 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37424 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37425 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37427 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37430 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37433 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37436 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37438 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37439 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37440 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37441 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37443 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37446 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37449 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37452 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37455 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37458 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37461 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37464 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37467 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37470 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37473 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37476 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37478 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37479 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37480 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37482 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37485 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37488 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37491 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37494 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37497 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37500 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37503 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37506 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37509 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37512 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37514 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37515 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37517 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37520 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37523 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37526 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37529 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37532 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37534 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37535 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37537 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37540 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37543 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37546 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37549 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37552 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37554 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37555 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37557 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37560 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37563 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37566 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37569 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37572 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37575 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37578 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37581 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37584 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37587 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37590 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37593 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37596 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37598 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37600 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37603 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37606 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37609 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37612 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37615 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37618 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37621 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37624 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37627 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37630 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37633 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37636 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37639 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37642 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37645 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37648 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37651 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37654 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37657 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37660 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37663 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37666 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37669 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37672 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37675 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37678 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37681 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37684 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37687 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37690 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37693 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37696 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37699 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37702 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37705 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37708 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37711 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37714 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37717 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37720 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37723 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37726 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37729 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37732 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37735 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37738 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37741 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37744 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37747 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37750 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37753 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37756 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37759 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37762 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37765 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37768 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37771 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37774 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37777 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37780 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37783 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37786 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37789 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37792 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37795 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37798 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37801 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37803 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37804 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37805 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37806 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37807 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37808 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37809 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37810 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37811 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37812 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37813 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37814 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37815 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37816 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37817 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37818 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37819 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37820 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37821 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37822 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37823 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37824 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37826 // Map renamed classes back to their common name for OOR
37827 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37829 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37831 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37834 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37837 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37840 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37843 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37846 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37849 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37852 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37855 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37858 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37861 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37864 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37867 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37870 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37873 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37876 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37879 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37882 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37885 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37888 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37891 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37894 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37897 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37900 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37903 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37906 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37909 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37912 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37915 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37918 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37921 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37924 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37927 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37930 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37933 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37935 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37936 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37937 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37939 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37940 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37941 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37942 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37943 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37944 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37945 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37946 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37947 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37948 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37949 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37950 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37951 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37952 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37953 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37954 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37955 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37957 // Map renamed classes back to their common name for OOR
37958 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37959 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37961 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37963 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37966 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
37969 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
37972 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
37975 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
37978 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
37981 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
37983 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
37984 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
37986 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
37988 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
37990 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
37993 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
37996 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
37999 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38002 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));