1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1634 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1640 } else if (target
== Py_None
) {
1644 if (!PyTuple_Check(target
)) {
1646 target
= PyTuple_New(1);
1647 PyTuple_SetItem(target
, 0, o2
);
1649 o3
= PyTuple_New(1);
1650 PyTuple_SetItem(o3
, 0, o
);
1653 target
= PySequence_Concat(o2
, o3
);
1661 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1662 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1663 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1664 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1666 #include <wx/checklst.h>
1669 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1670 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1672 wxPyClientData
* data
= new wxPyClientData(clientData
);
1673 self
->Insert(item
, pos
, data
);
1675 self
->Insert(item
, pos
);
1677 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1679 self
->GetSelections(lst
);
1680 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1681 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1682 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1686 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1688 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1689 self
->GetItem(item
)->SetTextColour(c
);
1692 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1694 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1695 self
->GetItem(item
)->SetBackgroundColour(c
);
1698 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1700 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1701 self
->GetItem(item
)->SetFont(f
);
1704 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1750 static int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
1751 static int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
1752 static int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
1754 #include <wx/slider.h>
1757 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1758 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1760 #if !wxUSE_TOGGLEBTN
1761 // implement dummy items for platforms that don't have this class
1763 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1765 class wxToggleButton
: public wxControl
1768 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1769 const wxPoint
&, const wxSize
&, long,
1770 const wxValidator
&, const wxString
&)
1771 { wxPyRaiseNotImplemented(); }
1774 { wxPyRaiseNotImplemented(); }
1778 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1780 SWIGINTERNSHORT PyObject
*
1781 SWIG_From_unsigned_SS_long(unsigned long value
)
1783 return (value
> LONG_MAX
) ?
1784 PyLong_FromUnsignedLong(value
)
1785 : PyInt_FromLong((long)(value
));
1788 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1789 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1790 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1792 Py_INCREF(udata
->m_obj
);
1793 return udata
->m_obj
;
1799 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1800 self
->SetClientData(new wxPyUserData(clientData
));
1802 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1803 wxPyUserData
* udata
= NULL
;
1804 if (clientData
&& clientData
!= Py_None
)
1805 udata
= new wxPyUserData(clientData
);
1806 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1807 shortHelp
, longHelp
, udata
);
1809 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1810 wxPyUserData
* udata
= NULL
;
1811 if (clientData
&& clientData
!= Py_None
)
1812 udata
= new wxPyUserData(clientData
);
1813 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1814 shortHelp
, longHelp
, udata
);
1816 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1817 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1819 Py_INCREF(udata
->m_obj
);
1820 return udata
->m_obj
;
1826 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1827 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1830 #include <wx/listctrl.h>
1832 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1833 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1834 // Python aware sorting function for wxPyListCtrl
1835 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1837 PyObject
* func
= (PyObject
*)funcPtr
;
1838 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1840 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1841 PyObject
* result
= PyEval_CallObject(func
, args
);
1844 retval
= PyInt_AsLong(result
);
1848 wxPyEndBlockThreads(blocked
);
1852 // C++ Version of a Python aware class
1853 class wxPyListCtrl
: public wxListCtrl
{
1854 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1856 wxPyListCtrl() : wxListCtrl() {}
1857 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1861 const wxValidator
& validator
,
1862 const wxString
& name
) :
1863 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1865 bool Create(wxWindow
* parent
, wxWindowID id
,
1869 const wxValidator
& validator
,
1870 const wxString
& name
) {
1871 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1874 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1875 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1877 // use the virtual version to avoid a confusing assert in the base class
1878 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1883 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1885 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1886 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1887 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1890 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1892 item
.SetMask( wxLIST_MASK_STATE
|
1900 if (self
->GetColumn(col
, item
))
1901 return new wxListItem(item
);
1905 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1906 wxListItem
* info
= new wxListItem
;
1907 info
->m_itemId
= itemId
;
1909 info
->m_mask
= 0xFFFF;
1910 self
->GetItem(*info
);
1913 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1915 self
->GetItemPosition(item
, pos
);
1918 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1920 self
->GetItemRect(item
, rect
, code
);
1924 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1925 if (!PyCallable_Check(func
))
1927 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1929 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1933 return (wxWindow
*)self
->m_mainWin
;
1937 #include <wx/treectrl.h>
1938 #include "wx/wxPython/pytree.h"
1940 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1941 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1942 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1943 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1944 // C++ version of Python aware wxTreeCtrl
1945 class wxPyTreeCtrl
: public wxTreeCtrl
{
1946 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1948 wxPyTreeCtrl() : wxTreeCtrl() {}
1949 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1953 const wxValidator
& validator
,
1954 const wxString
& name
) :
1955 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1957 bool Create(wxWindow
*parent
, wxWindowID id
,
1961 const wxValidator
& validator
,
1962 const wxString
& name
) {
1963 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1967 int OnCompareItems(const wxTreeItemId
& item1
,
1968 const wxTreeItemId
& item2
) {
1971 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1972 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1973 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1974 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1975 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1979 wxPyEndBlockThreads(blocked
);
1981 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1987 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1991 #if UINT_MAX < LONG_MAX
1992 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1993 #define SWIG_From_unsigned_SS_int SWIG_From_long
1996 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1997 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2003 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2004 unsigned long max_value
,
2007 if (value
> max_value
) {
2009 PyErr_Format(PyExc_OverflowError
,
2010 "value %lu is greater than '%s' minimum %lu",
2011 value
, errmsg
, max_value
);
2019 #if UINT_MAX != ULONG_MAX
2021 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2023 const char* errmsg
= val
? "unsigned int" : (char*)0;
2025 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2026 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2027 if (val
) *val
= (unsigned int)(v
);
2034 SWIG_type_error(errmsg
, obj
);
2039 SWIGINTERNSHORT
unsigned int
2040 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2042 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2047 SWIGINTERNSHORT
unsigned int
2048 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2051 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2053 this is needed to make valgrind/purify happier.
2055 memset((void*)&v
, 0, sizeof(unsigned int));
2062 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2064 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2067 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2068 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2070 data
= new wxPyTreeItemData();
2071 data
->SetId(item
); // set the id
2072 self
->SetItemData(item
, data
);
2076 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2077 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2079 data
= new wxPyTreeItemData();
2080 data
->SetId(item
); // set the id
2081 self
->SetItemData(item
, data
);
2083 return data
->GetData();
2085 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2086 data
->SetId(item
); // set the id
2087 self
->SetItemData(item
, data
);
2089 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2090 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2092 data
= new wxPyTreeItemData(obj
);
2093 data
->SetId(item
); // set the id
2094 self
->SetItemData(item
, data
);
2098 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2099 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2100 PyObject
* rval
= PyList_New(0);
2101 wxArrayTreeItemIds array
;
2103 num
= self
->GetSelections(array
);
2104 for (x
=0; x
< num
; x
++) {
2105 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2106 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2107 PyList_Append(rval
, item
);
2110 wxPyEndBlockThreads(blocked
);
2113 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2115 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2116 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2117 PyObject
* tup
= PyTuple_New(2);
2118 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2119 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2120 wxPyEndBlockThreads(blocked
);
2123 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2124 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2125 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2126 PyObject
* tup
= PyTuple_New(2);
2127 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2128 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2129 wxPyEndBlockThreads(blocked
);
2132 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2134 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2136 wxRect
* r
= new wxRect(rect
);
2137 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2138 wxPyEndBlockThreads(blocked
);
2144 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2146 SWIGINTERNSHORT PyObject
*
2147 SWIG_From_bool(bool value
)
2149 PyObject
*obj
= value
? Py_True
: Py_False
;
2155 // C++ version of Python aware wxControl
2156 class wxPyControl
: public wxControl
2158 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2160 wxPyControl() : wxControl() {}
2161 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2162 const wxPoint
& pos
= wxDefaultPosition
,
2163 const wxSize
& size
= wxDefaultSize
,
2165 const wxValidator
& validator
=wxDefaultValidator
,
2166 const wxString
& name
= wxPyControlNameStr
)
2167 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2169 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2171 bool DoEraseBackground(wxDC
* dc
) {
2173 return wxWindow::DoEraseBackground(dc
->GetHDC());
2175 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2181 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2182 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2183 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2184 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2186 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2190 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2191 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2193 DEC_PYCALLBACK__(InitDialog
);
2194 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2195 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2196 DEC_PYCALLBACK_BOOL_(Validate
);
2198 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2199 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2200 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2202 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2203 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2205 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2206 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2208 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2210 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2215 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2217 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2218 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2219 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2220 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2222 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2223 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2224 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2226 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2227 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2229 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2230 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2231 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2232 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2234 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2235 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2236 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2238 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2239 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2241 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2242 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2244 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2246 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
2250 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2252 #include <wx/generic/dragimgg.h>
2254 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2255 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2257 self
->GetRange(&rv
, NULL
);
2260 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2262 self
->GetRange(NULL
, &rv
);
2268 static int _wrap_ButtonNameStr_set(PyObject
*) {
2269 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2274 static PyObject
*_wrap_ButtonNameStr_get(void) {
2279 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2281 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2288 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxWindow
*arg1
= (wxWindow
*) 0 ;
2291 int arg2
= (int) -1 ;
2292 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2293 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2294 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2295 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2296 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2297 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2298 long arg6
= (long) 0 ;
2299 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2300 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2301 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2302 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2304 bool temp3
= false ;
2307 bool temp8
= false ;
2308 PyObject
* obj0
= 0 ;
2309 PyObject
* obj1
= 0 ;
2310 PyObject
* obj2
= 0 ;
2311 PyObject
* obj3
= 0 ;
2312 PyObject
* obj4
= 0 ;
2313 PyObject
* obj5
= 0 ;
2314 PyObject
* obj6
= 0 ;
2315 PyObject
* obj7
= 0 ;
2317 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2322 if (SWIG_arg_fail(1)) SWIG_fail
;
2325 arg2
= (int)(SWIG_As_int(obj1
));
2326 if (SWIG_arg_fail(2)) SWIG_fail
;
2331 arg3
= wxString_in_helper(obj2
);
2332 if (arg3
== NULL
) SWIG_fail
;
2339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2350 arg6
= (long)(SWIG_As_long(obj5
));
2351 if (SWIG_arg_fail(6)) SWIG_fail
;
2356 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2357 if (SWIG_arg_fail(7)) SWIG_fail
;
2359 SWIG_null_ref("wxValidator");
2361 if (SWIG_arg_fail(7)) SWIG_fail
;
2366 arg8
= wxString_in_helper(obj7
);
2367 if (arg8
== NULL
) SWIG_fail
;
2372 if (!wxPyCheckForApp()) SWIG_fail
;
2373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2374 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2376 wxPyEndAllowThreads(__tstate
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2402 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2411 if (!wxPyCheckForApp()) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 result
= (wxButton
*)new wxButton();
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2425 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2427 wxButton
*arg1
= (wxButton
*) 0 ;
2428 wxWindow
*arg2
= (wxWindow
*) 0 ;
2429 int arg3
= (int) -1 ;
2430 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2431 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2432 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2433 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2434 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2435 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2436 long arg7
= (long) 0 ;
2437 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2438 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2439 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2440 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2442 bool temp4
= false ;
2445 bool temp9
= false ;
2446 PyObject
* obj0
= 0 ;
2447 PyObject
* obj1
= 0 ;
2448 PyObject
* obj2
= 0 ;
2449 PyObject
* obj3
= 0 ;
2450 PyObject
* obj4
= 0 ;
2451 PyObject
* obj5
= 0 ;
2452 PyObject
* obj6
= 0 ;
2453 PyObject
* obj7
= 0 ;
2454 PyObject
* obj8
= 0 ;
2456 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2461 if (SWIG_arg_fail(1)) SWIG_fail
;
2462 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2463 if (SWIG_arg_fail(2)) SWIG_fail
;
2466 arg3
= (int)(SWIG_As_int(obj2
));
2467 if (SWIG_arg_fail(3)) SWIG_fail
;
2472 arg4
= wxString_in_helper(obj3
);
2473 if (arg4
== NULL
) SWIG_fail
;
2480 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2486 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2491 arg7
= (long)(SWIG_As_long(obj6
));
2492 if (SWIG_arg_fail(7)) SWIG_fail
;
2497 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2498 if (SWIG_arg_fail(8)) SWIG_fail
;
2500 SWIG_null_ref("wxValidator");
2502 if (SWIG_arg_fail(8)) SWIG_fail
;
2507 arg9
= wxString_in_helper(obj8
);
2508 if (arg9
== NULL
) SWIG_fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2544 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 wxButton
*arg1
= (wxButton
*) 0 ;
2547 PyObject
* obj0
= 0 ;
2549 (char *) "self", NULL
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2554 if (SWIG_arg_fail(1)) SWIG_fail
;
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 (arg1
)->SetDefault();
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2562 Py_INCREF(Py_None
); resultobj
= Py_None
;
2569 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
*resultobj
;
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 result
= wxButton::GetDefaultSize();
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2586 resultptr
= new wxSize((wxSize
&)(result
));
2587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2595 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
*resultobj
;
2597 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2598 wxVisualAttributes result
;
2599 PyObject
* obj0
= 0 ;
2601 (char *) "variant", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2607 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2608 if (SWIG_arg_fail(1)) SWIG_fail
;
2612 if (!wxPyCheckForApp()) SWIG_fail
;
2613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2614 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2616 wxPyEndAllowThreads(__tstate
);
2617 if (PyErr_Occurred()) SWIG_fail
;
2620 wxVisualAttributes
* resultptr
;
2621 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2630 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2633 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2635 return Py_BuildValue((char *)"");
2637 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxWindow
*arg1
= (wxWindow
*) 0 ;
2640 int arg2
= (int) -1 ;
2641 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2642 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2643 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2644 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2645 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2646 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2647 long arg6
= (long) wxBU_AUTODRAW
;
2648 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2649 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2650 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2651 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2652 wxBitmapButton
*result
;
2655 bool temp8
= false ;
2656 PyObject
* obj0
= 0 ;
2657 PyObject
* obj1
= 0 ;
2658 PyObject
* obj2
= 0 ;
2659 PyObject
* obj3
= 0 ;
2660 PyObject
* obj4
= 0 ;
2661 PyObject
* obj5
= 0 ;
2662 PyObject
* obj6
= 0 ;
2663 PyObject
* obj7
= 0 ;
2665 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2670 if (SWIG_arg_fail(1)) SWIG_fail
;
2673 arg2
= (int)(SWIG_As_int(obj1
));
2674 if (SWIG_arg_fail(2)) SWIG_fail
;
2679 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2680 if (SWIG_arg_fail(3)) SWIG_fail
;
2682 SWIG_null_ref("wxBitmap");
2684 if (SWIG_arg_fail(3)) SWIG_fail
;
2690 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2696 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2701 arg6
= (long)(SWIG_As_long(obj5
));
2702 if (SWIG_arg_fail(6)) SWIG_fail
;
2707 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2708 if (SWIG_arg_fail(7)) SWIG_fail
;
2710 SWIG_null_ref("wxValidator");
2712 if (SWIG_arg_fail(7)) SWIG_fail
;
2717 arg8
= wxString_in_helper(obj7
);
2718 if (arg8
== NULL
) SWIG_fail
;
2723 if (!wxPyCheckForApp()) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2745 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2747 wxBitmapButton
*result
;
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2754 if (!wxPyCheckForApp()) SWIG_fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 result
= (wxBitmapButton
*)new wxBitmapButton();
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2768 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2771 wxWindow
*arg2
= (wxWindow
*) 0 ;
2772 int arg3
= (int) -1 ;
2773 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2774 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2775 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2776 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2777 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2778 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2779 long arg7
= (long) wxBU_AUTODRAW
;
2780 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2781 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2782 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2783 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2787 bool temp9
= false ;
2788 PyObject
* obj0
= 0 ;
2789 PyObject
* obj1
= 0 ;
2790 PyObject
* obj2
= 0 ;
2791 PyObject
* obj3
= 0 ;
2792 PyObject
* obj4
= 0 ;
2793 PyObject
* obj5
= 0 ;
2794 PyObject
* obj6
= 0 ;
2795 PyObject
* obj7
= 0 ;
2796 PyObject
* obj8
= 0 ;
2798 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2803 if (SWIG_arg_fail(1)) SWIG_fail
;
2804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2805 if (SWIG_arg_fail(2)) SWIG_fail
;
2808 arg3
= (int)(SWIG_As_int(obj2
));
2809 if (SWIG_arg_fail(3)) SWIG_fail
;
2814 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2815 if (SWIG_arg_fail(4)) SWIG_fail
;
2817 SWIG_null_ref("wxBitmap");
2819 if (SWIG_arg_fail(4)) SWIG_fail
;
2825 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2831 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2836 arg7
= (long)(SWIG_As_long(obj6
));
2837 if (SWIG_arg_fail(7)) SWIG_fail
;
2842 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2843 if (SWIG_arg_fail(8)) SWIG_fail
;
2845 SWIG_null_ref("wxValidator");
2847 if (SWIG_arg_fail(8)) SWIG_fail
;
2852 arg9
= wxString_in_helper(obj8
);
2853 if (arg9
== NULL
) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2881 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2885 PyObject
* obj0
= 0 ;
2887 (char *) "self", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2892 if (SWIG_arg_fail(1)) SWIG_fail
;
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 result
= (arg1
)->GetBitmapLabel();
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2901 wxBitmap
* resultptr
;
2902 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2911 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2915 PyObject
* obj0
= 0 ;
2917 (char *) "self", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2922 if (SWIG_arg_fail(1)) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 result
= (arg1
)->GetBitmapDisabled();
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2931 wxBitmap
* resultptr
;
2932 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2941 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2945 PyObject
* obj0
= 0 ;
2947 (char *) "self", NULL
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= (arg1
)->GetBitmapFocus();
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2961 wxBitmap
* resultptr
;
2962 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2971 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
*resultobj
;
2973 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2975 PyObject
* obj0
= 0 ;
2977 (char *) "self", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2982 if (SWIG_arg_fail(1)) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 result
= (arg1
)->GetBitmapSelected();
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 wxBitmap
* resultptr
;
2992 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3001 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3004 wxBitmap
*arg2
= 0 ;
3005 PyObject
* obj0
= 0 ;
3006 PyObject
* obj1
= 0 ;
3008 (char *) "self",(char *) "bitmap", NULL
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3013 if (SWIG_arg_fail(1)) SWIG_fail
;
3015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3016 if (SWIG_arg_fail(2)) SWIG_fail
;
3018 SWIG_null_ref("wxBitmap");
3020 if (SWIG_arg_fail(2)) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3029 Py_INCREF(Py_None
); resultobj
= Py_None
;
3036 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3039 wxBitmap
*arg2
= 0 ;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3043 (char *) "self",(char *) "bitmap", NULL
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3048 if (SWIG_arg_fail(1)) SWIG_fail
;
3050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3051 if (SWIG_arg_fail(2)) SWIG_fail
;
3053 SWIG_null_ref("wxBitmap");
3055 if (SWIG_arg_fail(2)) SWIG_fail
;
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3064 Py_INCREF(Py_None
); resultobj
= Py_None
;
3071 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3074 wxBitmap
*arg2
= 0 ;
3075 PyObject
* obj0
= 0 ;
3076 PyObject
* obj1
= 0 ;
3078 (char *) "self",(char *) "bitmap", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail
;
3085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3086 if (SWIG_arg_fail(2)) SWIG_fail
;
3088 SWIG_null_ref("wxBitmap");
3090 if (SWIG_arg_fail(2)) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3099 Py_INCREF(Py_None
); resultobj
= Py_None
;
3106 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3109 wxBitmap
*arg2
= 0 ;
3110 PyObject
* obj0
= 0 ;
3111 PyObject
* obj1
= 0 ;
3113 (char *) "self",(char *) "bitmap", NULL
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3118 if (SWIG_arg_fail(1)) SWIG_fail
;
3120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3121 if (SWIG_arg_fail(2)) SWIG_fail
;
3123 SWIG_null_ref("wxBitmap");
3125 if (SWIG_arg_fail(2)) SWIG_fail
;
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) SWIG_fail
;
3134 Py_INCREF(Py_None
); resultobj
= Py_None
;
3141 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3146 PyObject
* obj0
= 0 ;
3147 PyObject
* obj1
= 0 ;
3148 PyObject
* obj2
= 0 ;
3150 (char *) "self",(char *) "x",(char *) "y", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3155 if (SWIG_arg_fail(1)) SWIG_fail
;
3157 arg2
= (int)(SWIG_As_int(obj1
));
3158 if (SWIG_arg_fail(2)) SWIG_fail
;
3161 arg3
= (int)(SWIG_As_int(obj2
));
3162 if (SWIG_arg_fail(3)) SWIG_fail
;
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 (arg1
)->SetMargins(arg2
,arg3
);
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3171 Py_INCREF(Py_None
); resultobj
= Py_None
;
3178 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
*resultobj
;
3180 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3182 PyObject
* obj0
= 0 ;
3184 (char *) "self", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3189 if (SWIG_arg_fail(1)) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3198 resultobj
= SWIG_From_int((int)(result
));
3206 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3210 PyObject
* obj0
= 0 ;
3212 (char *) "self", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3217 if (SWIG_arg_fail(1)) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= SWIG_From_int((int)(result
));
3234 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3237 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3239 return Py_BuildValue((char *)"");
3241 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3242 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3247 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3252 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3254 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3261 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxWindow
*arg1
= (wxWindow
*) 0 ;
3264 int arg2
= (int) -1 ;
3265 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3266 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3267 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3268 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3269 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3270 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3271 long arg6
= (long) 0 ;
3272 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3273 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3274 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3275 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3277 bool temp3
= false ;
3280 bool temp8
= false ;
3281 PyObject
* obj0
= 0 ;
3282 PyObject
* obj1
= 0 ;
3283 PyObject
* obj2
= 0 ;
3284 PyObject
* obj3
= 0 ;
3285 PyObject
* obj4
= 0 ;
3286 PyObject
* obj5
= 0 ;
3287 PyObject
* obj6
= 0 ;
3288 PyObject
* obj7
= 0 ;
3290 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3295 if (SWIG_arg_fail(1)) SWIG_fail
;
3298 arg2
= (int)(SWIG_As_int(obj1
));
3299 if (SWIG_arg_fail(2)) SWIG_fail
;
3304 arg3
= wxString_in_helper(obj2
);
3305 if (arg3
== NULL
) SWIG_fail
;
3312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3323 arg6
= (long)(SWIG_As_long(obj5
));
3324 if (SWIG_arg_fail(6)) SWIG_fail
;
3329 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3330 if (SWIG_arg_fail(7)) SWIG_fail
;
3332 SWIG_null_ref("wxValidator");
3334 if (SWIG_arg_fail(7)) SWIG_fail
;
3339 arg8
= wxString_in_helper(obj7
);
3340 if (arg8
== NULL
) SWIG_fail
;
3345 if (!wxPyCheckForApp()) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3375 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3384 if (!wxPyCheckForApp()) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= (wxCheckBox
*)new wxCheckBox();
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3398 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3401 wxWindow
*arg2
= (wxWindow
*) 0 ;
3402 int arg3
= (int) -1 ;
3403 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3404 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3405 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3406 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3407 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3408 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3409 long arg7
= (long) 0 ;
3410 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3411 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3412 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3413 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3415 bool temp4
= false ;
3418 bool temp9
= false ;
3419 PyObject
* obj0
= 0 ;
3420 PyObject
* obj1
= 0 ;
3421 PyObject
* obj2
= 0 ;
3422 PyObject
* obj3
= 0 ;
3423 PyObject
* obj4
= 0 ;
3424 PyObject
* obj5
= 0 ;
3425 PyObject
* obj6
= 0 ;
3426 PyObject
* obj7
= 0 ;
3427 PyObject
* obj8
= 0 ;
3429 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3434 if (SWIG_arg_fail(1)) SWIG_fail
;
3435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3436 if (SWIG_arg_fail(2)) SWIG_fail
;
3439 arg3
= (int)(SWIG_As_int(obj2
));
3440 if (SWIG_arg_fail(3)) SWIG_fail
;
3445 arg4
= wxString_in_helper(obj3
);
3446 if (arg4
== NULL
) SWIG_fail
;
3453 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3459 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3464 arg7
= (long)(SWIG_As_long(obj6
));
3465 if (SWIG_arg_fail(7)) SWIG_fail
;
3470 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3471 if (SWIG_arg_fail(8)) SWIG_fail
;
3473 SWIG_null_ref("wxValidator");
3475 if (SWIG_arg_fail(8)) SWIG_fail
;
3480 arg9
= wxString_in_helper(obj8
);
3481 if (arg9
== NULL
) SWIG_fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3517 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3523 (char *) "self", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3528 if (SWIG_arg_fail(1)) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (bool)(arg1
)->GetValue();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3545 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3549 PyObject
* obj0
= 0 ;
3551 (char *) "self", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3556 if (SWIG_arg_fail(1)) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (bool)(arg1
)->IsChecked();
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3573 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
*resultobj
;
3575 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3580 (char *) "self",(char *) "state", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3585 if (SWIG_arg_fail(1)) SWIG_fail
;
3587 arg2
= (bool const)(SWIG_As_bool(obj1
));
3588 if (SWIG_arg_fail(2)) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 (arg1
)->SetValue(arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 Py_INCREF(Py_None
); resultobj
= Py_None
;
3604 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3606 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3607 wxCheckBoxState result
;
3608 PyObject
* obj0
= 0 ;
3610 (char *) "self", NULL
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3615 if (SWIG_arg_fail(1)) SWIG_fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_From_int((result
));
3630 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3633 wxCheckBoxState arg2
;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "self",(char *) "state", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3642 if (SWIG_arg_fail(1)) SWIG_fail
;
3644 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3645 if (SWIG_arg_fail(2)) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 Py_INCREF(Py_None
); resultobj
= Py_None
;
3661 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
*resultobj
;
3663 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3665 PyObject
* obj0
= 0 ;
3667 (char *) "self", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3672 if (SWIG_arg_fail(1)) SWIG_fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3689 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3691 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3695 (char *) "self", NULL
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3700 if (SWIG_arg_fail(1)) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3717 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3719 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3720 wxVisualAttributes result
;
3721 PyObject
* obj0
= 0 ;
3723 (char *) "variant", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3729 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3730 if (SWIG_arg_fail(1)) SWIG_fail
;
3734 if (!wxPyCheckForApp()) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3742 wxVisualAttributes
* resultptr
;
3743 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3752 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3755 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3757 return Py_BuildValue((char *)"");
3759 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3760 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3765 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3770 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3772 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3779 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxWindow
*arg1
= (wxWindow
*) 0 ;
3782 int arg2
= (int) -1 ;
3783 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3784 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3785 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3786 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3787 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3788 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3789 long arg6
= (long) 0 ;
3790 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3791 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3792 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3793 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3797 bool temp5
= false ;
3798 bool temp8
= false ;
3799 PyObject
* obj0
= 0 ;
3800 PyObject
* obj1
= 0 ;
3801 PyObject
* obj2
= 0 ;
3802 PyObject
* obj3
= 0 ;
3803 PyObject
* obj4
= 0 ;
3804 PyObject
* obj5
= 0 ;
3805 PyObject
* obj6
= 0 ;
3806 PyObject
* obj7
= 0 ;
3808 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3813 if (SWIG_arg_fail(1)) SWIG_fail
;
3816 arg2
= (int)(SWIG_As_int(obj1
));
3817 if (SWIG_arg_fail(2)) SWIG_fail
;
3823 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3829 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3834 if (! PySequence_Check(obj4
)) {
3835 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3838 arg5
= new wxArrayString
;
3840 int i
, len
=PySequence_Length(obj4
);
3841 for (i
=0; i
<len
; i
++) {
3842 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3843 wxString
* s
= wxString_in_helper(item
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3853 arg6
= (long)(SWIG_As_long(obj5
));
3854 if (SWIG_arg_fail(6)) SWIG_fail
;
3859 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3860 if (SWIG_arg_fail(7)) SWIG_fail
;
3862 SWIG_null_ref("wxValidator");
3864 if (SWIG_arg_fail(7)) SWIG_fail
;
3869 arg8
= wxString_in_helper(obj7
);
3870 if (arg8
== NULL
) SWIG_fail
;
3875 if (!wxPyCheckForApp()) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3884 if (temp5
) delete arg5
;
3893 if (temp5
) delete arg5
;
3903 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3912 if (!wxPyCheckForApp()) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (wxChoice
*)new wxChoice();
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3926 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3928 wxChoice
*arg1
= (wxChoice
*) 0 ;
3929 wxWindow
*arg2
= (wxWindow
*) 0 ;
3930 int arg3
= (int) -1 ;
3931 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3932 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3933 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3934 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3935 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3936 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3937 long arg7
= (long) 0 ;
3938 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3939 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3940 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3941 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3945 bool temp6
= false ;
3946 bool temp9
= false ;
3947 PyObject
* obj0
= 0 ;
3948 PyObject
* obj1
= 0 ;
3949 PyObject
* obj2
= 0 ;
3950 PyObject
* obj3
= 0 ;
3951 PyObject
* obj4
= 0 ;
3952 PyObject
* obj5
= 0 ;
3953 PyObject
* obj6
= 0 ;
3954 PyObject
* obj7
= 0 ;
3955 PyObject
* obj8
= 0 ;
3957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3962 if (SWIG_arg_fail(1)) SWIG_fail
;
3963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3964 if (SWIG_arg_fail(2)) SWIG_fail
;
3967 arg3
= (int)(SWIG_As_int(obj2
));
3968 if (SWIG_arg_fail(3)) SWIG_fail
;
3974 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3980 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3985 if (! PySequence_Check(obj5
)) {
3986 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3989 arg6
= new wxArrayString
;
3991 int i
, len
=PySequence_Length(obj5
);
3992 for (i
=0; i
<len
; i
++) {
3993 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3994 wxString
* s
= wxString_in_helper(item
);
3995 if (PyErr_Occurred()) SWIG_fail
;
4004 arg7
= (long)(SWIG_As_long(obj6
));
4005 if (SWIG_arg_fail(7)) SWIG_fail
;
4010 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4011 if (SWIG_arg_fail(8)) SWIG_fail
;
4013 SWIG_null_ref("wxValidator");
4015 if (SWIG_arg_fail(8)) SWIG_fail
;
4020 arg9
= wxString_in_helper(obj8
);
4021 if (arg9
== NULL
) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4036 if (temp6
) delete arg6
;
4045 if (temp6
) delete arg6
;
4055 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4058 wxVisualAttributes result
;
4059 PyObject
* obj0
= 0 ;
4061 (char *) "variant", NULL
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4067 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4068 if (SWIG_arg_fail(1)) SWIG_fail
;
4072 if (!wxPyCheckForApp()) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4080 wxVisualAttributes
* resultptr
;
4081 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4090 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4093 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4095 return Py_BuildValue((char *)"");
4097 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4098 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4103 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4108 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4110 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4117 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxWindow
*arg1
= (wxWindow
*) 0 ;
4120 int arg2
= (int) -1 ;
4121 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4122 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4123 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4124 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4125 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4126 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4127 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4128 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4129 long arg7
= (long) 0 ;
4130 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4131 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4132 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4133 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4135 bool temp3
= false ;
4138 bool temp6
= false ;
4139 bool temp9
= false ;
4140 PyObject
* obj0
= 0 ;
4141 PyObject
* obj1
= 0 ;
4142 PyObject
* obj2
= 0 ;
4143 PyObject
* obj3
= 0 ;
4144 PyObject
* obj4
= 0 ;
4145 PyObject
* obj5
= 0 ;
4146 PyObject
* obj6
= 0 ;
4147 PyObject
* obj7
= 0 ;
4148 PyObject
* obj8
= 0 ;
4150 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4155 if (SWIG_arg_fail(1)) SWIG_fail
;
4158 arg2
= (int)(SWIG_As_int(obj1
));
4159 if (SWIG_arg_fail(2)) SWIG_fail
;
4164 arg3
= wxString_in_helper(obj2
);
4165 if (arg3
== NULL
) SWIG_fail
;
4172 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4178 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4183 if (! PySequence_Check(obj5
)) {
4184 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4187 arg6
= new wxArrayString
;
4189 int i
, len
=PySequence_Length(obj5
);
4190 for (i
=0; i
<len
; i
++) {
4191 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4192 wxString
* s
= wxString_in_helper(item
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4202 arg7
= (long)(SWIG_As_long(obj6
));
4203 if (SWIG_arg_fail(7)) SWIG_fail
;
4208 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4209 if (SWIG_arg_fail(8)) SWIG_fail
;
4211 SWIG_null_ref("wxValidator");
4213 if (SWIG_arg_fail(8)) SWIG_fail
;
4218 arg9
= wxString_in_helper(obj8
);
4219 if (arg9
== NULL
) SWIG_fail
;
4224 if (!wxPyCheckForApp()) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 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
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4237 if (temp6
) delete arg6
;
4250 if (temp6
) delete arg6
;
4260 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4269 if (!wxPyCheckForApp()) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 result
= (wxComboBox
*)new wxComboBox();
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4283 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4286 wxWindow
*arg2
= (wxWindow
*) 0 ;
4287 int arg3
= (int) -1 ;
4288 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4289 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4290 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4291 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4292 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4293 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4294 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4295 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4296 long arg8
= (long) 0 ;
4297 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4298 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4299 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4300 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4302 bool temp4
= false ;
4305 bool temp7
= false ;
4306 bool temp10
= false ;
4307 PyObject
* obj0
= 0 ;
4308 PyObject
* obj1
= 0 ;
4309 PyObject
* obj2
= 0 ;
4310 PyObject
* obj3
= 0 ;
4311 PyObject
* obj4
= 0 ;
4312 PyObject
* obj5
= 0 ;
4313 PyObject
* obj6
= 0 ;
4314 PyObject
* obj7
= 0 ;
4315 PyObject
* obj8
= 0 ;
4316 PyObject
* obj9
= 0 ;
4318 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4323 if (SWIG_arg_fail(1)) SWIG_fail
;
4324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4325 if (SWIG_arg_fail(2)) SWIG_fail
;
4328 arg3
= (int)(SWIG_As_int(obj2
));
4329 if (SWIG_arg_fail(3)) SWIG_fail
;
4334 arg4
= wxString_in_helper(obj3
);
4335 if (arg4
== NULL
) SWIG_fail
;
4342 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4348 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4353 if (! PySequence_Check(obj6
)) {
4354 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4357 arg7
= new wxArrayString
;
4359 int i
, len
=PySequence_Length(obj6
);
4360 for (i
=0; i
<len
; i
++) {
4361 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4362 wxString
* s
= wxString_in_helper(item
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4372 arg8
= (long)(SWIG_As_long(obj7
));
4373 if (SWIG_arg_fail(8)) SWIG_fail
;
4378 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4379 if (SWIG_arg_fail(9)) SWIG_fail
;
4381 SWIG_null_ref("wxValidator");
4383 if (SWIG_arg_fail(9)) SWIG_fail
;
4388 arg10
= wxString_in_helper(obj9
);
4389 if (arg10
== NULL
) SWIG_fail
;
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4408 if (temp7
) delete arg7
;
4421 if (temp7
) delete arg7
;
4431 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4435 PyObject
* obj0
= 0 ;
4437 (char *) "self", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= ((wxComboBox
const *)arg1
)->GetValue();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4463 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4466 wxString
*arg2
= 0 ;
4467 bool temp2
= false ;
4468 PyObject
* obj0
= 0 ;
4469 PyObject
* obj1
= 0 ;
4471 (char *) "self",(char *) "value", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4476 if (SWIG_arg_fail(1)) SWIG_fail
;
4478 arg2
= wxString_in_helper(obj1
);
4479 if (arg2
== NULL
) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 (arg1
)->SetValue((wxString
const &)*arg2
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 Py_INCREF(Py_None
); resultobj
= Py_None
;
4504 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4509 (char *) "self", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4514 if (SWIG_arg_fail(1)) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4534 (char *) "self", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 Py_INCREF(Py_None
); resultobj
= Py_None
;
4554 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4586 (char *) "self",(char *) "pos", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail
;
4593 arg2
= (long)(SWIG_As_long(obj1
));
4594 if (SWIG_arg_fail(2)) SWIG_fail
;
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 (arg1
)->SetInsertionPoint(arg2
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 Py_INCREF(Py_None
); resultobj
= Py_None
;
4610 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4612 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4614 PyObject
* obj0
= 0 ;
4616 (char *) "self", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_From_long((long)(result
));
4638 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4644 (char *) "self", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4649 if (SWIG_arg_fail(1)) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_From_long((long)(result
));
4666 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4671 wxString
*arg4
= 0 ;
4672 bool temp4
= false ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 PyObject
* obj2
= 0 ;
4676 PyObject
* obj3
= 0 ;
4678 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4683 if (SWIG_arg_fail(1)) SWIG_fail
;
4685 arg2
= (long)(SWIG_As_long(obj1
));
4686 if (SWIG_arg_fail(2)) SWIG_fail
;
4689 arg3
= (long)(SWIG_As_long(obj2
));
4690 if (SWIG_arg_fail(3)) SWIG_fail
;
4693 arg4
= wxString_in_helper(obj3
);
4694 if (arg4
== NULL
) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4726 (char *) "self",(char *) "n", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4731 if (SWIG_arg_fail(1)) SWIG_fail
;
4733 arg2
= (int)(SWIG_As_int(obj1
));
4734 if (SWIG_arg_fail(2)) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 (arg1
)->SetSelection(arg2
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 Py_INCREF(Py_None
); resultobj
= Py_None
;
4750 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 PyObject
* obj2
= 0 ;
4759 (char *) "self",(char *) "from",(char *) "to", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4764 if (SWIG_arg_fail(1)) SWIG_fail
;
4766 arg2
= (long)(SWIG_As_long(obj1
));
4767 if (SWIG_arg_fail(2)) SWIG_fail
;
4770 arg3
= (long)(SWIG_As_long(obj2
));
4771 if (SWIG_arg_fail(3)) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 (arg1
)->SetSelection(arg2
,arg3
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 Py_INCREF(Py_None
); resultobj
= Py_None
;
4787 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4790 long *arg2
= (long *) 0 ;
4791 long *arg3
= (long *) 0 ;
4796 PyObject
* obj0
= 0 ;
4798 (char *) "self", NULL
4801 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4802 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4805 if (SWIG_arg_fail(1)) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 (arg1
)->GetSelection(arg2
,arg3
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 Py_INCREF(Py_None
); resultobj
= Py_None
;
4814 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4815 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4816 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4817 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4824 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4827 wxString
*arg2
= 0 ;
4829 bool temp2
= false ;
4830 PyObject
* obj0
= 0 ;
4831 PyObject
* obj1
= 0 ;
4833 (char *) "self",(char *) "string", NULL
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4838 if (SWIG_arg_fail(1)) SWIG_fail
;
4840 arg2
= wxString_in_helper(obj1
);
4841 if (arg2
== NULL
) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4868 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4872 wxString
*arg3
= 0 ;
4873 bool temp3
= false ;
4874 PyObject
* obj0
= 0 ;
4875 PyObject
* obj1
= 0 ;
4876 PyObject
* obj2
= 0 ;
4878 (char *) "self",(char *) "n",(char *) "string", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4883 if (SWIG_arg_fail(1)) SWIG_fail
;
4885 arg2
= (int)(SWIG_As_int(obj1
));
4886 if (SWIG_arg_fail(2)) SWIG_fail
;
4889 arg3
= wxString_in_helper(obj2
);
4890 if (arg3
== NULL
) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 Py_INCREF(Py_None
); resultobj
= Py_None
;
4915 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4922 (char *) "self",(char *) "editable", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4927 if (SWIG_arg_fail(1)) SWIG_fail
;
4929 arg2
= (bool)(SWIG_As_bool(obj1
));
4930 if (SWIG_arg_fail(2)) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 (arg1
)->SetEditable(arg2
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 Py_INCREF(Py_None
); resultobj
= Py_None
;
4946 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4956 if (SWIG_arg_fail(1)) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 (arg1
)->SetInsertionPointEnd();
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4978 PyObject
* obj2
= 0 ;
4980 (char *) "self",(char *) "from",(char *) "to", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail
;
4987 arg2
= (long)(SWIG_As_long(obj1
));
4988 if (SWIG_arg_fail(2)) SWIG_fail
;
4991 arg3
= (long)(SWIG_As_long(obj2
));
4992 if (SWIG_arg_fail(3)) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 (arg1
)->Remove(arg2
,arg3
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 Py_INCREF(Py_None
); resultobj
= Py_None
;
5008 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5014 (char *) "self", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5036 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5039 PyObject
* obj0
= 0 ;
5041 (char *) "self", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5046 if (SWIG_arg_fail(1)) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 Py_INCREF(Py_None
); resultobj
= Py_None
;
5061 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5064 PyObject
* obj0
= 0 ;
5066 (char *) "self", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5071 if (SWIG_arg_fail(1)) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 Py_INCREF(Py_None
); resultobj
= Py_None
;
5086 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5089 PyObject
* obj0
= 0 ;
5091 (char *) "self", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 (arg1
)->SelectAll();
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 Py_INCREF(Py_None
); resultobj
= Py_None
;
5111 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5117 (char *) "self", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5122 if (SWIG_arg_fail(1)) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5139 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5145 (char *) "self", NULL
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5150 if (SWIG_arg_fail(1)) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5167 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
*resultobj
;
5169 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5171 PyObject
* obj0
= 0 ;
5173 (char *) "self", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5178 if (SWIG_arg_fail(1)) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5195 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5199 PyObject
* obj0
= 0 ;
5201 (char *) "self", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5206 if (SWIG_arg_fail(1)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5223 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5227 PyObject
* obj0
= 0 ;
5229 (char *) "self", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5234 if (SWIG_arg_fail(1)) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5251 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
;
5253 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5254 wxVisualAttributes result
;
5255 PyObject
* obj0
= 0 ;
5257 (char *) "variant", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5263 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5264 if (SWIG_arg_fail(1)) SWIG_fail
;
5268 if (!wxPyCheckForApp()) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5276 wxVisualAttributes
* resultptr
;
5277 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5286 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5289 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5291 return Py_BuildValue((char *)"");
5293 static int _wrap_GaugeNameStr_set(PyObject
*) {
5294 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5299 static PyObject
*_wrap_GaugeNameStr_get(void) {
5304 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5306 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5313 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxWindow
*arg1
= (wxWindow
*) 0 ;
5316 int arg2
= (int) -1 ;
5317 int arg3
= (int) 100 ;
5318 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5319 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5320 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5321 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5322 long arg6
= (long) wxGA_HORIZONTAL
;
5323 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5324 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5325 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5326 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5330 bool temp8
= false ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5334 PyObject
* obj3
= 0 ;
5335 PyObject
* obj4
= 0 ;
5336 PyObject
* obj5
= 0 ;
5337 PyObject
* obj6
= 0 ;
5338 PyObject
* obj7
= 0 ;
5340 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5345 if (SWIG_arg_fail(1)) SWIG_fail
;
5348 arg2
= (int)(SWIG_As_int(obj1
));
5349 if (SWIG_arg_fail(2)) SWIG_fail
;
5354 arg3
= (int)(SWIG_As_int(obj2
));
5355 if (SWIG_arg_fail(3)) SWIG_fail
;
5361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5372 arg6
= (long)(SWIG_As_long(obj5
));
5373 if (SWIG_arg_fail(6)) SWIG_fail
;
5378 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5379 if (SWIG_arg_fail(7)) SWIG_fail
;
5381 SWIG_null_ref("wxValidator");
5383 if (SWIG_arg_fail(7)) SWIG_fail
;
5388 arg8
= wxString_in_helper(obj7
);
5389 if (arg8
== NULL
) SWIG_fail
;
5394 if (!wxPyCheckForApp()) SWIG_fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5416 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5425 if (!wxPyCheckForApp()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (wxGauge
*)new wxGauge();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5439 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxGauge
*arg1
= (wxGauge
*) 0 ;
5442 wxWindow
*arg2
= (wxWindow
*) 0 ;
5443 int arg3
= (int) -1 ;
5444 int arg4
= (int) 100 ;
5445 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5446 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5447 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5448 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5449 long arg7
= (long) wxGA_HORIZONTAL
;
5450 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5451 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5452 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5453 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5457 bool temp9
= false ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5460 PyObject
* obj2
= 0 ;
5461 PyObject
* obj3
= 0 ;
5462 PyObject
* obj4
= 0 ;
5463 PyObject
* obj5
= 0 ;
5464 PyObject
* obj6
= 0 ;
5465 PyObject
* obj7
= 0 ;
5466 PyObject
* obj8
= 0 ;
5468 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5473 if (SWIG_arg_fail(1)) SWIG_fail
;
5474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5475 if (SWIG_arg_fail(2)) SWIG_fail
;
5478 arg3
= (int)(SWIG_As_int(obj2
));
5479 if (SWIG_arg_fail(3)) SWIG_fail
;
5484 arg4
= (int)(SWIG_As_int(obj3
));
5485 if (SWIG_arg_fail(4)) SWIG_fail
;
5491 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5497 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5502 arg7
= (long)(SWIG_As_long(obj6
));
5503 if (SWIG_arg_fail(7)) SWIG_fail
;
5508 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5509 if (SWIG_arg_fail(8)) SWIG_fail
;
5511 SWIG_null_ref("wxValidator");
5513 if (SWIG_arg_fail(8)) SWIG_fail
;
5518 arg9
= wxString_in_helper(obj8
);
5519 if (arg9
== NULL
) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5547 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxGauge
*arg1
= (wxGauge
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5554 (char *) "self",(char *) "range", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail
;
5561 arg2
= (int)(SWIG_As_int(obj1
));
5562 if (SWIG_arg_fail(2)) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 (arg1
)->SetRange(arg2
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxGauge
*arg1
= (wxGauge
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5584 (char *) "self", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5589 if (SWIG_arg_fail(1)) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_From_int((int)(result
));
5606 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
;
5608 wxGauge
*arg1
= (wxGauge
*) 0 ;
5610 PyObject
* obj0
= 0 ;
5611 PyObject
* obj1
= 0 ;
5613 (char *) "self",(char *) "pos", NULL
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5618 if (SWIG_arg_fail(1)) SWIG_fail
;
5620 arg2
= (int)(SWIG_As_int(obj1
));
5621 if (SWIG_arg_fail(2)) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 (arg1
)->SetValue(arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 Py_INCREF(Py_None
); resultobj
= Py_None
;
5637 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxGauge
*arg1
= (wxGauge
*) 0 ;
5641 PyObject
* obj0
= 0 ;
5643 (char *) "self", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5648 if (SWIG_arg_fail(1)) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= SWIG_From_int((int)(result
));
5665 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxGauge
*arg1
= (wxGauge
*) 0 ;
5669 PyObject
* obj0
= 0 ;
5671 (char *) "self", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5676 if (SWIG_arg_fail(1)) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5693 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxGauge
*arg1
= (wxGauge
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5700 (char *) "self",(char *) "w", NULL
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5705 if (SWIG_arg_fail(1)) SWIG_fail
;
5707 arg2
= (int)(SWIG_As_int(obj1
));
5708 if (SWIG_arg_fail(2)) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 (arg1
)->SetShadowWidth(arg2
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 Py_INCREF(Py_None
); resultobj
= Py_None
;
5724 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5726 wxGauge
*arg1
= (wxGauge
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5730 (char *) "self", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5735 if (SWIG_arg_fail(1)) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= SWIG_From_int((int)(result
));
5752 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 wxGauge
*arg1
= (wxGauge
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5759 (char *) "self",(char *) "w", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5764 if (SWIG_arg_fail(1)) SWIG_fail
;
5766 arg2
= (int)(SWIG_As_int(obj1
));
5767 if (SWIG_arg_fail(2)) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 (arg1
)->SetBezelFace(arg2
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 Py_INCREF(Py_None
); resultobj
= Py_None
;
5783 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxGauge
*arg1
= (wxGauge
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5789 (char *) "self", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5794 if (SWIG_arg_fail(1)) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= SWIG_From_int((int)(result
));
5811 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5814 wxVisualAttributes result
;
5815 PyObject
* obj0
= 0 ;
5817 (char *) "variant", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5823 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5824 if (SWIG_arg_fail(1)) SWIG_fail
;
5828 if (!wxPyCheckForApp()) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5836 wxVisualAttributes
* resultptr
;
5837 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5846 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5849 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5851 return Py_BuildValue((char *)"");
5853 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5854 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5859 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5864 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5866 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5873 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5874 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5879 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5884 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5886 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5893 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5894 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5899 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5904 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5906 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5913 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxWindow
*arg1
= (wxWindow
*) 0 ;
5916 int arg2
= (int) -1 ;
5917 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5918 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5923 long arg6
= (long) 0 ;
5924 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5925 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5926 wxStaticBox
*result
;
5927 bool temp3
= false ;
5930 bool temp7
= false ;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5933 PyObject
* obj2
= 0 ;
5934 PyObject
* obj3
= 0 ;
5935 PyObject
* obj4
= 0 ;
5936 PyObject
* obj5
= 0 ;
5937 PyObject
* obj6
= 0 ;
5939 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5944 if (SWIG_arg_fail(1)) SWIG_fail
;
5947 arg2
= (int)(SWIG_As_int(obj1
));
5948 if (SWIG_arg_fail(2)) SWIG_fail
;
5953 arg3
= wxString_in_helper(obj2
);
5954 if (arg3
== NULL
) SWIG_fail
;
5961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5972 arg6
= (long)(SWIG_As_long(obj5
));
5973 if (SWIG_arg_fail(6)) SWIG_fail
;
5978 arg7
= wxString_in_helper(obj6
);
5979 if (arg7
== NULL
) SWIG_fail
;
5984 if (!wxPyCheckForApp()) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6014 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
*resultobj
;
6016 wxStaticBox
*result
;
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6023 if (!wxPyCheckForApp()) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (wxStaticBox
*)new wxStaticBox();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6037 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6040 wxWindow
*arg2
= (wxWindow
*) 0 ;
6041 int arg3
= (int) -1 ;
6042 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6043 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6044 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6045 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6046 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6047 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6048 long arg7
= (long) 0 ;
6049 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6052 bool temp4
= false ;
6055 bool temp8
= false ;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6058 PyObject
* obj2
= 0 ;
6059 PyObject
* obj3
= 0 ;
6060 PyObject
* obj4
= 0 ;
6061 PyObject
* obj5
= 0 ;
6062 PyObject
* obj6
= 0 ;
6063 PyObject
* obj7
= 0 ;
6065 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6070 if (SWIG_arg_fail(1)) SWIG_fail
;
6071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6072 if (SWIG_arg_fail(2)) SWIG_fail
;
6075 arg3
= (int)(SWIG_As_int(obj2
));
6076 if (SWIG_arg_fail(3)) SWIG_fail
;
6081 arg4
= wxString_in_helper(obj3
);
6082 if (arg4
== NULL
) SWIG_fail
;
6089 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6095 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6100 arg7
= (long)(SWIG_As_long(obj6
));
6101 if (SWIG_arg_fail(7)) SWIG_fail
;
6106 arg8
= wxString_in_helper(obj7
);
6107 if (arg8
== NULL
) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6143 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6146 wxVisualAttributes result
;
6147 PyObject
* obj0
= 0 ;
6149 (char *) "variant", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6155 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6156 if (SWIG_arg_fail(1)) SWIG_fail
;
6160 if (!wxPyCheckForApp()) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6168 wxVisualAttributes
* resultptr
;
6169 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6178 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6181 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6183 return Py_BuildValue((char *)"");
6185 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxWindow
*arg1
= (wxWindow
*) 0 ;
6188 int arg2
= (int) -1 ;
6189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6193 long arg5
= (long) wxLI_HORIZONTAL
;
6194 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6195 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6196 wxStaticLine
*result
;
6199 bool temp6
= false ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6202 PyObject
* obj2
= 0 ;
6203 PyObject
* obj3
= 0 ;
6204 PyObject
* obj4
= 0 ;
6205 PyObject
* obj5
= 0 ;
6207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6212 if (SWIG_arg_fail(1)) SWIG_fail
;
6215 arg2
= (int)(SWIG_As_int(obj1
));
6216 if (SWIG_arg_fail(2)) SWIG_fail
;
6222 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6228 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6233 arg5
= (long)(SWIG_As_long(obj4
));
6234 if (SWIG_arg_fail(5)) SWIG_fail
;
6239 arg6
= wxString_in_helper(obj5
);
6240 if (arg6
== NULL
) SWIG_fail
;
6245 if (!wxPyCheckForApp()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6267 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxStaticLine
*result
;
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6276 if (!wxPyCheckForApp()) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 result
= (wxStaticLine
*)new wxStaticLine();
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6290 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6293 wxWindow
*arg2
= (wxWindow
*) 0 ;
6294 int arg3
= (int) -1 ;
6295 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6296 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6297 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6298 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6299 long arg6
= (long) wxLI_HORIZONTAL
;
6300 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6301 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6305 bool temp7
= false ;
6306 PyObject
* obj0
= 0 ;
6307 PyObject
* obj1
= 0 ;
6308 PyObject
* obj2
= 0 ;
6309 PyObject
* obj3
= 0 ;
6310 PyObject
* obj4
= 0 ;
6311 PyObject
* obj5
= 0 ;
6312 PyObject
* obj6
= 0 ;
6314 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6319 if (SWIG_arg_fail(1)) SWIG_fail
;
6320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6321 if (SWIG_arg_fail(2)) SWIG_fail
;
6324 arg3
= (int)(SWIG_As_int(obj2
));
6325 if (SWIG_arg_fail(3)) SWIG_fail
;
6331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6342 arg6
= (long)(SWIG_As_long(obj5
));
6343 if (SWIG_arg_fail(6)) SWIG_fail
;
6348 arg7
= wxString_in_helper(obj6
);
6349 if (arg7
== NULL
) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6377 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6383 (char *) "self", NULL
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6388 if (SWIG_arg_fail(1)) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6405 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (int)wxStaticLine::GetDefaultSize();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= SWIG_From_int((int)(result
));
6429 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6432 wxVisualAttributes result
;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "variant", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6441 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6442 if (SWIG_arg_fail(1)) SWIG_fail
;
6446 if (!wxPyCheckForApp()) SWIG_fail
;
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6454 wxVisualAttributes
* resultptr
;
6455 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6464 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6469 return Py_BuildValue((char *)"");
6471 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxWindow
*arg1
= (wxWindow
*) 0 ;
6474 int arg2
= (int) -1 ;
6475 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6476 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6481 long arg6
= (long) 0 ;
6482 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6484 wxStaticText
*result
;
6485 bool temp3
= false ;
6488 bool temp7
= false ;
6489 PyObject
* obj0
= 0 ;
6490 PyObject
* obj1
= 0 ;
6491 PyObject
* obj2
= 0 ;
6492 PyObject
* obj3
= 0 ;
6493 PyObject
* obj4
= 0 ;
6494 PyObject
* obj5
= 0 ;
6495 PyObject
* obj6
= 0 ;
6497 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6502 if (SWIG_arg_fail(1)) SWIG_fail
;
6505 arg2
= (int)(SWIG_As_int(obj1
));
6506 if (SWIG_arg_fail(2)) SWIG_fail
;
6511 arg3
= wxString_in_helper(obj2
);
6512 if (arg3
== NULL
) SWIG_fail
;
6519 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6525 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6530 arg6
= (long)(SWIG_As_long(obj5
));
6531 if (SWIG_arg_fail(6)) SWIG_fail
;
6536 arg7
= wxString_in_helper(obj6
);
6537 if (arg7
== NULL
) SWIG_fail
;
6542 if (!wxPyCheckForApp()) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6572 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxStaticText
*result
;
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6581 if (!wxPyCheckForApp()) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= (wxStaticText
*)new wxStaticText();
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6595 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6598 wxWindow
*arg2
= (wxWindow
*) 0 ;
6599 int arg3
= (int) -1 ;
6600 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6601 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6602 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6603 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6604 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6605 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6606 long arg7
= (long) 0 ;
6607 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6608 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6610 bool temp4
= false ;
6613 bool temp8
= false ;
6614 PyObject
* obj0
= 0 ;
6615 PyObject
* obj1
= 0 ;
6616 PyObject
* obj2
= 0 ;
6617 PyObject
* obj3
= 0 ;
6618 PyObject
* obj4
= 0 ;
6619 PyObject
* obj5
= 0 ;
6620 PyObject
* obj6
= 0 ;
6621 PyObject
* obj7
= 0 ;
6623 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6628 if (SWIG_arg_fail(1)) SWIG_fail
;
6629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6630 if (SWIG_arg_fail(2)) SWIG_fail
;
6633 arg3
= (int)(SWIG_As_int(obj2
));
6634 if (SWIG_arg_fail(3)) SWIG_fail
;
6639 arg4
= wxString_in_helper(obj3
);
6640 if (arg4
== NULL
) SWIG_fail
;
6647 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6653 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6658 arg7
= (long)(SWIG_As_long(obj6
));
6659 if (SWIG_arg_fail(7)) SWIG_fail
;
6664 arg8
= wxString_in_helper(obj7
);
6665 if (arg8
== NULL
) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6701 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6704 wxVisualAttributes result
;
6705 PyObject
* obj0
= 0 ;
6707 (char *) "variant", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6713 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6714 if (SWIG_arg_fail(1)) SWIG_fail
;
6718 if (!wxPyCheckForApp()) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 wxVisualAttributes
* resultptr
;
6727 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6736 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6739 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6741 return Py_BuildValue((char *)"");
6743 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxWindow
*arg1
= (wxWindow
*) 0 ;
6746 int arg2
= (int) -1 ;
6747 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6748 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6749 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6750 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6751 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6752 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6753 long arg6
= (long) 0 ;
6754 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6755 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6756 wxStaticBitmap
*result
;
6759 bool temp7
= false ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 PyObject
* obj2
= 0 ;
6763 PyObject
* obj3
= 0 ;
6764 PyObject
* obj4
= 0 ;
6765 PyObject
* obj5
= 0 ;
6766 PyObject
* obj6
= 0 ;
6768 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail
;
6776 arg2
= (int)(SWIG_As_int(obj1
));
6777 if (SWIG_arg_fail(2)) SWIG_fail
;
6782 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6783 if (SWIG_arg_fail(3)) SWIG_fail
;
6785 SWIG_null_ref("wxBitmap");
6787 if (SWIG_arg_fail(3)) SWIG_fail
;
6793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6804 arg6
= (long)(SWIG_As_long(obj5
));
6805 if (SWIG_arg_fail(6)) SWIG_fail
;
6810 arg7
= wxString_in_helper(obj6
);
6811 if (arg7
== NULL
) SWIG_fail
;
6816 if (!wxPyCheckForApp()) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6838 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxStaticBitmap
*result
;
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6847 if (!wxPyCheckForApp()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6861 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6864 wxWindow
*arg2
= (wxWindow
*) 0 ;
6865 int arg3
= (int) -1 ;
6866 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6867 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6868 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6869 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6870 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6871 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6872 long arg7
= (long) 0 ;
6873 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6874 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6878 bool temp8
= false ;
6879 PyObject
* obj0
= 0 ;
6880 PyObject
* obj1
= 0 ;
6881 PyObject
* obj2
= 0 ;
6882 PyObject
* obj3
= 0 ;
6883 PyObject
* obj4
= 0 ;
6884 PyObject
* obj5
= 0 ;
6885 PyObject
* obj6
= 0 ;
6886 PyObject
* obj7
= 0 ;
6888 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6893 if (SWIG_arg_fail(1)) SWIG_fail
;
6894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6895 if (SWIG_arg_fail(2)) SWIG_fail
;
6898 arg3
= (int)(SWIG_As_int(obj2
));
6899 if (SWIG_arg_fail(3)) SWIG_fail
;
6904 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6905 if (SWIG_arg_fail(4)) SWIG_fail
;
6907 SWIG_null_ref("wxBitmap");
6909 if (SWIG_arg_fail(4)) SWIG_fail
;
6915 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6921 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6926 arg7
= (long)(SWIG_As_long(obj6
));
6927 if (SWIG_arg_fail(7)) SWIG_fail
;
6932 arg8
= wxString_in_helper(obj7
);
6933 if (arg8
== NULL
) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6961 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "self", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6972 if (SWIG_arg_fail(1)) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (arg1
)->GetBitmap();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6981 wxBitmap
* resultptr
;
6982 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6991 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6994 wxBitmap
*arg2
= 0 ;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6998 (char *) "self",(char *) "bitmap", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7003 if (SWIG_arg_fail(1)) SWIG_fail
;
7005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7006 if (SWIG_arg_fail(2)) SWIG_fail
;
7008 SWIG_null_ref("wxBitmap");
7010 if (SWIG_arg_fail(2)) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 Py_INCREF(Py_None
); resultobj
= Py_None
;
7026 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7031 PyObject
* obj1
= 0 ;
7033 (char *) "self",(char *) "icon", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7038 if (SWIG_arg_fail(1)) SWIG_fail
;
7040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7041 if (SWIG_arg_fail(2)) SWIG_fail
;
7043 SWIG_null_ref("wxIcon");
7045 if (SWIG_arg_fail(2)) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 Py_INCREF(Py_None
); resultobj
= Py_None
;
7061 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
;
7063 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7064 wxVisualAttributes result
;
7065 PyObject
* obj0
= 0 ;
7067 (char *) "variant", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7073 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7074 if (SWIG_arg_fail(1)) SWIG_fail
;
7078 if (!wxPyCheckForApp()) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7086 wxVisualAttributes
* resultptr
;
7087 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7096 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7099 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7101 return Py_BuildValue((char *)"");
7103 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7104 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7109 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7114 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7116 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7123 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxWindow
*arg1
= (wxWindow
*) 0 ;
7126 int arg2
= (int) -1 ;
7127 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7128 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7129 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7130 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7131 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7132 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7133 long arg6
= (long) 0 ;
7134 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7135 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7136 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7137 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7141 bool temp5
= false ;
7142 bool temp8
= false ;
7143 PyObject
* obj0
= 0 ;
7144 PyObject
* obj1
= 0 ;
7145 PyObject
* obj2
= 0 ;
7146 PyObject
* obj3
= 0 ;
7147 PyObject
* obj4
= 0 ;
7148 PyObject
* obj5
= 0 ;
7149 PyObject
* obj6
= 0 ;
7150 PyObject
* obj7
= 0 ;
7152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7157 if (SWIG_arg_fail(1)) SWIG_fail
;
7160 arg2
= (int)(SWIG_As_int(obj1
));
7161 if (SWIG_arg_fail(2)) SWIG_fail
;
7167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7178 if (! PySequence_Check(obj4
)) {
7179 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7182 arg5
= new wxArrayString
;
7184 int i
, len
=PySequence_Length(obj4
);
7185 for (i
=0; i
<len
; i
++) {
7186 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7187 wxString
* s
= wxString_in_helper(item
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7197 arg6
= (long)(SWIG_As_long(obj5
));
7198 if (SWIG_arg_fail(6)) SWIG_fail
;
7203 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7204 if (SWIG_arg_fail(7)) SWIG_fail
;
7206 SWIG_null_ref("wxValidator");
7208 if (SWIG_arg_fail(7)) SWIG_fail
;
7213 arg8
= wxString_in_helper(obj7
);
7214 if (arg8
== NULL
) SWIG_fail
;
7219 if (!wxPyCheckForApp()) SWIG_fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7228 if (temp5
) delete arg5
;
7237 if (temp5
) delete arg5
;
7247 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7256 if (!wxPyCheckForApp()) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (wxListBox
*)new wxListBox();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7270 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxListBox
*arg1
= (wxListBox
*) 0 ;
7273 wxWindow
*arg2
= (wxWindow
*) 0 ;
7274 int arg3
= (int) -1 ;
7275 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7276 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7277 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7278 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7279 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7280 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7281 long arg7
= (long) 0 ;
7282 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7283 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7284 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7285 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7289 bool temp6
= false ;
7290 bool temp9
= false ;
7291 PyObject
* obj0
= 0 ;
7292 PyObject
* obj1
= 0 ;
7293 PyObject
* obj2
= 0 ;
7294 PyObject
* obj3
= 0 ;
7295 PyObject
* obj4
= 0 ;
7296 PyObject
* obj5
= 0 ;
7297 PyObject
* obj6
= 0 ;
7298 PyObject
* obj7
= 0 ;
7299 PyObject
* obj8
= 0 ;
7301 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7306 if (SWIG_arg_fail(1)) SWIG_fail
;
7307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7308 if (SWIG_arg_fail(2)) SWIG_fail
;
7311 arg3
= (int)(SWIG_As_int(obj2
));
7312 if (SWIG_arg_fail(3)) SWIG_fail
;
7318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7329 if (! PySequence_Check(obj5
)) {
7330 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7333 arg6
= new wxArrayString
;
7335 int i
, len
=PySequence_Length(obj5
);
7336 for (i
=0; i
<len
; i
++) {
7337 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7338 wxString
* s
= wxString_in_helper(item
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7348 arg7
= (long)(SWIG_As_long(obj6
));
7349 if (SWIG_arg_fail(7)) SWIG_fail
;
7354 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7355 if (SWIG_arg_fail(8)) SWIG_fail
;
7357 SWIG_null_ref("wxValidator");
7359 if (SWIG_arg_fail(8)) SWIG_fail
;
7364 arg9
= wxString_in_helper(obj8
);
7365 if (arg9
== NULL
) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7380 if (temp6
) delete arg6
;
7389 if (temp6
) delete arg6
;
7399 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxListBox
*arg1
= (wxListBox
*) 0 ;
7402 wxString
*arg2
= 0 ;
7404 PyObject
*arg4
= (PyObject
*) NULL
;
7405 bool temp2
= false ;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7408 PyObject
* obj2
= 0 ;
7409 PyObject
* obj3
= 0 ;
7411 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail
;
7418 arg2
= wxString_in_helper(obj1
);
7419 if (arg2
== NULL
) SWIG_fail
;
7423 arg3
= (int)(SWIG_As_int(obj2
));
7424 if (SWIG_arg_fail(3)) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 Py_INCREF(Py_None
); resultobj
= Py_None
;
7451 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
;
7453 wxListBox
*arg1
= (wxListBox
*) 0 ;
7454 wxArrayString
*arg2
= 0 ;
7456 bool temp2
= false ;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7459 PyObject
* obj2
= 0 ;
7461 (char *) "self",(char *) "items",(char *) "pos", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7466 if (SWIG_arg_fail(1)) SWIG_fail
;
7468 if (! PySequence_Check(obj1
)) {
7469 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7472 arg2
= new wxArrayString
;
7474 int i
, len
=PySequence_Length(obj1
);
7475 for (i
=0; i
<len
; i
++) {
7476 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7477 wxString
* s
= wxString_in_helper(item
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7485 arg3
= (int)(SWIG_As_int(obj2
));
7486 if (SWIG_arg_fail(3)) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 Py_INCREF(Py_None
); resultobj
= Py_None
;
7497 if (temp2
) delete arg2
;
7502 if (temp2
) delete arg2
;
7508 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxListBox
*arg1
= (wxListBox
*) 0 ;
7511 wxArrayString
*arg2
= 0 ;
7512 bool temp2
= false ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7516 (char *) "self",(char *) "items", NULL
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7521 if (SWIG_arg_fail(1)) SWIG_fail
;
7523 if (! PySequence_Check(obj1
)) {
7524 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7527 arg2
= new wxArrayString
;
7529 int i
, len
=PySequence_Length(obj1
);
7530 for (i
=0; i
<len
; i
++) {
7531 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7532 wxString
* s
= wxString_in_helper(item
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 (arg1
)->Set((wxArrayString
const &)*arg2
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 Py_INCREF(Py_None
); resultobj
= Py_None
;
7548 if (temp2
) delete arg2
;
7553 if (temp2
) delete arg2
;
7559 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
;
7561 wxListBox
*arg1
= (wxListBox
*) 0 ;
7564 PyObject
* obj0
= 0 ;
7565 PyObject
* obj1
= 0 ;
7567 (char *) "self",(char *) "n", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7572 if (SWIG_arg_fail(1)) SWIG_fail
;
7574 arg2
= (int)(SWIG_As_int(obj1
));
7575 if (SWIG_arg_fail(2)) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7593 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxListBox
*arg1
= (wxListBox
*) 0 ;
7597 bool arg3
= (bool) true ;
7598 PyObject
* obj0
= 0 ;
7599 PyObject
* obj1
= 0 ;
7600 PyObject
* obj2
= 0 ;
7602 (char *) "self",(char *) "n",(char *) "select", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7607 if (SWIG_arg_fail(1)) SWIG_fail
;
7609 arg2
= (int)(SWIG_As_int(obj1
));
7610 if (SWIG_arg_fail(2)) SWIG_fail
;
7614 arg3
= (bool)(SWIG_As_bool(obj2
));
7615 if (SWIG_arg_fail(3)) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 (arg1
)->SetSelection(arg2
,arg3
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 Py_INCREF(Py_None
); resultobj
= Py_None
;
7632 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxListBox
*arg1
= (wxListBox
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7637 PyObject
* obj1
= 0 ;
7639 (char *) "self",(char *) "n", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7644 if (SWIG_arg_fail(1)) SWIG_fail
;
7646 arg2
= (int)(SWIG_As_int(obj1
));
7647 if (SWIG_arg_fail(2)) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 (arg1
)->Select(arg2
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 Py_INCREF(Py_None
); resultobj
= Py_None
;
7663 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxListBox
*arg1
= (wxListBox
*) 0 ;
7667 PyObject
* obj0
= 0 ;
7668 PyObject
* obj1
= 0 ;
7670 (char *) "self",(char *) "n", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7675 if (SWIG_arg_fail(1)) SWIG_fail
;
7677 arg2
= (int)(SWIG_As_int(obj1
));
7678 if (SWIG_arg_fail(2)) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 (arg1
)->Deselect(arg2
);
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7687 Py_INCREF(Py_None
); resultobj
= Py_None
;
7694 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxListBox
*arg1
= (wxListBox
*) 0 ;
7697 int arg2
= (int) -1 ;
7698 PyObject
* obj0
= 0 ;
7699 PyObject
* obj1
= 0 ;
7701 (char *) "self",(char *) "itemToLeaveSelected", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7706 if (SWIG_arg_fail(1)) SWIG_fail
;
7709 arg2
= (int)(SWIG_As_int(obj1
));
7710 if (SWIG_arg_fail(2)) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 (arg1
)->DeselectAll(arg2
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 Py_INCREF(Py_None
); resultobj
= Py_None
;
7727 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxListBox
*arg1
= (wxListBox
*) 0 ;
7730 wxString
*arg2
= 0 ;
7731 bool arg3
= (bool) true ;
7733 bool temp2
= false ;
7734 PyObject
* obj0
= 0 ;
7735 PyObject
* obj1
= 0 ;
7736 PyObject
* obj2
= 0 ;
7738 (char *) "self",(char *) "s",(char *) "select", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7743 if (SWIG_arg_fail(1)) SWIG_fail
;
7745 arg2
= wxString_in_helper(obj1
);
7746 if (arg2
== NULL
) SWIG_fail
;
7751 arg3
= (bool)(SWIG_As_bool(obj2
));
7752 if (SWIG_arg_fail(3)) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7779 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxListBox
*arg1
= (wxListBox
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7805 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxListBox
*arg1
= (wxListBox
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7812 (char *) "self",(char *) "n", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail
;
7819 arg2
= (int)(SWIG_As_int(obj1
));
7820 if (SWIG_arg_fail(2)) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 (arg1
)->SetFirstItem(arg2
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 Py_INCREF(Py_None
); resultobj
= Py_None
;
7836 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxListBox
*arg1
= (wxListBox
*) 0 ;
7839 wxString
*arg2
= 0 ;
7840 bool temp2
= false ;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7844 (char *) "self",(char *) "s", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 arg2
= wxString_in_helper(obj1
);
7852 if (arg2
== NULL
) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7877 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxListBox
*arg1
= (wxListBox
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7882 PyObject
* obj1
= 0 ;
7884 (char *) "self",(char *) "n", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7889 if (SWIG_arg_fail(1)) SWIG_fail
;
7891 arg2
= (int)(SWIG_As_int(obj1
));
7892 if (SWIG_arg_fail(2)) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 (arg1
)->EnsureVisible(arg2
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 Py_INCREF(Py_None
); resultobj
= Py_None
;
7908 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxListBox
*arg1
= (wxListBox
*) 0 ;
7911 wxString
*arg2
= 0 ;
7912 bool temp2
= false ;
7913 PyObject
* obj0
= 0 ;
7914 PyObject
* obj1
= 0 ;
7916 (char *) "self",(char *) "s", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7921 if (SWIG_arg_fail(1)) SWIG_fail
;
7923 arg2
= wxString_in_helper(obj1
);
7924 if (arg2
== NULL
) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 Py_INCREF(Py_None
); resultobj
= Py_None
;
7949 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxListBox
*arg1
= (wxListBox
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7955 (char *) "self", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7960 if (SWIG_arg_fail(1)) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7977 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxListBox
*arg1
= (wxListBox
*) 0 ;
7981 wxColour
*arg3
= 0 ;
7983 PyObject
* obj0
= 0 ;
7984 PyObject
* obj1
= 0 ;
7985 PyObject
* obj2
= 0 ;
7987 (char *) "self",(char *) "item",(char *) "c", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7992 if (SWIG_arg_fail(1)) SWIG_fail
;
7994 arg2
= (int)(SWIG_As_int(obj1
));
7995 if (SWIG_arg_fail(2)) SWIG_fail
;
7999 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxListBox
*arg1
= (wxListBox
*) 0 ;
8019 wxColour
*arg3
= 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 PyObject
* obj2
= 0 ;
8025 (char *) "self",(char *) "item",(char *) "c", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail
;
8032 arg2
= (int)(SWIG_As_int(obj1
));
8033 if (SWIG_arg_fail(2)) SWIG_fail
;
8037 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 Py_INCREF(Py_None
); resultobj
= Py_None
;
8053 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxListBox
*arg1
= (wxListBox
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8060 PyObject
* obj2
= 0 ;
8062 (char *) "self",(char *) "item",(char *) "f", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8067 if (SWIG_arg_fail(1)) SWIG_fail
;
8069 arg2
= (int)(SWIG_As_int(obj1
));
8070 if (SWIG_arg_fail(2)) SWIG_fail
;
8073 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8074 if (SWIG_arg_fail(3)) SWIG_fail
;
8076 SWIG_null_ref("wxFont");
8078 if (SWIG_arg_fail(3)) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 Py_INCREF(Py_None
); resultobj
= Py_None
;
8094 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8097 wxVisualAttributes result
;
8098 PyObject
* obj0
= 0 ;
8100 (char *) "variant", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8106 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8107 if (SWIG_arg_fail(1)) SWIG_fail
;
8111 if (!wxPyCheckForApp()) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8119 wxVisualAttributes
* resultptr
;
8120 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8129 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8132 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8134 return Py_BuildValue((char *)"");
8136 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxWindow
*arg1
= (wxWindow
*) 0 ;
8139 int arg2
= (int) -1 ;
8140 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8141 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8142 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8143 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8144 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8145 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8146 long arg6
= (long) 0 ;
8147 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8148 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8149 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8150 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8151 wxCheckListBox
*result
;
8154 bool temp5
= false ;
8155 bool temp8
= false ;
8156 PyObject
* obj0
= 0 ;
8157 PyObject
* obj1
= 0 ;
8158 PyObject
* obj2
= 0 ;
8159 PyObject
* obj3
= 0 ;
8160 PyObject
* obj4
= 0 ;
8161 PyObject
* obj5
= 0 ;
8162 PyObject
* obj6
= 0 ;
8163 PyObject
* obj7
= 0 ;
8165 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail
;
8173 arg2
= (int)(SWIG_As_int(obj1
));
8174 if (SWIG_arg_fail(2)) SWIG_fail
;
8180 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8186 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8191 if (! PySequence_Check(obj4
)) {
8192 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8195 arg5
= new wxArrayString
;
8197 int i
, len
=PySequence_Length(obj4
);
8198 for (i
=0; i
<len
; i
++) {
8199 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8200 wxString
* s
= wxString_in_helper(item
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8210 arg6
= (long)(SWIG_As_long(obj5
));
8211 if (SWIG_arg_fail(6)) SWIG_fail
;
8216 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8217 if (SWIG_arg_fail(7)) SWIG_fail
;
8219 SWIG_null_ref("wxValidator");
8221 if (SWIG_arg_fail(7)) SWIG_fail
;
8226 arg8
= wxString_in_helper(obj7
);
8227 if (arg8
== NULL
) SWIG_fail
;
8232 if (!wxPyCheckForApp()) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8241 if (temp5
) delete arg5
;
8250 if (temp5
) delete arg5
;
8260 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxCheckListBox
*result
;
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8269 if (!wxPyCheckForApp()) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 result
= (wxCheckListBox
*)new wxCheckListBox();
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8283 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8286 wxWindow
*arg2
= (wxWindow
*) 0 ;
8287 int arg3
= (int) -1 ;
8288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8292 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8293 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8294 long arg7
= (long) 0 ;
8295 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8296 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8297 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8298 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8302 bool temp6
= false ;
8303 bool temp9
= false ;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj1
= 0 ;
8306 PyObject
* obj2
= 0 ;
8307 PyObject
* obj3
= 0 ;
8308 PyObject
* obj4
= 0 ;
8309 PyObject
* obj5
= 0 ;
8310 PyObject
* obj6
= 0 ;
8311 PyObject
* obj7
= 0 ;
8312 PyObject
* obj8
= 0 ;
8314 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8319 if (SWIG_arg_fail(1)) SWIG_fail
;
8320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8321 if (SWIG_arg_fail(2)) SWIG_fail
;
8324 arg3
= (int)(SWIG_As_int(obj2
));
8325 if (SWIG_arg_fail(3)) SWIG_fail
;
8331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8342 if (! PySequence_Check(obj5
)) {
8343 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8346 arg6
= new wxArrayString
;
8348 int i
, len
=PySequence_Length(obj5
);
8349 for (i
=0; i
<len
; i
++) {
8350 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8351 wxString
* s
= wxString_in_helper(item
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8361 arg7
= (long)(SWIG_As_long(obj6
));
8362 if (SWIG_arg_fail(7)) SWIG_fail
;
8367 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8368 if (SWIG_arg_fail(8)) SWIG_fail
;
8370 SWIG_null_ref("wxValidator");
8372 if (SWIG_arg_fail(8)) SWIG_fail
;
8377 arg9
= wxString_in_helper(obj8
);
8378 if (arg9
== NULL
) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8393 if (temp6
) delete arg6
;
8402 if (temp6
) delete arg6
;
8412 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8420 (char *) "self",(char *) "index", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8425 if (SWIG_arg_fail(1)) SWIG_fail
;
8427 arg2
= (int)(SWIG_As_int(obj1
));
8428 if (SWIG_arg_fail(2)) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (bool)(arg1
)->IsChecked(arg2
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8446 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8450 int arg3
= (int) true ;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8453 PyObject
* obj2
= 0 ;
8455 (char *) "self",(char *) "index",(char *) "check", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8460 if (SWIG_arg_fail(1)) SWIG_fail
;
8462 arg2
= (int)(SWIG_As_int(obj1
));
8463 if (SWIG_arg_fail(2)) SWIG_fail
;
8467 arg3
= (int)(SWIG_As_int(obj2
));
8468 if (SWIG_arg_fail(3)) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 (arg1
)->Check(arg2
,arg3
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8485 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8489 PyObject
* obj0
= 0 ;
8491 (char *) "self", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8496 if (SWIG_arg_fail(1)) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= (int)(arg1
)->GetItemHeight();
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= SWIG_From_int((int)(result
));
8513 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
;
8515 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8522 (char *) "self",(char *) "pt", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8527 if (SWIG_arg_fail(1)) SWIG_fail
;
8530 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_From_int((int)(result
));
8548 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8556 PyObject
* obj2
= 0 ;
8558 (char *) "self",(char *) "x",(char *) "y", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8563 if (SWIG_arg_fail(1)) SWIG_fail
;
8565 arg2
= (int)(SWIG_As_int(obj1
));
8566 if (SWIG_arg_fail(2)) SWIG_fail
;
8569 arg3
= (int)(SWIG_As_int(obj2
));
8570 if (SWIG_arg_fail(3)) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= SWIG_From_int((int)(result
));
8588 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8591 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8593 return Py_BuildValue((char *)"");
8595 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8596 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8601 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8606 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8608 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8615 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
;
8617 wxColour
const &arg1_defvalue
= wxNullColour
;
8618 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8619 wxColour
const &arg2_defvalue
= wxNullColour
;
8620 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8621 wxFont
const &arg3_defvalue
= wxNullFont
;
8622 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8623 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 PyObject
* obj2
= 0 ;
8630 PyObject
* obj3
= 0 ;
8632 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8639 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8645 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8650 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8651 if (SWIG_arg_fail(3)) SWIG_fail
;
8653 SWIG_null_ref("wxFont");
8655 if (SWIG_arg_fail(3)) SWIG_fail
;
8660 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8661 if (SWIG_arg_fail(4)) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8678 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8681 PyObject
* obj0
= 0 ;
8683 (char *) "self", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8688 if (SWIG_arg_fail(1)) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 Py_INCREF(Py_None
); resultobj
= Py_None
;
8703 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8706 PyObject
* obj0
= 0 ;
8708 (char *) "self", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8728 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8731 wxColour
*arg2
= 0 ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8736 (char *) "self",(char *) "colText", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail
;
8744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 Py_INCREF(Py_None
); resultobj
= Py_None
;
8760 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8763 wxColour
*arg2
= 0 ;
8765 PyObject
* obj0
= 0 ;
8766 PyObject
* obj1
= 0 ;
8768 (char *) "self",(char *) "colBack", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8773 if (SWIG_arg_fail(1)) SWIG_fail
;
8776 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 Py_INCREF(Py_None
); resultobj
= Py_None
;
8792 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8796 long arg3
= (long) wxTEXT_ATTR_FONT
;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj1
= 0 ;
8799 PyObject
* obj2
= 0 ;
8801 (char *) "self",(char *) "font",(char *) "flags", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8806 if (SWIG_arg_fail(1)) SWIG_fail
;
8808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8809 if (SWIG_arg_fail(2)) SWIG_fail
;
8811 SWIG_null_ref("wxFont");
8813 if (SWIG_arg_fail(2)) SWIG_fail
;
8817 arg3
= (long)(SWIG_As_long(obj2
));
8818 if (SWIG_arg_fail(3)) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 Py_INCREF(Py_None
); resultobj
= Py_None
;
8835 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8838 wxTextAttrAlignment arg2
;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8842 (char *) "self",(char *) "alignment", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8847 if (SWIG_arg_fail(1)) SWIG_fail
;
8849 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8850 if (SWIG_arg_fail(2)) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 Py_INCREF(Py_None
); resultobj
= Py_None
;
8866 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8869 wxArrayInt
*arg2
= 0 ;
8870 bool temp2
= false ;
8871 PyObject
* obj0
= 0 ;
8872 PyObject
* obj1
= 0 ;
8874 (char *) "self",(char *) "tabs", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8879 if (SWIG_arg_fail(1)) SWIG_fail
;
8881 if (! PySequence_Check(obj1
)) {
8882 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8885 arg2
= new wxArrayInt
;
8887 int i
, len
=PySequence_Length(obj1
);
8888 for (i
=0; i
<len
; i
++) {
8889 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8890 PyObject
* number
= PyNumber_Int(item
);
8891 arg2
->Add(PyInt_AS_LONG(number
));
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 Py_INCREF(Py_None
); resultobj
= Py_None
;
8905 if (temp2
) delete arg2
;
8910 if (temp2
) delete arg2
;
8916 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8920 int arg3
= (int) 0 ;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8923 PyObject
* obj2
= 0 ;
8925 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8930 if (SWIG_arg_fail(1)) SWIG_fail
;
8932 arg2
= (int)(SWIG_As_int(obj1
));
8933 if (SWIG_arg_fail(2)) SWIG_fail
;
8937 arg3
= (int)(SWIG_As_int(obj2
));
8938 if (SWIG_arg_fail(3)) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 (arg1
)->SetLeftIndent(arg2
,arg3
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 Py_INCREF(Py_None
); resultobj
= Py_None
;
8955 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8962 (char *) "self",(char *) "indent", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8967 if (SWIG_arg_fail(1)) SWIG_fail
;
8969 arg2
= (int)(SWIG_As_int(obj1
));
8970 if (SWIG_arg_fail(2)) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 (arg1
)->SetRightIndent(arg2
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 Py_INCREF(Py_None
); resultobj
= Py_None
;
8986 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8993 (char *) "self",(char *) "flags", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8998 if (SWIG_arg_fail(1)) SWIG_fail
;
9000 arg2
= (long)(SWIG_As_long(obj1
));
9001 if (SWIG_arg_fail(2)) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 (arg1
)->SetFlags(arg2
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 Py_INCREF(Py_None
); resultobj
= Py_None
;
9017 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9021 PyObject
* obj0
= 0 ;
9023 (char *) "self", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9028 if (SWIG_arg_fail(1)) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9045 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9049 PyObject
* obj0
= 0 ;
9051 (char *) "self", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9056 if (SWIG_arg_fail(1)) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9073 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9077 PyObject
* obj0
= 0 ;
9079 (char *) "self", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9101 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9105 PyObject
* obj0
= 0 ;
9107 (char *) "self", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9112 if (SWIG_arg_fail(1)) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9129 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9131 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9133 PyObject
* obj0
= 0 ;
9135 (char *) "self", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9140 if (SWIG_arg_fail(1)) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9157 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9161 PyObject
* obj0
= 0 ;
9163 (char *) "self", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9185 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "self", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9196 if (SWIG_arg_fail(1)) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9213 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9218 PyObject
* obj0
= 0 ;
9219 PyObject
* obj1
= 0 ;
9221 (char *) "self",(char *) "flag", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9226 if (SWIG_arg_fail(1)) SWIG_fail
;
9228 arg2
= (long)(SWIG_As_long(obj1
));
9229 if (SWIG_arg_fail(2)) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9247 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9249 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9251 PyObject
* obj0
= 0 ;
9253 (char *) "self", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9258 if (SWIG_arg_fail(1)) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9263 result
= (wxColour
*) &_result_ref
;
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9276 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
;
9278 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9282 (char *) "self", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9287 if (SWIG_arg_fail(1)) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9292 result
= (wxColour
*) &_result_ref
;
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9305 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9311 (char *) "self", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9321 result
= (wxFont
*) &_result_ref
;
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9328 wxFont
* resultptr
= new wxFont(*result
);
9329 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9337 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9340 wxTextAttrAlignment result
;
9341 PyObject
* obj0
= 0 ;
9343 (char *) "self", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9348 if (SWIG_arg_fail(1)) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= SWIG_From_int((result
));
9363 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9369 (char *) "self", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9374 if (SWIG_arg_fail(1)) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9379 result
= (wxArrayInt
*) &_result_ref
;
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= PyList_New(0);
9388 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9389 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9390 PyList_Append(resultobj
, val
);
9400 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9411 if (SWIG_arg_fail(1)) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_From_long((long)(result
));
9428 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
;
9430 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9432 PyObject
* obj0
= 0 ;
9434 (char *) "self", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9439 if (SWIG_arg_fail(1)) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_From_long((long)(result
));
9456 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9462 (char *) "self", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9467 if (SWIG_arg_fail(1)) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_From_long((long)(result
));
9484 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
;
9486 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9490 (char *) "self", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9495 if (SWIG_arg_fail(1)) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_From_long((long)(result
));
9512 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9523 if (SWIG_arg_fail(1)) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9540 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxTextAttr
*arg1
= 0 ;
9543 wxTextAttr
*arg2
= 0 ;
9544 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9546 PyObject
* obj0
= 0 ;
9547 PyObject
* obj1
= 0 ;
9548 PyObject
* obj2
= 0 ;
9550 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9556 if (SWIG_arg_fail(1)) SWIG_fail
;
9558 SWIG_null_ref("wxTextAttr");
9560 if (SWIG_arg_fail(1)) SWIG_fail
;
9563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9564 if (SWIG_arg_fail(2)) SWIG_fail
;
9566 SWIG_null_ref("wxTextAttr");
9568 if (SWIG_arg_fail(2)) SWIG_fail
;
9570 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9571 if (SWIG_arg_fail(3)) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9580 wxTextAttr
* resultptr
;
9581 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9590 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9593 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9595 return Py_BuildValue((char *)"");
9597 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxWindow
*arg1
= (wxWindow
*) 0 ;
9600 int arg2
= (int) -1 ;
9601 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9603 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9604 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9605 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9606 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9607 long arg6
= (long) 0 ;
9608 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9609 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9610 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9611 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9613 bool temp3
= false ;
9616 bool temp8
= false ;
9617 PyObject
* obj0
= 0 ;
9618 PyObject
* obj1
= 0 ;
9619 PyObject
* obj2
= 0 ;
9620 PyObject
* obj3
= 0 ;
9621 PyObject
* obj4
= 0 ;
9622 PyObject
* obj5
= 0 ;
9623 PyObject
* obj6
= 0 ;
9624 PyObject
* obj7
= 0 ;
9626 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9631 if (SWIG_arg_fail(1)) SWIG_fail
;
9634 arg2
= (int)(SWIG_As_int(obj1
));
9635 if (SWIG_arg_fail(2)) SWIG_fail
;
9640 arg3
= wxString_in_helper(obj2
);
9641 if (arg3
== NULL
) SWIG_fail
;
9648 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9654 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9659 arg6
= (long)(SWIG_As_long(obj5
));
9660 if (SWIG_arg_fail(6)) SWIG_fail
;
9665 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9666 if (SWIG_arg_fail(7)) SWIG_fail
;
9668 SWIG_null_ref("wxValidator");
9670 if (SWIG_arg_fail(7)) SWIG_fail
;
9675 arg8
= wxString_in_helper(obj7
);
9676 if (arg8
== NULL
) SWIG_fail
;
9681 if (!wxPyCheckForApp()) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9711 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9720 if (!wxPyCheckForApp()) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (wxTextCtrl
*)new wxTextCtrl();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9734 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9737 wxWindow
*arg2
= (wxWindow
*) 0 ;
9738 int arg3
= (int) -1 ;
9739 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9740 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9741 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9742 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9743 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9744 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9745 long arg7
= (long) 0 ;
9746 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9747 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9748 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9749 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9751 bool temp4
= false ;
9754 bool temp9
= false ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9757 PyObject
* obj2
= 0 ;
9758 PyObject
* obj3
= 0 ;
9759 PyObject
* obj4
= 0 ;
9760 PyObject
* obj5
= 0 ;
9761 PyObject
* obj6
= 0 ;
9762 PyObject
* obj7
= 0 ;
9763 PyObject
* obj8
= 0 ;
9765 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9770 if (SWIG_arg_fail(1)) SWIG_fail
;
9771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9772 if (SWIG_arg_fail(2)) SWIG_fail
;
9775 arg3
= (int)(SWIG_As_int(obj2
));
9776 if (SWIG_arg_fail(3)) SWIG_fail
;
9781 arg4
= wxString_in_helper(obj3
);
9782 if (arg4
== NULL
) SWIG_fail
;
9789 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9795 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9800 arg7
= (long)(SWIG_As_long(obj6
));
9801 if (SWIG_arg_fail(7)) SWIG_fail
;
9806 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(8)) SWIG_fail
;
9809 SWIG_null_ref("wxValidator");
9811 if (SWIG_arg_fail(8)) SWIG_fail
;
9816 arg9
= wxString_in_helper(obj8
);
9817 if (arg9
== NULL
) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9853 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9885 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9888 wxString
*arg2
= 0 ;
9889 bool temp2
= false ;
9890 PyObject
* obj0
= 0 ;
9891 PyObject
* obj1
= 0 ;
9893 (char *) "self",(char *) "value", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail
;
9900 arg2
= wxString_in_helper(obj1
);
9901 if (arg2
== NULL
) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 (arg1
)->SetValue((wxString
const &)*arg2
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 Py_INCREF(Py_None
); resultobj
= Py_None
;
9926 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9928 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9933 PyObject
* obj1
= 0 ;
9934 PyObject
* obj2
= 0 ;
9936 (char *) "self",(char *) "from",(char *) "to", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9941 if (SWIG_arg_fail(1)) SWIG_fail
;
9943 arg2
= (long)(SWIG_As_long(obj1
));
9944 if (SWIG_arg_fail(2)) SWIG_fail
;
9947 arg3
= (long)(SWIG_As_long(obj2
));
9948 if (SWIG_arg_fail(3)) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9970 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9978 (char *) "self",(char *) "lineNo", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9983 if (SWIG_arg_fail(1)) SWIG_fail
;
9985 arg2
= (long)(SWIG_As_long(obj1
));
9986 if (SWIG_arg_fail(2)) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= SWIG_From_int((int)(result
));
10004 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self",(char *) "lineNo", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10017 if (SWIG_arg_fail(1)) SWIG_fail
;
10019 arg2
= (long)(SWIG_As_long(obj1
));
10020 if (SWIG_arg_fail(2)) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10042 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10046 PyObject
* obj0
= 0 ;
10047 char *kwnames
[] = {
10048 (char *) "self", NULL
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10053 if (SWIG_arg_fail(1)) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= SWIG_From_int((int)(result
));
10070 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
*resultobj
;
10072 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10074 PyObject
* obj0
= 0 ;
10075 char *kwnames
[] = {
10076 (char *) "self", NULL
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10081 if (SWIG_arg_fail(1)) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10098 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10126 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
;
10128 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10154 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10182 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10185 long *arg2
= (long *) 0 ;
10186 long *arg3
= (long *) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self", NULL
10196 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10197 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10200 if (SWIG_arg_fail(1)) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 Py_INCREF(Py_None
); resultobj
= Py_None
;
10209 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10210 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10211 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10212 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10219 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10230 if (SWIG_arg_fail(1)) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10251 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 Py_INCREF(Py_None
); resultobj
= Py_None
;
10276 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10281 wxString
*arg4
= 0 ;
10282 bool temp4
= false ;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10285 PyObject
* obj2
= 0 ;
10286 PyObject
* obj3
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10293 if (SWIG_arg_fail(1)) SWIG_fail
;
10295 arg2
= (long)(SWIG_As_long(obj1
));
10296 if (SWIG_arg_fail(2)) SWIG_fail
;
10299 arg3
= (long)(SWIG_As_long(obj2
));
10300 if (SWIG_arg_fail(3)) SWIG_fail
;
10303 arg4
= wxString_in_helper(obj3
);
10304 if (arg4
== NULL
) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 Py_INCREF(Py_None
); resultobj
= Py_None
;
10329 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
;
10331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self",(char *) "from",(char *) "to", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10343 if (SWIG_arg_fail(1)) SWIG_fail
;
10345 arg2
= (long)(SWIG_As_long(obj1
));
10346 if (SWIG_arg_fail(2)) SWIG_fail
;
10349 arg3
= (long)(SWIG_As_long(obj2
));
10350 if (SWIG_arg_fail(3)) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 (arg1
)->Remove(arg2
,arg3
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 Py_INCREF(Py_None
); resultobj
= Py_None
;
10366 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10369 wxString
*arg2
= 0 ;
10371 bool temp2
= false ;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self",(char *) "file", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10380 if (SWIG_arg_fail(1)) SWIG_fail
;
10382 arg2
= wxString_in_helper(obj1
);
10383 if (arg2
== NULL
) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10410 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10413 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10414 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10416 bool temp2
= false ;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self",(char *) "file", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail
;
10428 arg2
= wxString_in_helper(obj1
);
10429 if (arg2
== NULL
) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10457 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10460 PyObject
* obj0
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10467 if (SWIG_arg_fail(1)) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->MarkDirty();
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10485 PyObject
* obj0
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "self", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10492 if (SWIG_arg_fail(1)) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 (arg1
)->DiscardEdits();
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 Py_INCREF(Py_None
); resultobj
= Py_None
;
10507 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10510 unsigned long arg2
;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self",(char *) "len", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10519 if (SWIG_arg_fail(1)) SWIG_fail
;
10521 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10522 if (SWIG_arg_fail(2)) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 (arg1
)->SetMaxLength(arg2
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 Py_INCREF(Py_None
); resultobj
= Py_None
;
10538 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10541 wxString
*arg2
= 0 ;
10542 bool temp2
= false ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "text", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10551 if (SWIG_arg_fail(1)) SWIG_fail
;
10553 arg2
= wxString_in_helper(obj1
);
10554 if (arg2
== NULL
) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 (arg1
)->WriteText((wxString
const &)*arg2
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 Py_INCREF(Py_None
); resultobj
= Py_None
;
10579 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10582 wxString
*arg2
= 0 ;
10583 bool temp2
= false ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self",(char *) "text", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail
;
10594 arg2
= wxString_in_helper(obj1
);
10595 if (arg2
== NULL
) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 (arg1
)->AppendText((wxString
const &)*arg2
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 Py_INCREF(Py_None
); resultobj
= Py_None
;
10620 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10623 wxKeyEvent
*arg2
= 0 ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self",(char *) "event", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10633 if (SWIG_arg_fail(1)) SWIG_fail
;
10635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10636 if (SWIG_arg_fail(2)) SWIG_fail
;
10637 if (arg2
== NULL
) {
10638 SWIG_null_ref("wxKeyEvent");
10640 if (SWIG_arg_fail(2)) SWIG_fail
;
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10658 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10663 wxTextAttr
*arg4
= 0 ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 PyObject
* obj2
= 0 ;
10668 PyObject
* obj3
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10675 if (SWIG_arg_fail(1)) SWIG_fail
;
10677 arg2
= (long)(SWIG_As_long(obj1
));
10678 if (SWIG_arg_fail(2)) SWIG_fail
;
10681 arg3
= (long)(SWIG_As_long(obj2
));
10682 if (SWIG_arg_fail(3)) SWIG_fail
;
10685 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10686 if (SWIG_arg_fail(4)) SWIG_fail
;
10687 if (arg4
== NULL
) {
10688 SWIG_null_ref("wxTextAttr");
10690 if (SWIG_arg_fail(4)) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10708 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10712 wxTextAttr
*arg3
= 0 ;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 PyObject
* obj2
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self",(char *) "position",(char *) "style", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10723 if (SWIG_arg_fail(1)) SWIG_fail
;
10725 arg2
= (long)(SWIG_As_long(obj1
));
10726 if (SWIG_arg_fail(2)) SWIG_fail
;
10729 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10730 if (SWIG_arg_fail(3)) SWIG_fail
;
10731 if (arg3
== NULL
) {
10732 SWIG_null_ref("wxTextAttr");
10734 if (SWIG_arg_fail(3)) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10752 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10755 wxTextAttr
*arg2
= 0 ;
10757 PyObject
* obj0
= 0 ;
10758 PyObject
* obj1
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self",(char *) "style", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10765 if (SWIG_arg_fail(1)) SWIG_fail
;
10767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10768 if (SWIG_arg_fail(2)) SWIG_fail
;
10769 if (arg2
== NULL
) {
10770 SWIG_null_ref("wxTextAttr");
10772 if (SWIG_arg_fail(2)) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10790 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10793 wxTextAttr
*result
;
10794 PyObject
* obj0
= 0 ;
10795 char *kwnames
[] = {
10796 (char *) "self", NULL
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10801 if (SWIG_arg_fail(1)) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10806 result
= (wxTextAttr
*) &_result_ref
;
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10819 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 PyObject
* obj2
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self",(char *) "x",(char *) "y", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10834 if (SWIG_arg_fail(1)) SWIG_fail
;
10836 arg2
= (long)(SWIG_As_long(obj1
));
10837 if (SWIG_arg_fail(2)) SWIG_fail
;
10840 arg3
= (long)(SWIG_As_long(obj2
));
10841 if (SWIG_arg_fail(3)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10851 resultobj
= SWIG_From_long((long)(result
));
10859 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10863 long *arg3
= (long *) 0 ;
10864 long *arg4
= (long *) 0 ;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self",(char *) "pos", NULL
10875 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10876 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10879 if (SWIG_arg_fail(1)) SWIG_fail
;
10881 arg2
= (long)(SWIG_As_long(obj1
));
10882 if (SWIG_arg_fail(2)) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10893 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10894 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10895 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10902 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self",(char *) "pos", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",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
;
10916 arg2
= (long)(SWIG_As_long(obj1
));
10917 if (SWIG_arg_fail(2)) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 (arg1
)->ShowPosition(arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 Py_INCREF(Py_None
); resultobj
= Py_None
;
10933 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10936 wxPoint
*arg2
= 0 ;
10937 long *arg3
= (long *) 0 ;
10938 long *arg4
= (long *) 0 ;
10939 wxTextCtrlHitTestResult result
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "pt", NULL
10951 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10952 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10955 if (SWIG_arg_fail(1)) SWIG_fail
;
10958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= SWIG_From_int((result
));
10968 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10969 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10970 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10971 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10978 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10981 wxPoint
*arg2
= 0 ;
10982 long *arg3
= (long *) 0 ;
10983 wxTextCtrlHitTestResult result
;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "pt", NULL
10993 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10996 if (SWIG_arg_fail(1)) SWIG_fail
;
10999 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= SWIG_From_int((result
));
11009 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11010 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11017 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 Py_INCREF(Py_None
); resultobj
= Py_None
;
11042 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11045 PyObject
* obj0
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11052 if (SWIG_arg_fail(1)) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 Py_INCREF(Py_None
); resultobj
= Py_None
;
11067 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",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();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 Py_INCREF(Py_None
); resultobj
= Py_None
;
11092 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11103 if (SWIG_arg_fail(1)) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11120 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11131 if (SWIG_arg_fail(1)) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11148 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11159 if (SWIG_arg_fail(1)) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11176 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
*resultobj
;
11178 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11186 if (SWIG_arg_fail(1)) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 Py_INCREF(Py_None
); resultobj
= Py_None
;
11201 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11211 if (SWIG_arg_fail(1)) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 Py_INCREF(Py_None
); resultobj
= Py_None
;
11226 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
;
11228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11237 if (SWIG_arg_fail(1)) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11254 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11258 PyObject
* obj0
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11265 if (SWIG_arg_fail(1)) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11282 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self",(char *) "pos", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11294 if (SWIG_arg_fail(1)) SWIG_fail
;
11296 arg2
= (long)(SWIG_As_long(obj1
));
11297 if (SWIG_arg_fail(2)) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->SetInsertionPoint(arg2
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 Py_INCREF(Py_None
); resultobj
= Py_None
;
11313 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11316 PyObject
* obj0
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11323 if (SWIG_arg_fail(1)) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 (arg1
)->SetInsertionPointEnd();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11349 if (SWIG_arg_fail(1)) SWIG_fail
;
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_From_long((long)(result
));
11366 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11377 if (SWIG_arg_fail(1)) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_From_long((long)(result
));
11394 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 PyObject
* obj2
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self",(char *) "from",(char *) "to", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11408 if (SWIG_arg_fail(1)) SWIG_fail
;
11410 arg2
= (long)(SWIG_As_long(obj1
));
11411 if (SWIG_arg_fail(2)) SWIG_fail
;
11414 arg3
= (long)(SWIG_As_long(obj2
));
11415 if (SWIG_arg_fail(3)) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 (arg1
)->SetSelection(arg2
,arg3
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 Py_INCREF(Py_None
); resultobj
= Py_None
;
11431 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
;
11433 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11441 if (SWIG_arg_fail(1)) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 (arg1
)->SelectAll();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 Py_INCREF(Py_None
); resultobj
= Py_None
;
11456 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11460 PyObject
* obj0
= 0 ;
11461 PyObject
* obj1
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self",(char *) "editable", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11468 if (SWIG_arg_fail(1)) SWIG_fail
;
11470 arg2
= (bool)(SWIG_As_bool(obj1
));
11471 if (SWIG_arg_fail(2)) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 (arg1
)->SetEditable(arg2
);
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 Py_INCREF(Py_None
); resultobj
= Py_None
;
11487 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11490 wxString
*arg2
= 0 ;
11491 bool temp2
= false ;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self",(char *) "text", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11500 if (SWIG_arg_fail(1)) SWIG_fail
;
11502 arg2
= wxString_in_helper(obj1
);
11503 if (arg2
== NULL
) SWIG_fail
;
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 Py_INCREF(Py_None
); resultobj
= Py_None
;
11528 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 PyObject
* obj1
= 0 ;
11536 PyObject
* obj2
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "from",(char *) "to", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail
;
11545 arg2
= (long)(SWIG_As_long(obj1
));
11546 if (SWIG_arg_fail(2)) SWIG_fail
;
11549 arg3
= (long)(SWIG_As_long(obj2
));
11550 if (SWIG_arg_fail(3)) SWIG_fail
;
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11572 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11575 wxVisualAttributes result
;
11576 PyObject
* obj0
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "variant", NULL
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11584 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11585 if (SWIG_arg_fail(1)) SWIG_fail
;
11589 if (!wxPyCheckForApp()) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11597 wxVisualAttributes
* resultptr
;
11598 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11607 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11610 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11612 return Py_BuildValue((char *)"");
11614 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11617 wxMouseEvent
*arg2
= 0 ;
11620 wxTextUrlEvent
*result
;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 PyObject
* obj2
= 0 ;
11624 PyObject
* obj3
= 0 ;
11625 char *kwnames
[] = {
11626 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11631 arg1
= (int)(SWIG_As_int(obj0
));
11632 if (SWIG_arg_fail(1)) SWIG_fail
;
11635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11636 if (SWIG_arg_fail(2)) SWIG_fail
;
11637 if (arg2
== NULL
) {
11638 SWIG_null_ref("wxMouseEvent");
11640 if (SWIG_arg_fail(2)) SWIG_fail
;
11643 arg3
= (long)(SWIG_As_long(obj2
));
11644 if (SWIG_arg_fail(3)) SWIG_fail
;
11647 arg4
= (long)(SWIG_As_long(obj3
));
11648 if (SWIG_arg_fail(4)) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11664 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11667 wxMouseEvent
*result
;
11668 PyObject
* obj0
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "self", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11675 if (SWIG_arg_fail(1)) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11680 result
= (wxMouseEvent
*) &_result_ref
;
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11693 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11704 if (SWIG_arg_fail(1)) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_From_long((long)(result
));
11721 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_From_long((long)(result
));
11749 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11752 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11754 return Py_BuildValue((char *)"");
11756 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11757 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11762 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11767 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11769 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11776 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
;
11778 wxWindow
*arg1
= (wxWindow
*) 0 ;
11779 int arg2
= (int) -1 ;
11780 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11781 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11782 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11783 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11784 long arg5
= (long) wxSB_HORIZONTAL
;
11785 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11786 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11787 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11788 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11789 wxScrollBar
*result
;
11792 bool temp7
= false ;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 PyObject
* obj2
= 0 ;
11796 PyObject
* obj3
= 0 ;
11797 PyObject
* obj4
= 0 ;
11798 PyObject
* obj5
= 0 ;
11799 PyObject
* obj6
= 0 ;
11800 char *kwnames
[] = {
11801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11806 if (SWIG_arg_fail(1)) SWIG_fail
;
11809 arg2
= (int)(SWIG_As_int(obj1
));
11810 if (SWIG_arg_fail(2)) SWIG_fail
;
11816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11822 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11827 arg5
= (long)(SWIG_As_long(obj4
));
11828 if (SWIG_arg_fail(5)) SWIG_fail
;
11833 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11834 if (SWIG_arg_fail(6)) SWIG_fail
;
11835 if (arg6
== NULL
) {
11836 SWIG_null_ref("wxValidator");
11838 if (SWIG_arg_fail(6)) SWIG_fail
;
11843 arg7
= wxString_in_helper(obj6
);
11844 if (arg7
== NULL
) SWIG_fail
;
11849 if (!wxPyCheckForApp()) SWIG_fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11871 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11872 PyObject
*resultobj
;
11873 wxScrollBar
*result
;
11874 char *kwnames
[] = {
11878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11880 if (!wxPyCheckForApp()) SWIG_fail
;
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (wxScrollBar
*)new wxScrollBar();
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11894 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11897 wxWindow
*arg2
= (wxWindow
*) 0 ;
11898 int arg3
= (int) -1 ;
11899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11903 long arg6
= (long) wxSB_HORIZONTAL
;
11904 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11905 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11906 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11907 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11911 bool temp8
= false ;
11912 PyObject
* obj0
= 0 ;
11913 PyObject
* obj1
= 0 ;
11914 PyObject
* obj2
= 0 ;
11915 PyObject
* obj3
= 0 ;
11916 PyObject
* obj4
= 0 ;
11917 PyObject
* obj5
= 0 ;
11918 PyObject
* obj6
= 0 ;
11919 PyObject
* obj7
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11926 if (SWIG_arg_fail(1)) SWIG_fail
;
11927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11928 if (SWIG_arg_fail(2)) SWIG_fail
;
11931 arg3
= (int)(SWIG_As_int(obj2
));
11932 if (SWIG_arg_fail(3)) SWIG_fail
;
11938 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11944 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11949 arg6
= (long)(SWIG_As_long(obj5
));
11950 if (SWIG_arg_fail(6)) SWIG_fail
;
11955 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11956 if (SWIG_arg_fail(7)) SWIG_fail
;
11957 if (arg7
== NULL
) {
11958 SWIG_null_ref("wxValidator");
11960 if (SWIG_arg_fail(7)) SWIG_fail
;
11965 arg8
= wxString_in_helper(obj7
);
11966 if (arg8
== NULL
) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11994 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 char *kwnames
[] = {
12000 (char *) "self", NULL
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12005 if (SWIG_arg_fail(1)) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_From_int((int)(result
));
12022 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12026 PyObject
* obj0
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12033 if (SWIG_arg_fail(1)) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_From_int((int)(result
));
12050 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12054 PyObject
* obj0
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_From_int((int)(result
));
12078 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12089 if (SWIG_arg_fail(1)) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_From_int((int)(result
));
12106 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12134 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self",(char *) "viewStart", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12146 if (SWIG_arg_fail(1)) SWIG_fail
;
12148 arg2
= (int)(SWIG_As_int(obj1
));
12149 if (SWIG_arg_fail(2)) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->SetThumbPosition(arg2
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12172 bool arg6
= (bool) true ;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 PyObject
* obj2
= 0 ;
12176 PyObject
* obj3
= 0 ;
12177 PyObject
* obj4
= 0 ;
12178 PyObject
* obj5
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12185 if (SWIG_arg_fail(1)) SWIG_fail
;
12187 arg2
= (int)(SWIG_As_int(obj1
));
12188 if (SWIG_arg_fail(2)) SWIG_fail
;
12191 arg3
= (int)(SWIG_As_int(obj2
));
12192 if (SWIG_arg_fail(3)) SWIG_fail
;
12195 arg4
= (int)(SWIG_As_int(obj3
));
12196 if (SWIG_arg_fail(4)) SWIG_fail
;
12199 arg5
= (int)(SWIG_As_int(obj4
));
12200 if (SWIG_arg_fail(5)) SWIG_fail
;
12204 arg6
= (bool)(SWIG_As_bool(obj5
));
12205 if (SWIG_arg_fail(6)) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 Py_INCREF(Py_None
); resultobj
= Py_None
;
12222 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12225 wxVisualAttributes result
;
12226 PyObject
* obj0
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "variant", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12234 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12235 if (SWIG_arg_fail(1)) SWIG_fail
;
12239 if (!wxPyCheckForApp()) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 wxVisualAttributes
* resultptr
;
12248 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12257 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12260 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12262 return Py_BuildValue((char *)"");
12264 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12265 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12270 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12275 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12277 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12284 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12285 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12290 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12295 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12297 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12304 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxWindow
*arg1
= (wxWindow
*) 0 ;
12307 int arg2
= (int) -1 ;
12308 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12309 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12310 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12311 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12312 long arg5
= (long) wxSP_HORIZONTAL
;
12313 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12314 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12315 wxSpinButton
*result
;
12318 bool temp6
= false ;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 PyObject
* obj2
= 0 ;
12322 PyObject
* obj3
= 0 ;
12323 PyObject
* obj4
= 0 ;
12324 PyObject
* obj5
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail
;
12334 arg2
= (int)(SWIG_As_int(obj1
));
12335 if (SWIG_arg_fail(2)) SWIG_fail
;
12341 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12347 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12352 arg5
= (long)(SWIG_As_long(obj4
));
12353 if (SWIG_arg_fail(5)) SWIG_fail
;
12358 arg6
= wxString_in_helper(obj5
);
12359 if (arg6
== NULL
) SWIG_fail
;
12364 if (!wxPyCheckForApp()) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12386 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxSpinButton
*result
;
12389 char *kwnames
[] = {
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12395 if (!wxPyCheckForApp()) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= (wxSpinButton
*)new wxSpinButton();
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12409 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12412 wxWindow
*arg2
= (wxWindow
*) 0 ;
12413 int arg3
= (int) -1 ;
12414 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12415 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12416 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12417 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12418 long arg6
= (long) wxSP_HORIZONTAL
;
12419 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12420 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12424 bool temp7
= false ;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 PyObject
* obj2
= 0 ;
12428 PyObject
* obj3
= 0 ;
12429 PyObject
* obj4
= 0 ;
12430 PyObject
* obj5
= 0 ;
12431 PyObject
* obj6
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12438 if (SWIG_arg_fail(1)) SWIG_fail
;
12439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12440 if (SWIG_arg_fail(2)) SWIG_fail
;
12443 arg3
= (int)(SWIG_As_int(obj2
));
12444 if (SWIG_arg_fail(3)) SWIG_fail
;
12450 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12456 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12461 arg6
= (long)(SWIG_As_long(obj5
));
12462 if (SWIG_arg_fail(6)) SWIG_fail
;
12467 arg7
= wxString_in_helper(obj6
);
12468 if (arg7
== NULL
) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12496 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12507 if (SWIG_arg_fail(1)) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= SWIG_From_int((int)(result
));
12524 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 char *kwnames
[] = {
12530 (char *) "self", NULL
12533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12535 if (SWIG_arg_fail(1)) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= SWIG_From_int((int)(result
));
12552 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12556 PyObject
* obj0
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12563 if (SWIG_arg_fail(1)) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= SWIG_From_int((int)(result
));
12580 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 PyObject
* obj1
= 0 ;
12586 char *kwnames
[] = {
12587 (char *) "self",(char *) "val", NULL
12590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12592 if (SWIG_arg_fail(1)) SWIG_fail
;
12594 arg2
= (int)(SWIG_As_int(obj1
));
12595 if (SWIG_arg_fail(2)) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->SetValue(arg2
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 Py_INCREF(Py_None
); resultobj
= Py_None
;
12611 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self",(char *) "minVal", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12623 if (SWIG_arg_fail(1)) SWIG_fail
;
12625 arg2
= (int)(SWIG_As_int(obj1
));
12626 if (SWIG_arg_fail(2)) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->SetMin(arg2
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 Py_INCREF(Py_None
); resultobj
= Py_None
;
12642 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 PyObject
* obj1
= 0 ;
12648 char *kwnames
[] = {
12649 (char *) "self",(char *) "maxVal", NULL
12652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12654 if (SWIG_arg_fail(1)) SWIG_fail
;
12656 arg2
= (int)(SWIG_As_int(obj1
));
12657 if (SWIG_arg_fail(2)) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 (arg1
)->SetMax(arg2
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 Py_INCREF(Py_None
); resultobj
= Py_None
;
12673 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12678 PyObject
* obj0
= 0 ;
12679 PyObject
* obj1
= 0 ;
12680 PyObject
* obj2
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12687 if (SWIG_arg_fail(1)) SWIG_fail
;
12689 arg2
= (int)(SWIG_As_int(obj1
));
12690 if (SWIG_arg_fail(2)) SWIG_fail
;
12693 arg3
= (int)(SWIG_As_int(obj2
));
12694 if (SWIG_arg_fail(3)) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 (arg1
)->SetRange(arg2
,arg3
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 char *kwnames
[] = {
12716 (char *) "self", NULL
12719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12721 if (SWIG_arg_fail(1)) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12738 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12741 wxVisualAttributes result
;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "variant", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12750 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12751 if (SWIG_arg_fail(1)) SWIG_fail
;
12755 if (!wxPyCheckForApp()) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12763 wxVisualAttributes
* resultptr
;
12764 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12773 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12776 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12778 return Py_BuildValue((char *)"");
12780 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxWindow
*arg1
= (wxWindow
*) 0 ;
12783 int arg2
= (int) -1 ;
12784 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12785 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12790 long arg6
= (long) wxSP_ARROW_KEYS
;
12791 int arg7
= (int) 0 ;
12792 int arg8
= (int) 100 ;
12793 int arg9
= (int) 0 ;
12794 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12795 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12796 wxSpinCtrl
*result
;
12797 bool temp3
= false ;
12800 bool temp10
= false ;
12801 PyObject
* obj0
= 0 ;
12802 PyObject
* obj1
= 0 ;
12803 PyObject
* obj2
= 0 ;
12804 PyObject
* obj3
= 0 ;
12805 PyObject
* obj4
= 0 ;
12806 PyObject
* obj5
= 0 ;
12807 PyObject
* obj6
= 0 ;
12808 PyObject
* obj7
= 0 ;
12809 PyObject
* obj8
= 0 ;
12810 PyObject
* obj9
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12817 if (SWIG_arg_fail(1)) SWIG_fail
;
12820 arg2
= (int)(SWIG_As_int(obj1
));
12821 if (SWIG_arg_fail(2)) SWIG_fail
;
12826 arg3
= wxString_in_helper(obj2
);
12827 if (arg3
== NULL
) SWIG_fail
;
12834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12845 arg6
= (long)(SWIG_As_long(obj5
));
12846 if (SWIG_arg_fail(6)) SWIG_fail
;
12851 arg7
= (int)(SWIG_As_int(obj6
));
12852 if (SWIG_arg_fail(7)) SWIG_fail
;
12857 arg8
= (int)(SWIG_As_int(obj7
));
12858 if (SWIG_arg_fail(8)) SWIG_fail
;
12863 arg9
= (int)(SWIG_As_int(obj8
));
12864 if (SWIG_arg_fail(9)) SWIG_fail
;
12869 arg10
= wxString_in_helper(obj9
);
12870 if (arg10
== NULL
) SWIG_fail
;
12875 if (!wxPyCheckForApp()) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12905 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxSpinCtrl
*result
;
12908 char *kwnames
[] = {
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12914 if (!wxPyCheckForApp()) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12928 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12931 wxWindow
*arg2
= (wxWindow
*) 0 ;
12932 int arg3
= (int) -1 ;
12933 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12934 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12935 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12936 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12937 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12938 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12939 long arg7
= (long) wxSP_ARROW_KEYS
;
12940 int arg8
= (int) 0 ;
12941 int arg9
= (int) 100 ;
12942 int arg10
= (int) 0 ;
12943 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12944 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12946 bool temp4
= false ;
12949 bool temp11
= false ;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 PyObject
* obj2
= 0 ;
12953 PyObject
* obj3
= 0 ;
12954 PyObject
* obj4
= 0 ;
12955 PyObject
* obj5
= 0 ;
12956 PyObject
* obj6
= 0 ;
12957 PyObject
* obj7
= 0 ;
12958 PyObject
* obj8
= 0 ;
12959 PyObject
* obj9
= 0 ;
12960 PyObject
* obj10
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail
;
12968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12969 if (SWIG_arg_fail(2)) SWIG_fail
;
12972 arg3
= (int)(SWIG_As_int(obj2
));
12973 if (SWIG_arg_fail(3)) SWIG_fail
;
12978 arg4
= wxString_in_helper(obj3
);
12979 if (arg4
== NULL
) SWIG_fail
;
12986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12992 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12997 arg7
= (long)(SWIG_As_long(obj6
));
12998 if (SWIG_arg_fail(7)) SWIG_fail
;
13003 arg8
= (int)(SWIG_As_int(obj7
));
13004 if (SWIG_arg_fail(8)) SWIG_fail
;
13009 arg9
= (int)(SWIG_As_int(obj8
));
13010 if (SWIG_arg_fail(9)) SWIG_fail
;
13015 arg10
= (int)(SWIG_As_int(obj9
));
13016 if (SWIG_arg_fail(10)) SWIG_fail
;
13021 arg11
= wxString_in_helper(obj10
);
13022 if (arg11
== NULL
) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13058 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
;
13060 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13062 PyObject
* obj0
= 0 ;
13063 char *kwnames
[] = {
13064 (char *) "self", NULL
13067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13069 if (SWIG_arg_fail(1)) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13078 resultobj
= SWIG_From_int((int)(result
));
13086 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self",(char *) "value", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13098 if (SWIG_arg_fail(1)) SWIG_fail
;
13100 arg2
= (int)(SWIG_As_int(obj1
));
13101 if (SWIG_arg_fail(2)) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 (arg1
)->SetValue(arg2
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 Py_INCREF(Py_None
); resultobj
= Py_None
;
13117 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13120 wxString
*arg2
= 0 ;
13121 bool temp2
= false ;
13122 PyObject
* obj0
= 0 ;
13123 PyObject
* obj1
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self",(char *) "text", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail
;
13132 arg2
= wxString_in_helper(obj1
);
13133 if (arg2
== NULL
) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 (arg1
)->SetValue((wxString
const &)*arg2
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 Py_INCREF(Py_None
); resultobj
= Py_None
;
13158 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 PyObject
* obj1
= 0 ;
13165 PyObject
* obj2
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13172 if (SWIG_arg_fail(1)) SWIG_fail
;
13174 arg2
= (int)(SWIG_As_int(obj1
));
13175 if (SWIG_arg_fail(2)) SWIG_fail
;
13178 arg3
= (int)(SWIG_As_int(obj2
));
13179 if (SWIG_arg_fail(3)) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 (arg1
)->SetRange(arg2
,arg3
);
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 Py_INCREF(Py_None
); resultobj
= Py_None
;
13195 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13206 if (SWIG_arg_fail(1)) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_From_int((int)(result
));
13223 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13227 PyObject
* obj0
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_From_int((int)(result
));
13251 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 PyObject
* obj2
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self",(char *) "from",(char *) "to", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail
;
13267 arg2
= (long)(SWIG_As_long(obj1
));
13268 if (SWIG_arg_fail(2)) SWIG_fail
;
13271 arg3
= (long)(SWIG_As_long(obj2
));
13272 if (SWIG_arg_fail(3)) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 (arg1
)->SetSelection(arg2
,arg3
);
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 Py_INCREF(Py_None
); resultobj
= Py_None
;
13288 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13291 wxVisualAttributes result
;
13292 PyObject
* obj0
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "variant", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13300 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13301 if (SWIG_arg_fail(1)) SWIG_fail
;
13305 if (!wxPyCheckForApp()) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13313 wxVisualAttributes
* resultptr
;
13314 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13323 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13326 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13328 return Py_BuildValue((char *)"");
13330 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13333 int arg2
= (int) 0 ;
13334 wxSpinEvent
*result
;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "commandType",(char *) "winid", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13344 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13345 if (SWIG_arg_fail(1)) SWIG_fail
;
13350 arg2
= (int)(SWIG_As_int(obj1
));
13351 if (SWIG_arg_fail(2)) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13368 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13379 if (SWIG_arg_fail(1)) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_From_int((int)(result
));
13396 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13400 PyObject
* obj0
= 0 ;
13401 PyObject
* obj1
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "self",(char *) "pos", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13408 if (SWIG_arg_fail(1)) SWIG_fail
;
13410 arg2
= (int)(SWIG_As_int(obj1
));
13411 if (SWIG_arg_fail(2)) SWIG_fail
;
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 (arg1
)->SetPosition(arg2
);
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 Py_INCREF(Py_None
); resultobj
= Py_None
;
13427 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13430 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13432 return Py_BuildValue((char *)"");
13434 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13435 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13440 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13445 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13447 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13454 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13455 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13460 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13465 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13467 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13474 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxWindow
*arg1
= (wxWindow
*) 0 ;
13477 int arg2
= (int) -1 ;
13478 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13479 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13484 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13485 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13486 int arg7
= (int) 0 ;
13487 long arg8
= (long) wxRA_HORIZONTAL
;
13488 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13489 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13490 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13491 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13492 wxRadioBox
*result
;
13493 bool temp3
= false ;
13496 bool temp6
= false ;
13497 bool temp10
= false ;
13498 PyObject
* obj0
= 0 ;
13499 PyObject
* obj1
= 0 ;
13500 PyObject
* obj2
= 0 ;
13501 PyObject
* obj3
= 0 ;
13502 PyObject
* obj4
= 0 ;
13503 PyObject
* obj5
= 0 ;
13504 PyObject
* obj6
= 0 ;
13505 PyObject
* obj7
= 0 ;
13506 PyObject
* obj8
= 0 ;
13507 PyObject
* obj9
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13514 if (SWIG_arg_fail(1)) SWIG_fail
;
13517 arg2
= (int)(SWIG_As_int(obj1
));
13518 if (SWIG_arg_fail(2)) SWIG_fail
;
13523 arg3
= wxString_in_helper(obj2
);
13524 if (arg3
== NULL
) SWIG_fail
;
13531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13542 if (! PySequence_Check(obj5
)) {
13543 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13546 arg6
= new wxArrayString
;
13548 int i
, len
=PySequence_Length(obj5
);
13549 for (i
=0; i
<len
; i
++) {
13550 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13551 wxString
* s
= wxString_in_helper(item
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13561 arg7
= (int)(SWIG_As_int(obj6
));
13562 if (SWIG_arg_fail(7)) SWIG_fail
;
13567 arg8
= (long)(SWIG_As_long(obj7
));
13568 if (SWIG_arg_fail(8)) SWIG_fail
;
13573 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13574 if (SWIG_arg_fail(9)) SWIG_fail
;
13575 if (arg9
== NULL
) {
13576 SWIG_null_ref("wxValidator");
13578 if (SWIG_arg_fail(9)) SWIG_fail
;
13583 arg10
= wxString_in_helper(obj9
);
13584 if (arg10
== NULL
) SWIG_fail
;
13589 if (!wxPyCheckForApp()) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 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
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13602 if (temp6
) delete arg6
;
13615 if (temp6
) delete arg6
;
13625 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxRadioBox
*result
;
13628 char *kwnames
[] = {
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13634 if (!wxPyCheckForApp()) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (wxRadioBox
*)new wxRadioBox();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13648 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13651 wxWindow
*arg2
= (wxWindow
*) 0 ;
13652 int arg3
= (int) -1 ;
13653 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13654 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13655 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13656 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13657 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13658 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13659 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13660 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13661 int arg8
= (int) 0 ;
13662 long arg9
= (long) wxRA_HORIZONTAL
;
13663 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13664 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13665 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13666 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13668 bool temp4
= false ;
13671 bool temp7
= false ;
13672 bool temp11
= false ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 PyObject
* obj2
= 0 ;
13676 PyObject
* obj3
= 0 ;
13677 PyObject
* obj4
= 0 ;
13678 PyObject
* obj5
= 0 ;
13679 PyObject
* obj6
= 0 ;
13680 PyObject
* obj7
= 0 ;
13681 PyObject
* obj8
= 0 ;
13682 PyObject
* obj9
= 0 ;
13683 PyObject
* obj10
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13690 if (SWIG_arg_fail(1)) SWIG_fail
;
13691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13692 if (SWIG_arg_fail(2)) SWIG_fail
;
13695 arg3
= (int)(SWIG_As_int(obj2
));
13696 if (SWIG_arg_fail(3)) SWIG_fail
;
13701 arg4
= wxString_in_helper(obj3
);
13702 if (arg4
== NULL
) SWIG_fail
;
13709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13720 if (! PySequence_Check(obj6
)) {
13721 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13724 arg7
= new wxArrayString
;
13726 int i
, len
=PySequence_Length(obj6
);
13727 for (i
=0; i
<len
; i
++) {
13728 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13729 wxString
* s
= wxString_in_helper(item
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13739 arg8
= (int)(SWIG_As_int(obj7
));
13740 if (SWIG_arg_fail(8)) SWIG_fail
;
13745 arg9
= (long)(SWIG_As_long(obj8
));
13746 if (SWIG_arg_fail(9)) SWIG_fail
;
13751 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13752 if (SWIG_arg_fail(10)) SWIG_fail
;
13753 if (arg10
== NULL
) {
13754 SWIG_null_ref("wxValidator");
13756 if (SWIG_arg_fail(10)) SWIG_fail
;
13761 arg11
= wxString_in_helper(obj10
);
13762 if (arg11
== NULL
) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 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
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13781 if (temp7
) delete arg7
;
13794 if (temp7
) delete arg7
;
13804 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 PyObject
* obj1
= 0 ;
13810 char *kwnames
[] = {
13811 (char *) "self",(char *) "n", NULL
13814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13816 if (SWIG_arg_fail(1)) SWIG_fail
;
13818 arg2
= (int)(SWIG_As_int(obj1
));
13819 if (SWIG_arg_fail(2)) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 (arg1
)->SetSelection(arg2
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 Py_INCREF(Py_None
); resultobj
= Py_None
;
13835 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13839 PyObject
* obj0
= 0 ;
13840 char *kwnames
[] = {
13841 (char *) "self", NULL
13844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13846 if (SWIG_arg_fail(1)) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= SWIG_From_int((int)(result
));
13863 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
;
13865 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13867 PyObject
* obj0
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13874 if (SWIG_arg_fail(1)) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13895 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
;
13897 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13898 wxString
*arg2
= 0 ;
13900 bool temp2
= false ;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self",(char *) "s", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13909 if (SWIG_arg_fail(1)) SWIG_fail
;
13911 arg2
= wxString_in_helper(obj1
);
13912 if (arg2
== NULL
) SWIG_fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13939 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13950 if (SWIG_arg_fail(1)) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_From_int((int)(result
));
13967 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13970 wxString
*arg2
= 0 ;
13972 bool temp2
= false ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self",(char *) "s", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail
;
13983 arg2
= wxString_in_helper(obj1
);
13984 if (arg2
== NULL
) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13995 resultobj
= SWIG_From_int((int)(result
));
14011 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 PyObject
* obj1
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self",(char *) "n", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14024 if (SWIG_arg_fail(1)) SWIG_fail
;
14026 arg2
= (int)(SWIG_As_int(obj1
));
14027 if (SWIG_arg_fail(2)) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14049 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14053 wxString
*arg3
= 0 ;
14054 bool temp3
= false ;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 PyObject
* obj2
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "n",(char *) "label", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14064 if (SWIG_arg_fail(1)) SWIG_fail
;
14066 arg2
= (int)(SWIG_As_int(obj1
));
14067 if (SWIG_arg_fail(2)) SWIG_fail
;
14070 arg3
= wxString_in_helper(obj2
);
14071 if (arg3
== NULL
) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 Py_INCREF(Py_None
); resultobj
= Py_None
;
14096 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14100 bool arg3
= (bool) true ;
14101 PyObject
* obj0
= 0 ;
14102 PyObject
* obj1
= 0 ;
14103 PyObject
* obj2
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self",(char *) "n",(char *) "enable", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14110 if (SWIG_arg_fail(1)) SWIG_fail
;
14112 arg2
= (int)(SWIG_As_int(obj1
));
14113 if (SWIG_arg_fail(2)) SWIG_fail
;
14117 arg3
= (bool)(SWIG_As_bool(obj2
));
14118 if (SWIG_arg_fail(3)) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 (arg1
)->Enable(arg2
,arg3
);
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14128 Py_INCREF(Py_None
); resultobj
= Py_None
;
14135 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14139 bool arg3
= (bool) true ;
14140 PyObject
* obj0
= 0 ;
14141 PyObject
* obj1
= 0 ;
14142 PyObject
* obj2
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self",(char *) "n",(char *) "show", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14149 if (SWIG_arg_fail(1)) SWIG_fail
;
14151 arg2
= (int)(SWIG_As_int(obj1
));
14152 if (SWIG_arg_fail(2)) SWIG_fail
;
14156 arg3
= (bool)(SWIG_As_bool(obj2
));
14157 if (SWIG_arg_fail(3)) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 (arg1
)->Show(arg2
,arg3
);
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 Py_INCREF(Py_None
); resultobj
= Py_None
;
14174 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14185 if (SWIG_arg_fail(1)) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= SWIG_From_int((int)(result
));
14202 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14206 PyObject
* obj0
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14213 if (SWIG_arg_fail(1)) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= SWIG_From_int((int)(result
));
14230 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14237 PyObject
* obj0
= 0 ;
14238 PyObject
* obj1
= 0 ;
14239 PyObject
* obj2
= 0 ;
14240 PyObject
* obj3
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14247 if (SWIG_arg_fail(1)) SWIG_fail
;
14249 arg2
= (int)(SWIG_As_int(obj1
));
14250 if (SWIG_arg_fail(2)) SWIG_fail
;
14253 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14254 if (SWIG_arg_fail(3)) SWIG_fail
;
14257 arg4
= (long)(SWIG_As_long(obj3
));
14258 if (SWIG_arg_fail(4)) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= SWIG_From_int((int)(result
));
14276 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14279 wxVisualAttributes result
;
14280 PyObject
* obj0
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "variant", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14288 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14289 if (SWIG_arg_fail(1)) SWIG_fail
;
14293 if (!wxPyCheckForApp()) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14301 wxVisualAttributes
* resultptr
;
14302 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14311 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14314 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14316 return Py_BuildValue((char *)"");
14318 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxWindow
*arg1
= (wxWindow
*) 0 ;
14321 int arg2
= (int) -1 ;
14322 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14323 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14324 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14325 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14326 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14327 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14328 long arg6
= (long) 0 ;
14329 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14330 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14331 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14332 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14333 wxRadioButton
*result
;
14334 bool temp3
= false ;
14337 bool temp8
= false ;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 PyObject
* obj2
= 0 ;
14341 PyObject
* obj3
= 0 ;
14342 PyObject
* obj4
= 0 ;
14343 PyObject
* obj5
= 0 ;
14344 PyObject
* obj6
= 0 ;
14345 PyObject
* obj7
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14352 if (SWIG_arg_fail(1)) SWIG_fail
;
14355 arg2
= (int)(SWIG_As_int(obj1
));
14356 if (SWIG_arg_fail(2)) SWIG_fail
;
14361 arg3
= wxString_in_helper(obj2
);
14362 if (arg3
== NULL
) SWIG_fail
;
14369 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14375 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14380 arg6
= (long)(SWIG_As_long(obj5
));
14381 if (SWIG_arg_fail(6)) SWIG_fail
;
14386 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14387 if (SWIG_arg_fail(7)) SWIG_fail
;
14388 if (arg7
== NULL
) {
14389 SWIG_null_ref("wxValidator");
14391 if (SWIG_arg_fail(7)) SWIG_fail
;
14396 arg8
= wxString_in_helper(obj7
);
14397 if (arg8
== NULL
) SWIG_fail
;
14402 if (!wxPyCheckForApp()) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14432 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxRadioButton
*result
;
14435 char *kwnames
[] = {
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14441 if (!wxPyCheckForApp()) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (wxRadioButton
*)new wxRadioButton();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14455 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14458 wxWindow
*arg2
= (wxWindow
*) 0 ;
14459 int arg3
= (int) -1 ;
14460 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14461 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14462 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14463 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14464 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14465 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14466 long arg7
= (long) 0 ;
14467 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14468 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14469 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14470 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14472 bool temp4
= false ;
14475 bool temp9
= false ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 PyObject
* obj2
= 0 ;
14479 PyObject
* obj3
= 0 ;
14480 PyObject
* obj4
= 0 ;
14481 PyObject
* obj5
= 0 ;
14482 PyObject
* obj6
= 0 ;
14483 PyObject
* obj7
= 0 ;
14484 PyObject
* obj8
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14491 if (SWIG_arg_fail(1)) SWIG_fail
;
14492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14493 if (SWIG_arg_fail(2)) SWIG_fail
;
14496 arg3
= (int)(SWIG_As_int(obj2
));
14497 if (SWIG_arg_fail(3)) SWIG_fail
;
14502 arg4
= wxString_in_helper(obj3
);
14503 if (arg4
== NULL
) SWIG_fail
;
14510 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14516 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14521 arg7
= (long)(SWIG_As_long(obj6
));
14522 if (SWIG_arg_fail(7)) SWIG_fail
;
14527 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14528 if (SWIG_arg_fail(8)) SWIG_fail
;
14529 if (arg8
== NULL
) {
14530 SWIG_null_ref("wxValidator");
14532 if (SWIG_arg_fail(8)) SWIG_fail
;
14537 arg9
= wxString_in_helper(obj8
);
14538 if (arg9
== NULL
) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14574 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (bool)(arg1
)->GetValue();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14602 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 PyObject
* obj1
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self",(char *) "value", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14614 if (SWIG_arg_fail(1)) SWIG_fail
;
14616 arg2
= (bool)(SWIG_As_bool(obj1
));
14617 if (SWIG_arg_fail(2)) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 (arg1
)->SetValue(arg2
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 Py_INCREF(Py_None
); resultobj
= Py_None
;
14633 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14636 wxVisualAttributes result
;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "variant", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14645 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14646 if (SWIG_arg_fail(1)) SWIG_fail
;
14650 if (!wxPyCheckForApp()) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 wxVisualAttributes
* resultptr
;
14659 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14668 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14671 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14673 return Py_BuildValue((char *)"");
14675 static int _wrap_SliderNameStr_set(PyObject
*) {
14676 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14681 static PyObject
*_wrap_SliderNameStr_get(void) {
14686 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14688 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14695 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxWindow
*arg1
= (wxWindow
*) 0 ;
14698 int arg2
= (int) -1 ;
14699 int arg3
= (int) 0 ;
14700 int arg4
= (int) 0 ;
14701 int arg5
= (int) 100 ;
14702 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14703 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14704 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14705 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14706 long arg8
= (long) wxSL_HORIZONTAL
;
14707 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14708 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14709 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14710 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14714 bool temp10
= false ;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 PyObject
* obj2
= 0 ;
14718 PyObject
* obj3
= 0 ;
14719 PyObject
* obj4
= 0 ;
14720 PyObject
* obj5
= 0 ;
14721 PyObject
* obj6
= 0 ;
14722 PyObject
* obj7
= 0 ;
14723 PyObject
* obj8
= 0 ;
14724 PyObject
* obj9
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14731 if (SWIG_arg_fail(1)) SWIG_fail
;
14734 arg2
= (int)(SWIG_As_int(obj1
));
14735 if (SWIG_arg_fail(2)) SWIG_fail
;
14740 arg3
= (int)(SWIG_As_int(obj2
));
14741 if (SWIG_arg_fail(3)) SWIG_fail
;
14746 arg4
= (int)(SWIG_As_int(obj3
));
14747 if (SWIG_arg_fail(4)) SWIG_fail
;
14752 arg5
= (int)(SWIG_As_int(obj4
));
14753 if (SWIG_arg_fail(5)) SWIG_fail
;
14759 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14765 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14770 arg8
= (long)(SWIG_As_long(obj7
));
14771 if (SWIG_arg_fail(8)) SWIG_fail
;
14776 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14777 if (SWIG_arg_fail(9)) SWIG_fail
;
14778 if (arg9
== NULL
) {
14779 SWIG_null_ref("wxValidator");
14781 if (SWIG_arg_fail(9)) SWIG_fail
;
14786 arg10
= wxString_in_helper(obj9
);
14787 if (arg10
== NULL
) SWIG_fail
;
14792 if (!wxPyCheckForApp()) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14814 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14817 char *kwnames
[] = {
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14823 if (!wxPyCheckForApp()) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (wxSlider
*)new wxSlider();
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14837 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxSlider
*arg1
= (wxSlider
*) 0 ;
14840 wxWindow
*arg2
= (wxWindow
*) 0 ;
14841 int arg3
= (int) -1 ;
14842 int arg4
= (int) 0 ;
14843 int arg5
= (int) 0 ;
14844 int arg6
= (int) 100 ;
14845 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14846 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14847 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14848 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14849 long arg9
= (long) wxSL_HORIZONTAL
;
14850 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14851 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14852 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14853 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14857 bool temp11
= false ;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 PyObject
* obj2
= 0 ;
14861 PyObject
* obj3
= 0 ;
14862 PyObject
* obj4
= 0 ;
14863 PyObject
* obj5
= 0 ;
14864 PyObject
* obj6
= 0 ;
14865 PyObject
* obj7
= 0 ;
14866 PyObject
* obj8
= 0 ;
14867 PyObject
* obj9
= 0 ;
14868 PyObject
* obj10
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14875 if (SWIG_arg_fail(1)) SWIG_fail
;
14876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14877 if (SWIG_arg_fail(2)) SWIG_fail
;
14880 arg3
= (int)(SWIG_As_int(obj2
));
14881 if (SWIG_arg_fail(3)) SWIG_fail
;
14886 arg4
= (int)(SWIG_As_int(obj3
));
14887 if (SWIG_arg_fail(4)) SWIG_fail
;
14892 arg5
= (int)(SWIG_As_int(obj4
));
14893 if (SWIG_arg_fail(5)) SWIG_fail
;
14898 arg6
= (int)(SWIG_As_int(obj5
));
14899 if (SWIG_arg_fail(6)) SWIG_fail
;
14905 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14911 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14916 arg9
= (long)(SWIG_As_long(obj8
));
14917 if (SWIG_arg_fail(9)) SWIG_fail
;
14922 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14923 if (SWIG_arg_fail(10)) SWIG_fail
;
14924 if (arg10
== NULL
) {
14925 SWIG_null_ref("wxValidator");
14927 if (SWIG_arg_fail(10)) SWIG_fail
;
14932 arg11
= wxString_in_helper(obj10
);
14933 if (arg11
== NULL
) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14961 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxSlider
*arg1
= (wxSlider
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14972 if (SWIG_arg_fail(1)) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_From_int((int)(result
));
14989 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxSlider
*arg1
= (wxSlider
*) 0 ;
14993 PyObject
* obj0
= 0 ;
14994 PyObject
* obj1
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "self",(char *) "value", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15001 if (SWIG_arg_fail(1)) SWIG_fail
;
15003 arg2
= (int)(SWIG_As_int(obj1
));
15004 if (SWIG_arg_fail(2)) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 (arg1
)->SetValue(arg2
);
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 Py_INCREF(Py_None
); resultobj
= Py_None
;
15020 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxSlider
*arg1
= (wxSlider
*) 0 ;
15025 PyObject
* obj0
= 0 ;
15026 PyObject
* obj1
= 0 ;
15027 PyObject
* obj2
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail
;
15036 arg2
= (int)(SWIG_As_int(obj1
));
15037 if (SWIG_arg_fail(2)) SWIG_fail
;
15040 arg3
= (int)(SWIG_As_int(obj2
));
15041 if (SWIG_arg_fail(3)) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 (arg1
)->SetRange(arg2
,arg3
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15057 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxSlider
*arg1
= (wxSlider
*) 0 ;
15061 PyObject
* obj0
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15068 if (SWIG_arg_fail(1)) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= SWIG_From_int((int)(result
));
15085 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxSlider
*arg1
= (wxSlider
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15096 if (SWIG_arg_fail(1)) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_From_int((int)(result
));
15113 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxSlider
*arg1
= (wxSlider
*) 0 ;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self",(char *) "minValue", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15125 if (SWIG_arg_fail(1)) SWIG_fail
;
15127 arg2
= (int)(SWIG_As_int(obj1
));
15128 if (SWIG_arg_fail(2)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 (arg1
)->SetMin(arg2
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 Py_INCREF(Py_None
); resultobj
= Py_None
;
15144 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxSlider
*arg1
= (wxSlider
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 PyObject
* obj1
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self",(char *) "maxValue", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15156 if (SWIG_arg_fail(1)) SWIG_fail
;
15158 arg2
= (int)(SWIG_As_int(obj1
));
15159 if (SWIG_arg_fail(2)) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 (arg1
)->SetMax(arg2
);
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 Py_INCREF(Py_None
); resultobj
= Py_None
;
15175 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxSlider
*arg1
= (wxSlider
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self",(char *) "lineSize", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15187 if (SWIG_arg_fail(1)) SWIG_fail
;
15189 arg2
= (int)(SWIG_As_int(obj1
));
15190 if (SWIG_arg_fail(2)) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 (arg1
)->SetLineSize(arg2
);
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 Py_INCREF(Py_None
); resultobj
= Py_None
;
15206 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxSlider
*arg1
= (wxSlider
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 PyObject
* obj1
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self",(char *) "pageSize", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15218 if (SWIG_arg_fail(1)) SWIG_fail
;
15220 arg2
= (int)(SWIG_As_int(obj1
));
15221 if (SWIG_arg_fail(2)) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 (arg1
)->SetPageSize(arg2
);
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15230 Py_INCREF(Py_None
); resultobj
= Py_None
;
15237 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxSlider
*arg1
= (wxSlider
*) 0 ;
15241 PyObject
* obj0
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15248 if (SWIG_arg_fail(1)) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= SWIG_From_int((int)(result
));
15265 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
;
15267 wxSlider
*arg1
= (wxSlider
*) 0 ;
15269 PyObject
* obj0
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15276 if (SWIG_arg_fail(1)) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= SWIG_From_int((int)(result
));
15293 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxSlider
*arg1
= (wxSlider
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 PyObject
* obj1
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self",(char *) "lenPixels", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15305 if (SWIG_arg_fail(1)) SWIG_fail
;
15307 arg2
= (int)(SWIG_As_int(obj1
));
15308 if (SWIG_arg_fail(2)) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 (arg1
)->SetThumbLength(arg2
);
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 Py_INCREF(Py_None
); resultobj
= Py_None
;
15324 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxSlider
*arg1
= (wxSlider
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= SWIG_From_int((int)(result
));
15352 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxSlider
*arg1
= (wxSlider
*) 0 ;
15356 int arg3
= (int) 1 ;
15357 PyObject
* obj0
= 0 ;
15358 PyObject
* obj1
= 0 ;
15359 PyObject
* obj2
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self",(char *) "n",(char *) "pos", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15366 if (SWIG_arg_fail(1)) SWIG_fail
;
15368 arg2
= (int)(SWIG_As_int(obj1
));
15369 if (SWIG_arg_fail(2)) SWIG_fail
;
15373 arg3
= (int)(SWIG_As_int(obj2
));
15374 if (SWIG_arg_fail(3)) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 (arg1
)->SetTickFreq(arg2
,arg3
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 Py_INCREF(Py_None
); resultobj
= Py_None
;
15391 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
;
15393 wxSlider
*arg1
= (wxSlider
*) 0 ;
15395 PyObject
* obj0
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= SWIG_From_int((int)(result
));
15419 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxSlider
*arg1
= (wxSlider
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",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 (arg1
)->ClearTicks();
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 Py_INCREF(Py_None
); resultobj
= Py_None
;
15444 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
;
15446 wxSlider
*arg1
= (wxSlider
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 char *kwnames
[] = {
15451 (char *) "self",(char *) "tickPos", NULL
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15456 if (SWIG_arg_fail(1)) SWIG_fail
;
15458 arg2
= (int)(SWIG_As_int(obj1
));
15459 if (SWIG_arg_fail(2)) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 (arg1
)->SetTick(arg2
);
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 Py_INCREF(Py_None
); resultobj
= Py_None
;
15475 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxSlider
*arg1
= (wxSlider
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15485 if (SWIG_arg_fail(1)) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 (arg1
)->ClearSel();
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 Py_INCREF(Py_None
); resultobj
= Py_None
;
15500 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15501 PyObject
*resultobj
;
15502 wxSlider
*arg1
= (wxSlider
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "self", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15511 if (SWIG_arg_fail(1)) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15520 resultobj
= SWIG_From_int((int)(result
));
15528 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxSlider
*arg1
= (wxSlider
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15539 if (SWIG_arg_fail(1)) SWIG_fail
;
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_From_int((int)(result
));
15556 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
;
15558 wxSlider
*arg1
= (wxSlider
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 PyObject
* obj2
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "self",(char *) "min",(char *) "max", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15570 if (SWIG_arg_fail(1)) SWIG_fail
;
15572 arg2
= (int)(SWIG_As_int(obj1
));
15573 if (SWIG_arg_fail(2)) SWIG_fail
;
15576 arg3
= (int)(SWIG_As_int(obj2
));
15577 if (SWIG_arg_fail(3)) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 (arg1
)->SetSelection(arg2
,arg3
);
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 Py_INCREF(Py_None
); resultobj
= Py_None
;
15593 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
;
15595 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15596 wxVisualAttributes result
;
15597 PyObject
* obj0
= 0 ;
15598 char *kwnames
[] = {
15599 (char *) "variant", NULL
15602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15605 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15606 if (SWIG_arg_fail(1)) SWIG_fail
;
15610 if (!wxPyCheckForApp()) SWIG_fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15618 wxVisualAttributes
* resultptr
;
15619 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15628 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15631 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15633 return Py_BuildValue((char *)"");
15635 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15636 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15641 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15646 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15648 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15655 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxWindow
*arg1
= (wxWindow
*) 0 ;
15658 int arg2
= (int) -1 ;
15659 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15660 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15661 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15662 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15663 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15664 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15665 long arg6
= (long) 0 ;
15666 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15667 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15668 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15669 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15670 wxToggleButton
*result
;
15671 bool temp3
= false ;
15674 bool temp8
= false ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 PyObject
* obj2
= 0 ;
15678 PyObject
* obj3
= 0 ;
15679 PyObject
* obj4
= 0 ;
15680 PyObject
* obj5
= 0 ;
15681 PyObject
* obj6
= 0 ;
15682 PyObject
* obj7
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15689 if (SWIG_arg_fail(1)) SWIG_fail
;
15692 arg2
= (int)(SWIG_As_int(obj1
));
15693 if (SWIG_arg_fail(2)) SWIG_fail
;
15698 arg3
= wxString_in_helper(obj2
);
15699 if (arg3
== NULL
) SWIG_fail
;
15706 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15712 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15717 arg6
= (long)(SWIG_As_long(obj5
));
15718 if (SWIG_arg_fail(6)) SWIG_fail
;
15723 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15724 if (SWIG_arg_fail(7)) SWIG_fail
;
15725 if (arg7
== NULL
) {
15726 SWIG_null_ref("wxValidator");
15728 if (SWIG_arg_fail(7)) SWIG_fail
;
15733 arg8
= wxString_in_helper(obj7
);
15734 if (arg8
== NULL
) SWIG_fail
;
15739 if (!wxPyCheckForApp()) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15769 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxToggleButton
*result
;
15772 char *kwnames
[] = {
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15778 if (!wxPyCheckForApp()) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (wxToggleButton
*)new wxToggleButton();
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15792 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15795 wxWindow
*arg2
= (wxWindow
*) 0 ;
15796 int arg3
= (int) -1 ;
15797 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15798 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15799 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15800 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15801 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15802 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15803 long arg7
= (long) 0 ;
15804 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15805 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15806 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15807 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15809 bool temp4
= false ;
15812 bool temp9
= false ;
15813 PyObject
* obj0
= 0 ;
15814 PyObject
* obj1
= 0 ;
15815 PyObject
* obj2
= 0 ;
15816 PyObject
* obj3
= 0 ;
15817 PyObject
* obj4
= 0 ;
15818 PyObject
* obj5
= 0 ;
15819 PyObject
* obj6
= 0 ;
15820 PyObject
* obj7
= 0 ;
15821 PyObject
* obj8
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15828 if (SWIG_arg_fail(1)) SWIG_fail
;
15829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15830 if (SWIG_arg_fail(2)) SWIG_fail
;
15833 arg3
= (int)(SWIG_As_int(obj2
));
15834 if (SWIG_arg_fail(3)) SWIG_fail
;
15839 arg4
= wxString_in_helper(obj3
);
15840 if (arg4
== NULL
) SWIG_fail
;
15847 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15853 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15858 arg7
= (long)(SWIG_As_long(obj6
));
15859 if (SWIG_arg_fail(7)) SWIG_fail
;
15864 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15865 if (SWIG_arg_fail(8)) SWIG_fail
;
15866 if (arg8
== NULL
) {
15867 SWIG_null_ref("wxValidator");
15869 if (SWIG_arg_fail(8)) SWIG_fail
;
15874 arg9
= wxString_in_helper(obj8
);
15875 if (arg9
== NULL
) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15911 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 PyObject
* obj1
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self",(char *) "value", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15923 if (SWIG_arg_fail(1)) SWIG_fail
;
15925 arg2
= (bool)(SWIG_As_bool(obj1
));
15926 if (SWIG_arg_fail(2)) SWIG_fail
;
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 (arg1
)->SetValue(arg2
);
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 Py_INCREF(Py_None
); resultobj
= Py_None
;
15942 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15953 if (SWIG_arg_fail(1)) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15970 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15973 wxString
*arg2
= 0 ;
15974 bool temp2
= false ;
15975 PyObject
* obj0
= 0 ;
15976 PyObject
* obj1
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self",(char *) "label", NULL
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15983 if (SWIG_arg_fail(1)) SWIG_fail
;
15985 arg2
= wxString_in_helper(obj1
);
15986 if (arg2
== NULL
) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 (arg1
)->SetLabel((wxString
const &)*arg2
);
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 Py_INCREF(Py_None
); resultobj
= Py_None
;
16011 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16014 wxVisualAttributes result
;
16015 PyObject
* obj0
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "variant", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16023 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16024 if (SWIG_arg_fail(1)) SWIG_fail
;
16028 if (!wxPyCheckForApp()) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16036 wxVisualAttributes
* resultptr
;
16037 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16046 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16049 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16051 return Py_BuildValue((char *)"");
16053 static int _wrap_NotebookNameStr_set(PyObject
*) {
16054 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16059 static PyObject
*_wrap_NotebookNameStr_get(void) {
16064 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16066 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16073 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16075 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16077 PyObject
* obj0
= 0 ;
16078 char *kwnames
[] = {
16079 (char *) "self", NULL
16082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16084 if (SWIG_arg_fail(1)) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16101 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16106 PyObject
* obj0
= 0 ;
16107 PyObject
* obj1
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self",(char *) "n", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16114 if (SWIG_arg_fail(1)) SWIG_fail
;
16116 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16117 if (SWIG_arg_fail(2)) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= wxPyMake_wxObject(result
, 0);
16135 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16139 PyObject
* obj0
= 0 ;
16140 char *kwnames
[] = {
16141 (char *) "self", NULL
16144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16146 if (SWIG_arg_fail(1)) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= wxPyMake_wxObject(result
, 0);
16163 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16164 PyObject
*resultobj
;
16165 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16167 PyObject
* obj0
= 0 ;
16168 char *kwnames
[] = {
16169 (char *) "self", NULL
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16174 if (SWIG_arg_fail(1)) SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_From_int((int)(result
));
16191 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16195 wxString
*arg3
= 0 ;
16197 bool temp3
= false ;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 PyObject
* obj2
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self",(char *) "n",(char *) "strText", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16207 if (SWIG_arg_fail(1)) SWIG_fail
;
16209 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16210 if (SWIG_arg_fail(2)) SWIG_fail
;
16213 arg3
= wxString_in_helper(obj2
);
16214 if (arg3
== NULL
) SWIG_fail
;
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16221 wxPyEndAllowThreads(__tstate
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16241 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self",(char *) "n", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16254 if (SWIG_arg_fail(1)) SWIG_fail
;
16256 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16257 if (SWIG_arg_fail(2)) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16279 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16282 wxImageList
*arg2
= (wxImageList
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "imageList", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16291 if (SWIG_arg_fail(1)) SWIG_fail
;
16292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16293 if (SWIG_arg_fail(2)) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 (arg1
)->SetImageList(arg2
);
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16301 Py_INCREF(Py_None
); resultobj
= Py_None
;
16308 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
;
16310 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16311 wxImageList
*arg2
= (wxImageList
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 PyObject
* obj1
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self",(char *) "imageList", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16320 if (SWIG_arg_fail(1)) SWIG_fail
;
16321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16322 if (SWIG_arg_fail(2)) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 (arg1
)->AssignImageList(arg2
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16330 Py_INCREF(Py_None
); resultobj
= Py_None
;
16337 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16340 wxImageList
*result
;
16341 PyObject
* obj0
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16348 if (SWIG_arg_fail(1)) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= wxPyMake_wxObject(result
, 0);
16365 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self",(char *) "n", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16378 if (SWIG_arg_fail(1)) SWIG_fail
;
16380 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16381 if (SWIG_arg_fail(2)) SWIG_fail
;
16384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16385 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16391 resultobj
= SWIG_From_int((int)(result
));
16399 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 PyObject
* obj1
= 0 ;
16407 PyObject
* obj2
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self",(char *) "n",(char *) "imageId", NULL
16412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16414 if (SWIG_arg_fail(1)) SWIG_fail
;
16416 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16417 if (SWIG_arg_fail(2)) SWIG_fail
;
16420 arg3
= (int)(SWIG_As_int(obj2
));
16421 if (SWIG_arg_fail(3)) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16439 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "size", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16452 if (SWIG_arg_fail(1)) SWIG_fail
;
16455 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 Py_INCREF(Py_None
); resultobj
= Py_None
;
16471 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 PyObject
* obj1
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "self",(char *) "sizePage", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16485 if (SWIG_arg_fail(1)) SWIG_fail
;
16488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16498 wxSize
* resultptr
;
16499 resultptr
= new wxSize((wxSize
&)(result
));
16500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16508 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 PyObject
* obj1
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self",(char *) "n", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16521 if (SWIG_arg_fail(1)) SWIG_fail
;
16523 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16524 if (SWIG_arg_fail(2)) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)(arg1
)->DeletePage(arg2
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16542 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self",(char *) "n", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail
;
16557 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16558 if (SWIG_arg_fail(2)) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (bool)(arg1
)->RemovePage(arg2
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16576 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
;
16578 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16580 PyObject
* obj0
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "self", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16587 if (SWIG_arg_fail(1)) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (bool)(arg1
)->DeleteAllPages();
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16604 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16607 wxWindow
*arg2
= (wxWindow
*) 0 ;
16608 wxString
*arg3
= 0 ;
16609 bool arg4
= (bool) false ;
16610 int arg5
= (int) -1 ;
16612 bool temp3
= false ;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj1
= 0 ;
16615 PyObject
* obj2
= 0 ;
16616 PyObject
* obj3
= 0 ;
16617 PyObject
* obj4
= 0 ;
16618 char *kwnames
[] = {
16619 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16624 if (SWIG_arg_fail(1)) SWIG_fail
;
16625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16626 if (SWIG_arg_fail(2)) SWIG_fail
;
16628 arg3
= wxString_in_helper(obj2
);
16629 if (arg3
== NULL
) SWIG_fail
;
16634 arg4
= (bool)(SWIG_As_bool(obj3
));
16635 if (SWIG_arg_fail(4)) SWIG_fail
;
16640 arg5
= (int)(SWIG_As_int(obj4
));
16641 if (SWIG_arg_fail(5)) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16668 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16672 wxWindow
*arg3
= (wxWindow
*) 0 ;
16673 wxString
*arg4
= 0 ;
16674 bool arg5
= (bool) false ;
16675 int arg6
= (int) -1 ;
16677 bool temp4
= false ;
16678 PyObject
* obj0
= 0 ;
16679 PyObject
* obj1
= 0 ;
16680 PyObject
* obj2
= 0 ;
16681 PyObject
* obj3
= 0 ;
16682 PyObject
* obj4
= 0 ;
16683 PyObject
* obj5
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16690 if (SWIG_arg_fail(1)) SWIG_fail
;
16692 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16693 if (SWIG_arg_fail(2)) SWIG_fail
;
16695 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16696 if (SWIG_arg_fail(3)) SWIG_fail
;
16698 arg4
= wxString_in_helper(obj3
);
16699 if (arg4
== NULL
) SWIG_fail
;
16704 arg5
= (bool)(SWIG_As_bool(obj4
));
16705 if (SWIG_arg_fail(5)) SWIG_fail
;
16710 arg6
= (int)(SWIG_As_int(obj5
));
16711 if (SWIG_arg_fail(6)) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16738 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16743 PyObject
* obj0
= 0 ;
16744 PyObject
* obj1
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self",(char *) "n", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16751 if (SWIG_arg_fail(1)) SWIG_fail
;
16753 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16754 if (SWIG_arg_fail(2)) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (int)(arg1
)->SetSelection(arg2
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_From_int((int)(result
));
16772 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16775 bool arg2
= (bool) true ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "forward", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16787 arg2
= (bool)(SWIG_As_bool(obj1
));
16788 if (SWIG_arg_fail(2)) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 (arg1
)->AdvanceSelection(arg2
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 Py_INCREF(Py_None
); resultobj
= Py_None
;
16805 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16808 wxVisualAttributes result
;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "variant", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16817 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16818 if (SWIG_arg_fail(1)) SWIG_fail
;
16822 if (!wxPyCheckForApp()) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16830 wxVisualAttributes
* resultptr
;
16831 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16840 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16843 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16845 return Py_BuildValue((char *)"");
16847 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16850 int arg2
= (int) 0 ;
16851 int arg3
= (int) -1 ;
16852 int arg4
= (int) -1 ;
16853 wxBookCtrlBaseEvent
*result
;
16854 PyObject
* obj0
= 0 ;
16855 PyObject
* obj1
= 0 ;
16856 PyObject
* obj2
= 0 ;
16857 PyObject
* obj3
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16865 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16866 if (SWIG_arg_fail(1)) SWIG_fail
;
16871 arg2
= (int)(SWIG_As_int(obj1
));
16872 if (SWIG_arg_fail(2)) SWIG_fail
;
16877 arg3
= (int)(SWIG_As_int(obj2
));
16878 if (SWIG_arg_fail(3)) SWIG_fail
;
16883 arg4
= (int)(SWIG_As_int(obj3
));
16884 if (SWIG_arg_fail(4)) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16901 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16905 PyObject
* obj0
= 0 ;
16906 char *kwnames
[] = {
16907 (char *) "self", NULL
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16912 if (SWIG_arg_fail(1)) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= SWIG_From_int((int)(result
));
16929 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16931 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16933 PyObject
* obj0
= 0 ;
16934 PyObject
* obj1
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "self",(char *) "nSel", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16941 if (SWIG_arg_fail(1)) SWIG_fail
;
16943 arg2
= (int)(SWIG_As_int(obj1
));
16944 if (SWIG_arg_fail(2)) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 (arg1
)->SetSelection(arg2
);
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 Py_INCREF(Py_None
); resultobj
= Py_None
;
16960 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16962 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16964 PyObject
* obj0
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16971 if (SWIG_arg_fail(1)) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= SWIG_From_int((int)(result
));
16988 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16992 PyObject
* obj0
= 0 ;
16993 PyObject
* obj1
= 0 ;
16994 char *kwnames
[] = {
16995 (char *) "self",(char *) "nOldSel", NULL
16998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17000 if (SWIG_arg_fail(1)) SWIG_fail
;
17002 arg2
= (int)(SWIG_As_int(obj1
));
17003 if (SWIG_arg_fail(2)) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 (arg1
)->SetOldSelection(arg2
);
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17012 Py_INCREF(Py_None
); resultobj
= Py_None
;
17019 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17022 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17024 return Py_BuildValue((char *)"");
17026 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxWindow
*arg1
= (wxWindow
*) 0 ;
17029 int arg2
= (int) -1 ;
17030 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17031 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17032 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17033 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17034 long arg5
= (long) 0 ;
17035 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17036 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17037 wxNotebook
*result
;
17040 bool temp6
= false ;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 PyObject
* obj2
= 0 ;
17044 PyObject
* obj3
= 0 ;
17045 PyObject
* obj4
= 0 ;
17046 PyObject
* obj5
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17053 if (SWIG_arg_fail(1)) SWIG_fail
;
17056 arg2
= (int)(SWIG_As_int(obj1
));
17057 if (SWIG_arg_fail(2)) SWIG_fail
;
17063 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17069 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17074 arg5
= (long)(SWIG_As_long(obj4
));
17075 if (SWIG_arg_fail(5)) SWIG_fail
;
17080 arg6
= wxString_in_helper(obj5
);
17081 if (arg6
== NULL
) SWIG_fail
;
17086 if (!wxPyCheckForApp()) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17108 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxNotebook
*result
;
17111 char *kwnames
[] = {
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17117 if (!wxPyCheckForApp()) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= (wxNotebook
*)new wxNotebook();
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17131 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
;
17133 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17134 wxWindow
*arg2
= (wxWindow
*) 0 ;
17135 int arg3
= (int) -1 ;
17136 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17137 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17138 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17139 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17140 long arg6
= (long) 0 ;
17141 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17142 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17146 bool temp7
= false ;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 PyObject
* obj2
= 0 ;
17150 PyObject
* obj3
= 0 ;
17151 PyObject
* obj4
= 0 ;
17152 PyObject
* obj5
= 0 ;
17153 PyObject
* obj6
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17160 if (SWIG_arg_fail(1)) SWIG_fail
;
17161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17162 if (SWIG_arg_fail(2)) SWIG_fail
;
17165 arg3
= (int)(SWIG_As_int(obj2
));
17166 if (SWIG_arg_fail(3)) SWIG_fail
;
17172 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17178 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17183 arg6
= (long)(SWIG_As_long(obj5
));
17184 if (SWIG_arg_fail(6)) SWIG_fail
;
17189 arg7
= wxString_in_helper(obj6
);
17190 if (arg7
== NULL
) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17218 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17222 PyObject
* obj0
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= SWIG_From_int((int)(result
));
17246 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17247 PyObject
*resultobj
;
17248 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 PyObject
* obj1
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self",(char *) "padding", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17259 if (SWIG_arg_fail(1)) SWIG_fail
;
17262 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 Py_INCREF(Py_None
); resultobj
= Py_None
;
17278 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self",(char *) "sz", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17291 if (SWIG_arg_fail(1)) SWIG_fail
;
17294 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17313 wxPoint
*arg2
= 0 ;
17314 long *arg3
= (long *) 0 ;
17319 PyObject
* obj0
= 0 ;
17320 PyObject
* obj1
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self",(char *) "pt", NULL
17325 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17328 if (SWIG_arg_fail(1)) SWIG_fail
;
17331 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= SWIG_From_int((int)(result
));
17343 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17344 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17351 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "sizePage", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail
;
17368 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17378 wxSize
* resultptr
;
17379 resultptr
= new wxSize((wxSize
&)(result
));
17380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17388 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17399 if (SWIG_arg_fail(1)) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 wxColour
* resultptr
;
17409 resultptr
= new wxColour((wxColour
&)(result
));
17410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17418 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17421 wxVisualAttributes result
;
17422 PyObject
* obj0
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "variant", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17430 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17431 if (SWIG_arg_fail(1)) SWIG_fail
;
17435 if (!wxPyCheckForApp()) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 wxVisualAttributes
* resultptr
;
17444 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17453 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17456 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17458 return Py_BuildValue((char *)"");
17460 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
;
17462 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17463 int arg2
= (int) 0 ;
17464 int arg3
= (int) -1 ;
17465 int arg4
= (int) -1 ;
17466 wxNotebookEvent
*result
;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 PyObject
* obj2
= 0 ;
17470 PyObject
* obj3
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17478 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17479 if (SWIG_arg_fail(1)) SWIG_fail
;
17484 arg2
= (int)(SWIG_As_int(obj1
));
17485 if (SWIG_arg_fail(2)) SWIG_fail
;
17490 arg3
= (int)(SWIG_As_int(obj2
));
17491 if (SWIG_arg_fail(3)) SWIG_fail
;
17496 arg4
= (int)(SWIG_As_int(obj3
));
17497 if (SWIG_arg_fail(4)) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17514 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17517 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17519 return Py_BuildValue((char *)"");
17521 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxWindow
*arg1
= (wxWindow
*) 0 ;
17524 int arg2
= (int) -1 ;
17525 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17526 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17527 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17528 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17529 long arg5
= (long) 0 ;
17530 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17531 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17532 wxListbook
*result
;
17535 bool temp6
= false ;
17536 PyObject
* obj0
= 0 ;
17537 PyObject
* obj1
= 0 ;
17538 PyObject
* obj2
= 0 ;
17539 PyObject
* obj3
= 0 ;
17540 PyObject
* obj4
= 0 ;
17541 PyObject
* obj5
= 0 ;
17542 char *kwnames
[] = {
17543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17548 if (SWIG_arg_fail(1)) SWIG_fail
;
17551 arg2
= (int)(SWIG_As_int(obj1
));
17552 if (SWIG_arg_fail(2)) SWIG_fail
;
17558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17564 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17569 arg5
= (long)(SWIG_As_long(obj4
));
17570 if (SWIG_arg_fail(5)) SWIG_fail
;
17575 arg6
= wxString_in_helper(obj5
);
17576 if (arg6
== NULL
) SWIG_fail
;
17581 if (!wxPyCheckForApp()) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17603 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxListbook
*result
;
17606 char *kwnames
[] = {
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17612 if (!wxPyCheckForApp()) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= (wxListbook
*)new wxListbook();
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17626 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 wxListbook
*arg1
= (wxListbook
*) 0 ;
17629 wxWindow
*arg2
= (wxWindow
*) 0 ;
17630 int arg3
= (int) -1 ;
17631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17635 long arg6
= (long) 0 ;
17636 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17637 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17641 bool temp7
= false ;
17642 PyObject
* obj0
= 0 ;
17643 PyObject
* obj1
= 0 ;
17644 PyObject
* obj2
= 0 ;
17645 PyObject
* obj3
= 0 ;
17646 PyObject
* obj4
= 0 ;
17647 PyObject
* obj5
= 0 ;
17648 PyObject
* obj6
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17655 if (SWIG_arg_fail(1)) SWIG_fail
;
17656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17657 if (SWIG_arg_fail(2)) SWIG_fail
;
17660 arg3
= (int)(SWIG_As_int(obj2
));
17661 if (SWIG_arg_fail(3)) SWIG_fail
;
17667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17678 arg6
= (long)(SWIG_As_long(obj5
));
17679 if (SWIG_arg_fail(6)) SWIG_fail
;
17684 arg7
= wxString_in_helper(obj6
);
17685 if (arg7
== NULL
) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17713 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
;
17715 wxListbook
*arg1
= (wxListbook
*) 0 ;
17717 PyObject
* obj0
= 0 ;
17718 char *kwnames
[] = {
17719 (char *) "self", NULL
17722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17724 if (SWIG_arg_fail(1)) SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17741 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
;
17743 wxListbook
*arg1
= (wxListbook
*) 0 ;
17744 wxListView
*result
;
17745 PyObject
* obj0
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17752 if (SWIG_arg_fail(1)) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 result
= (wxListView
*)(arg1
)->GetListView();
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17767 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17770 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17772 return Py_BuildValue((char *)"");
17774 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17777 int arg2
= (int) 0 ;
17778 int arg3
= (int) -1 ;
17779 int arg4
= (int) -1 ;
17780 wxListbookEvent
*result
;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 PyObject
* obj2
= 0 ;
17784 PyObject
* obj3
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17792 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17793 if (SWIG_arg_fail(1)) SWIG_fail
;
17798 arg2
= (int)(SWIG_As_int(obj1
));
17799 if (SWIG_arg_fail(2)) SWIG_fail
;
17804 arg3
= (int)(SWIG_As_int(obj2
));
17805 if (SWIG_arg_fail(3)) SWIG_fail
;
17810 arg4
= (int)(SWIG_As_int(obj3
));
17811 if (SWIG_arg_fail(4)) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17828 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17831 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17833 return Py_BuildValue((char *)"");
17835 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxWindow
*arg1
= (wxWindow
*) 0 ;
17839 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17840 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17841 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17842 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17843 long arg5
= (long) 0 ;
17844 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17845 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17846 wxChoicebook
*result
;
17849 bool temp6
= false ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 PyObject
* obj2
= 0 ;
17853 PyObject
* obj3
= 0 ;
17854 PyObject
* obj4
= 0 ;
17855 PyObject
* obj5
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17862 if (SWIG_arg_fail(1)) SWIG_fail
;
17864 arg2
= (int)(SWIG_As_int(obj1
));
17865 if (SWIG_arg_fail(2)) SWIG_fail
;
17870 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17876 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17881 arg5
= (long)(SWIG_As_long(obj4
));
17882 if (SWIG_arg_fail(5)) SWIG_fail
;
17887 arg6
= wxString_in_helper(obj5
);
17888 if (arg6
== NULL
) SWIG_fail
;
17893 if (!wxPyCheckForApp()) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17915 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxChoicebook
*result
;
17918 char *kwnames
[] = {
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17924 if (!wxPyCheckForApp()) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 result
= (wxChoicebook
*)new wxChoicebook();
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17938 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17941 wxWindow
*arg2
= (wxWindow
*) 0 ;
17943 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17944 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17945 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17946 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17947 long arg6
= (long) 0 ;
17948 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17949 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17953 bool temp7
= false ;
17954 PyObject
* obj0
= 0 ;
17955 PyObject
* obj1
= 0 ;
17956 PyObject
* obj2
= 0 ;
17957 PyObject
* obj3
= 0 ;
17958 PyObject
* obj4
= 0 ;
17959 PyObject
* obj5
= 0 ;
17960 PyObject
* obj6
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17967 if (SWIG_arg_fail(1)) SWIG_fail
;
17968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17969 if (SWIG_arg_fail(2)) SWIG_fail
;
17971 arg3
= (int)(SWIG_As_int(obj2
));
17972 if (SWIG_arg_fail(3)) SWIG_fail
;
17977 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17983 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17988 arg6
= (long)(SWIG_As_long(obj5
));
17989 if (SWIG_arg_fail(6)) SWIG_fail
;
17994 arg7
= wxString_in_helper(obj6
);
17995 if (arg7
== NULL
) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18023 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18034 if (SWIG_arg_fail(1)) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18051 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18062 if (SWIG_arg_fail(1)) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18077 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18088 if (SWIG_arg_fail(1)) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (bool)(arg1
)->DeleteAllPages();
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18105 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18108 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18110 return Py_BuildValue((char *)"");
18112 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18115 int arg2
= (int) 0 ;
18116 int arg3
= (int) -1 ;
18117 int arg4
= (int) -1 ;
18118 wxChoicebookEvent
*result
;
18119 PyObject
* obj0
= 0 ;
18120 PyObject
* obj1
= 0 ;
18121 PyObject
* obj2
= 0 ;
18122 PyObject
* obj3
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18130 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18131 if (SWIG_arg_fail(1)) SWIG_fail
;
18136 arg2
= (int)(SWIG_As_int(obj1
));
18137 if (SWIG_arg_fail(2)) SWIG_fail
;
18142 arg3
= (int)(SWIG_As_int(obj2
));
18143 if (SWIG_arg_fail(3)) SWIG_fail
;
18148 arg4
= (int)(SWIG_As_int(obj3
));
18149 if (SWIG_arg_fail(4)) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18166 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18169 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18171 return Py_BuildValue((char *)"");
18173 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18176 wxBookCtrlSizer
*result
;
18177 PyObject
* obj0
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "nb", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18184 if (SWIG_arg_fail(1)) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18199 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18202 PyObject
* obj0
= 0 ;
18203 char *kwnames
[] = {
18204 (char *) "self", NULL
18207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18209 if (SWIG_arg_fail(1)) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->RecalcSizes();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 Py_INCREF(Py_None
); resultobj
= Py_None
;
18224 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "self", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18235 if (SWIG_arg_fail(1)) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= (arg1
)->CalcMin();
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18244 wxSize
* resultptr
;
18245 resultptr
= new wxSize((wxSize
&)(result
));
18246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18254 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18257 wxBookCtrlBase
*result
;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18265 if (SWIG_arg_fail(1)) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18280 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18283 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18285 return Py_BuildValue((char *)"");
18287 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18290 wxNotebookSizer
*result
;
18291 PyObject
* obj0
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "nb", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18298 if (SWIG_arg_fail(1)) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18313 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
;
18315 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18323 if (SWIG_arg_fail(1)) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 (arg1
)->RecalcSizes();
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 Py_INCREF(Py_None
); resultobj
= Py_None
;
18338 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18349 if (SWIG_arg_fail(1)) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (arg1
)->CalcMin();
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18358 wxSize
* resultptr
;
18359 resultptr
= new wxSize((wxSize
&)(result
));
18360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18368 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18371 wxNotebook
*result
;
18372 PyObject
* obj0
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "self", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18379 if (SWIG_arg_fail(1)) SWIG_fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= wxPyMake_wxObject(result
, 0);
18396 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18399 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18401 return Py_BuildValue((char *)"");
18403 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18414 if (SWIG_arg_fail(1)) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (int)(arg1
)->GetId();
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_From_int((int)(result
));
18431 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18442 if (SWIG_arg_fail(1)) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= (wxControl
*)(arg1
)->GetControl();
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= wxPyMake_wxObject(result
, 0);
18459 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18462 wxToolBarBase
*result
;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= wxPyMake_wxObject(result
, 0);
18487 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (int)(arg1
)->IsButton();
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_From_int((int)(result
));
18515 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18519 PyObject
* obj0
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "self", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (int)(arg1
)->IsControl();
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_From_int((int)(result
));
18543 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(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_IsSeparator",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
= (int)(arg1
)->IsSeparator();
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_From_int((int)(result
));
18571 static PyObject
*_wrap_ToolBarToolBase_GetStyle(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_GetStyle",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
= (int)(arg1
)->GetStyle();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= SWIG_From_int((int)(result
));
18599 static PyObject
*_wrap_ToolBarToolBase_GetKind(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_GetKind",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
= (wxItemKind
)(arg1
)->GetKind();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_From_int((result
));
18625 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (bool)(arg1
)->IsEnabled();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18653 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 char *kwnames
[] = {
18659 (char *) "self", NULL
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18664 if (SWIG_arg_fail(1)) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (bool)(arg1
)->IsToggled();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18681 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (bool)(arg1
)->CanBeToggled();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18709 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18720 if (SWIG_arg_fail(1)) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18725 result
= (wxBitmap
*) &_result_ref
;
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18732 wxBitmap
* resultptr
= new wxBitmap(*result
);
18733 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18741 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18745 PyObject
* obj0
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18752 if (SWIG_arg_fail(1)) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18757 result
= (wxBitmap
*) &_result_ref
;
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18764 wxBitmap
* resultptr
= new wxBitmap(*result
);
18765 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18773 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18784 if (SWIG_arg_fail(1)) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (arg1
)->GetBitmap();
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18793 wxBitmap
* resultptr
;
18794 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18803 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18814 if (SWIG_arg_fail(1)) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (arg1
)->GetLabel();
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18835 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail
;
18848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18849 result
= (arg1
)->GetShortHelp();
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18867 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18878 if (SWIG_arg_fail(1)) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (arg1
)->GetLongHelp();
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18899 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self",(char *) "enable", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18912 if (SWIG_arg_fail(1)) SWIG_fail
;
18914 arg2
= (bool)(SWIG_As_bool(obj1
));
18915 if (SWIG_arg_fail(2)) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= (bool)(arg1
)->Enable(arg2
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18933 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18943 if (SWIG_arg_fail(1)) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self",(char *) "toggle", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18971 if (SWIG_arg_fail(1)) SWIG_fail
;
18973 arg2
= (bool)(SWIG_As_bool(obj1
));
18974 if (SWIG_arg_fail(2)) SWIG_fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 result
= (bool)(arg1
)->SetToggle(arg2
);
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18992 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18995 wxString
*arg2
= 0 ;
18997 bool temp2
= false ;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self",(char *) "help", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19006 if (SWIG_arg_fail(1)) SWIG_fail
;
19008 arg2
= wxString_in_helper(obj1
);
19009 if (arg2
== NULL
) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19036 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19039 wxString
*arg2
= 0 ;
19041 bool temp2
= false ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self",(char *) "help", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19050 if (SWIG_arg_fail(1)) SWIG_fail
;
19052 arg2
= wxString_in_helper(obj1
);
19053 if (arg2
== NULL
) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19080 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19083 wxBitmap
*arg2
= 0 ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self",(char *) "bmp", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail
;
19094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19095 if (SWIG_arg_fail(2)) SWIG_fail
;
19096 if (arg2
== NULL
) {
19097 SWIG_null_ref("wxBitmap");
19099 if (SWIG_arg_fail(2)) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 Py_INCREF(Py_None
); resultobj
= Py_None
;
19115 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
;
19117 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19118 wxBitmap
*arg2
= 0 ;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self",(char *) "bmp", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19127 if (SWIG_arg_fail(1)) SWIG_fail
;
19129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19130 if (SWIG_arg_fail(2)) SWIG_fail
;
19131 if (arg2
== NULL
) {
19132 SWIG_null_ref("wxBitmap");
19134 if (SWIG_arg_fail(2)) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 Py_INCREF(Py_None
); resultobj
= Py_None
;
19150 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19153 wxString
*arg2
= 0 ;
19154 bool temp2
= false ;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "label", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19163 if (SWIG_arg_fail(1)) SWIG_fail
;
19165 arg2
= wxString_in_helper(obj1
);
19166 if (arg2
== NULL
) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->SetLabel((wxString
const &)*arg2
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19191 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 Py_INCREF(Py_None
); resultobj
= Py_None
;
19216 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19219 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19220 PyObject
* obj0
= 0 ;
19221 PyObject
* obj1
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self",(char *) "tbar", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail
;
19229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19230 if (SWIG_arg_fail(2)) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 (arg1
)->Attach(arg2
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 Py_INCREF(Py_None
); resultobj
= Py_None
;
19245 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19249 PyObject
* obj0
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 resultobj
= result
;
19271 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19274 PyObject
*arg2
= (PyObject
*) 0 ;
19275 PyObject
* obj0
= 0 ;
19276 PyObject
* obj1
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self",(char *) "clientData", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19283 if (SWIG_arg_fail(1)) SWIG_fail
;
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 Py_INCREF(Py_None
); resultobj
= Py_None
;
19299 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19302 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19304 return Py_BuildValue((char *)"");
19306 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19310 wxString
*arg3
= 0 ;
19311 wxBitmap
*arg4
= 0 ;
19312 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19313 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19314 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19315 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19316 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19317 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19318 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19319 PyObject
*arg9
= (PyObject
*) NULL
;
19320 wxToolBarToolBase
*result
;
19321 bool temp3
= false ;
19322 bool temp7
= false ;
19323 bool temp8
= false ;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 PyObject
* obj2
= 0 ;
19327 PyObject
* obj3
= 0 ;
19328 PyObject
* obj4
= 0 ;
19329 PyObject
* obj5
= 0 ;
19330 PyObject
* obj6
= 0 ;
19331 PyObject
* obj7
= 0 ;
19332 PyObject
* obj8
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19339 if (SWIG_arg_fail(1)) SWIG_fail
;
19341 arg2
= (int)(SWIG_As_int(obj1
));
19342 if (SWIG_arg_fail(2)) SWIG_fail
;
19345 arg3
= wxString_in_helper(obj2
);
19346 if (arg3
== NULL
) SWIG_fail
;
19350 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19351 if (SWIG_arg_fail(4)) SWIG_fail
;
19352 if (arg4
== NULL
) {
19353 SWIG_null_ref("wxBitmap");
19355 if (SWIG_arg_fail(4)) SWIG_fail
;
19359 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19360 if (SWIG_arg_fail(5)) SWIG_fail
;
19361 if (arg5
== NULL
) {
19362 SWIG_null_ref("wxBitmap");
19364 if (SWIG_arg_fail(5)) SWIG_fail
;
19369 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19370 if (SWIG_arg_fail(6)) SWIG_fail
;
19375 arg7
= wxString_in_helper(obj6
);
19376 if (arg7
== NULL
) SWIG_fail
;
19382 arg8
= wxString_in_helper(obj7
);
19383 if (arg8
== NULL
) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= wxPyMake_wxObject(result
, 0);
19430 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19435 wxString
*arg4
= 0 ;
19436 wxBitmap
*arg5
= 0 ;
19437 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19438 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19439 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19440 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19441 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19442 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19443 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19444 PyObject
*arg10
= (PyObject
*) NULL
;
19445 wxToolBarToolBase
*result
;
19446 bool temp4
= false ;
19447 bool temp8
= false ;
19448 bool temp9
= false ;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 PyObject
* obj2
= 0 ;
19452 PyObject
* obj3
= 0 ;
19453 PyObject
* obj4
= 0 ;
19454 PyObject
* obj5
= 0 ;
19455 PyObject
* obj6
= 0 ;
19456 PyObject
* obj7
= 0 ;
19457 PyObject
* obj8
= 0 ;
19458 PyObject
* obj9
= 0 ;
19459 char *kwnames
[] = {
19460 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19465 if (SWIG_arg_fail(1)) SWIG_fail
;
19467 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19468 if (SWIG_arg_fail(2)) SWIG_fail
;
19471 arg3
= (int)(SWIG_As_int(obj2
));
19472 if (SWIG_arg_fail(3)) SWIG_fail
;
19475 arg4
= wxString_in_helper(obj3
);
19476 if (arg4
== NULL
) SWIG_fail
;
19480 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19481 if (SWIG_arg_fail(5)) SWIG_fail
;
19482 if (arg5
== NULL
) {
19483 SWIG_null_ref("wxBitmap");
19485 if (SWIG_arg_fail(5)) SWIG_fail
;
19489 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19490 if (SWIG_arg_fail(6)) SWIG_fail
;
19491 if (arg6
== NULL
) {
19492 SWIG_null_ref("wxBitmap");
19494 if (SWIG_arg_fail(6)) SWIG_fail
;
19499 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19500 if (SWIG_arg_fail(7)) SWIG_fail
;
19505 arg8
= wxString_in_helper(obj7
);
19506 if (arg8
== NULL
) SWIG_fail
;
19512 arg9
= wxString_in_helper(obj8
);
19513 if (arg9
== NULL
) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 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
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= wxPyMake_wxObject(result
, 0);
19560 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19563 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19564 wxToolBarToolBase
*result
;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self",(char *) "tool", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19573 if (SWIG_arg_fail(1)) SWIG_fail
;
19574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19575 if (SWIG_arg_fail(2)) SWIG_fail
;
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= wxPyMake_wxObject(result
, 0);
19592 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
;
19594 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19596 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19597 wxToolBarToolBase
*result
;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 PyObject
* obj2
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self",(char *) "pos",(char *) "tool", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19607 if (SWIG_arg_fail(1)) SWIG_fail
;
19609 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19610 if (SWIG_arg_fail(2)) SWIG_fail
;
19612 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19613 if (SWIG_arg_fail(3)) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= wxPyMake_wxObject(result
, 0);
19630 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19633 wxControl
*arg2
= (wxControl
*) 0 ;
19634 wxToolBarToolBase
*result
;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self",(char *) "control", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail
;
19644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19645 if (SWIG_arg_fail(2)) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= wxPyMake_wxObject(result
, 0);
19662 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19666 wxControl
*arg3
= (wxControl
*) 0 ;
19667 wxToolBarToolBase
*result
;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 PyObject
* obj2
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self",(char *) "pos",(char *) "control", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19677 if (SWIG_arg_fail(1)) SWIG_fail
;
19679 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19680 if (SWIG_arg_fail(2)) SWIG_fail
;
19682 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19683 if (SWIG_arg_fail(3)) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= wxPyMake_wxObject(result
, 0);
19700 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 char *kwnames
[] = {
19708 (char *) "self",(char *) "id", NULL
19711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19713 if (SWIG_arg_fail(1)) SWIG_fail
;
19715 arg2
= (int)(SWIG_As_int(obj1
));
19716 if (SWIG_arg_fail(2)) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= wxPyMake_wxObject(result
, 0);
19734 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19737 wxToolBarToolBase
*result
;
19738 PyObject
* obj0
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19745 if (SWIG_arg_fail(1)) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= wxPyMake_wxObject(result
, 0);
19762 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19764 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19766 wxToolBarToolBase
*result
;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self",(char *) "pos", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail
;
19777 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19778 if (SWIG_arg_fail(2)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= wxPyMake_wxObject(result
, 0);
19796 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19800 wxToolBarToolBase
*result
;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self",(char *) "id", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19809 if (SWIG_arg_fail(1)) SWIG_fail
;
19811 arg2
= (int)(SWIG_As_int(obj1
));
19812 if (SWIG_arg_fail(2)) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= wxPyMake_wxObject(result
, 0);
19830 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "pos", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19843 if (SWIG_arg_fail(1)) SWIG_fail
;
19845 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19846 if (SWIG_arg_fail(2)) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19864 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19869 PyObject
* obj0
= 0 ;
19870 PyObject
* obj1
= 0 ;
19871 char *kwnames
[] = {
19872 (char *) "self",(char *) "id", NULL
19875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19877 if (SWIG_arg_fail(1)) SWIG_fail
;
19879 arg2
= (int)(SWIG_As_int(obj1
));
19880 if (SWIG_arg_fail(2)) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)(arg1
)->DeleteTool(arg2
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19898 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19908 if (SWIG_arg_fail(1)) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 (arg1
)->ClearTools();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 Py_INCREF(Py_None
); resultobj
= Py_None
;
19923 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19934 if (SWIG_arg_fail(1)) SWIG_fail
;
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 result
= (bool)(arg1
)->Realize();
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19951 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19956 PyObject
* obj0
= 0 ;
19957 PyObject
* obj1
= 0 ;
19958 PyObject
* obj2
= 0 ;
19959 char *kwnames
[] = {
19960 (char *) "self",(char *) "id",(char *) "enable", NULL
19963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19965 if (SWIG_arg_fail(1)) SWIG_fail
;
19967 arg2
= (int)(SWIG_As_int(obj1
));
19968 if (SWIG_arg_fail(2)) SWIG_fail
;
19971 arg3
= (bool)(SWIG_As_bool(obj2
));
19972 if (SWIG_arg_fail(3)) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 (arg1
)->EnableTool(arg2
,arg3
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 Py_INCREF(Py_None
); resultobj
= Py_None
;
19988 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 PyObject
* obj2
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self",(char *) "id",(char *) "toggle", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20002 if (SWIG_arg_fail(1)) SWIG_fail
;
20004 arg2
= (int)(SWIG_As_int(obj1
));
20005 if (SWIG_arg_fail(2)) SWIG_fail
;
20008 arg3
= (bool)(SWIG_As_bool(obj2
));
20009 if (SWIG_arg_fail(3)) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 (arg1
)->ToggleTool(arg2
,arg3
);
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20018 Py_INCREF(Py_None
); resultobj
= Py_None
;
20025 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20026 PyObject
*resultobj
;
20027 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 PyObject
* obj1
= 0 ;
20032 PyObject
* obj2
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self",(char *) "id",(char *) "toggle", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20039 if (SWIG_arg_fail(1)) SWIG_fail
;
20041 arg2
= (int)(SWIG_As_int(obj1
));
20042 if (SWIG_arg_fail(2)) SWIG_fail
;
20045 arg3
= (bool)(SWIG_As_bool(obj2
));
20046 if (SWIG_arg_fail(3)) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 (arg1
)->SetToggle(arg2
,arg3
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 Py_INCREF(Py_None
); resultobj
= Py_None
;
20062 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 PyObject
* obj1
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self",(char *) "id", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20075 if (SWIG_arg_fail(1)) SWIG_fail
;
20077 arg2
= (int)(SWIG_As_int(obj1
));
20078 if (SWIG_arg_fail(2)) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= result
;
20094 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20098 PyObject
*arg3
= (PyObject
*) 0 ;
20099 PyObject
* obj0
= 0 ;
20100 PyObject
* obj1
= 0 ;
20101 PyObject
* obj2
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self",(char *) "id",(char *) "clientData", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20108 if (SWIG_arg_fail(1)) SWIG_fail
;
20110 arg2
= (int)(SWIG_As_int(obj1
));
20111 if (SWIG_arg_fail(2)) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20121 Py_INCREF(Py_None
); resultobj
= Py_None
;
20128 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self",(char *) "id", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail
;
20143 arg2
= (int)(SWIG_As_int(obj1
));
20144 if (SWIG_arg_fail(2)) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_From_int((int)(result
));
20162 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self",(char *) "id", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail
;
20177 arg2
= (int)(SWIG_As_int(obj1
));
20178 if (SWIG_arg_fail(2)) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 result
= (bool)(arg1
)->GetToolState(arg2
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20196 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self",(char *) "id", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20209 if (SWIG_arg_fail(1)) SWIG_fail
;
20211 arg2
= (int)(SWIG_As_int(obj1
));
20212 if (SWIG_arg_fail(2)) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20230 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
;
20232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20234 wxString
*arg3
= 0 ;
20235 bool temp3
= false ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 PyObject
* obj2
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "id",(char *) "helpString", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail
;
20247 arg2
= (int)(SWIG_As_int(obj1
));
20248 if (SWIG_arg_fail(2)) SWIG_fail
;
20251 arg3
= wxString_in_helper(obj2
);
20252 if (arg3
== NULL
) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 Py_INCREF(Py_None
); resultobj
= Py_None
;
20277 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self",(char *) "id", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20290 if (SWIG_arg_fail(1)) SWIG_fail
;
20292 arg2
= (int)(SWIG_As_int(obj1
));
20293 if (SWIG_arg_fail(2)) SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 result
= (arg1
)->GetToolShortHelp(arg2
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20315 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20317 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20319 wxString
*arg3
= 0 ;
20320 bool temp3
= false ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 PyObject
* obj2
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self",(char *) "id",(char *) "helpString", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20330 if (SWIG_arg_fail(1)) SWIG_fail
;
20332 arg2
= (int)(SWIG_As_int(obj1
));
20333 if (SWIG_arg_fail(2)) SWIG_fail
;
20336 arg3
= wxString_in_helper(obj2
);
20337 if (arg3
== NULL
) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 Py_INCREF(Py_None
); resultobj
= Py_None
;
20362 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
;
20364 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 PyObject
* obj1
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self",(char *) "id", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20375 if (SWIG_arg_fail(1)) SWIG_fail
;
20377 arg2
= (int)(SWIG_As_int(obj1
));
20378 if (SWIG_arg_fail(2)) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 result
= (arg1
)->GetToolLongHelp(arg2
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20400 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 PyObject
* obj2
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self",(char *) "x",(char *) "y", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20414 if (SWIG_arg_fail(1)) SWIG_fail
;
20416 arg2
= (int)(SWIG_As_int(obj1
));
20417 if (SWIG_arg_fail(2)) SWIG_fail
;
20420 arg3
= (int)(SWIG_As_int(obj2
));
20421 if (SWIG_arg_fail(3)) SWIG_fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 (arg1
)->SetMargins(arg2
,arg3
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 Py_INCREF(Py_None
); resultobj
= Py_None
;
20437 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20442 PyObject
* obj0
= 0 ;
20443 PyObject
* obj1
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self",(char *) "size", NULL
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20450 if (SWIG_arg_fail(1)) SWIG_fail
;
20453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 Py_INCREF(Py_None
); resultobj
= Py_None
;
20469 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 PyObject
* obj1
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "self",(char *) "packing", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20481 if (SWIG_arg_fail(1)) SWIG_fail
;
20483 arg2
= (int)(SWIG_As_int(obj1
));
20484 if (SWIG_arg_fail(2)) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 (arg1
)->SetToolPacking(arg2
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 Py_INCREF(Py_None
); resultobj
= Py_None
;
20500 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20504 PyObject
* obj0
= 0 ;
20505 PyObject
* obj1
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self",(char *) "separation", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20512 if (SWIG_arg_fail(1)) SWIG_fail
;
20514 arg2
= (int)(SWIG_As_int(obj1
));
20515 if (SWIG_arg_fail(2)) SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 (arg1
)->SetToolSeparation(arg2
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 Py_INCREF(Py_None
); resultobj
= Py_None
;
20531 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20535 PyObject
* obj0
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20542 if (SWIG_arg_fail(1)) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (arg1
)->GetToolMargins();
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20551 wxSize
* resultptr
;
20552 resultptr
= new wxSize((wxSize
&)(result
));
20553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20561 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20565 PyObject
* obj0
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "self", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20572 if (SWIG_arg_fail(1)) SWIG_fail
;
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 result
= (arg1
)->GetMargins();
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20581 wxSize
* resultptr
;
20582 resultptr
= new wxSize((wxSize
&)(result
));
20583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20591 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20595 PyObject
* obj0
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20602 if (SWIG_arg_fail(1)) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (int)(arg1
)->GetToolPacking();
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_From_int((int)(result
));
20619 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20630 if (SWIG_arg_fail(1)) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (int)(arg1
)->GetToolSeparation();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_From_int((int)(result
));
20647 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20649 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self",(char *) "nRows", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20659 if (SWIG_arg_fail(1)) SWIG_fail
;
20661 arg2
= (int)(SWIG_As_int(obj1
));
20662 if (SWIG_arg_fail(2)) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 (arg1
)->SetRows(arg2
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 Py_INCREF(Py_None
); resultobj
= Py_None
;
20678 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
;
20680 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20683 PyObject
* obj0
= 0 ;
20684 PyObject
* obj1
= 0 ;
20685 PyObject
* obj2
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "self",(char *) "rows",(char *) "cols", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20692 if (SWIG_arg_fail(1)) SWIG_fail
;
20694 arg2
= (int)(SWIG_As_int(obj1
));
20695 if (SWIG_arg_fail(2)) SWIG_fail
;
20698 arg3
= (int)(SWIG_As_int(obj2
));
20699 if (SWIG_arg_fail(3)) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 Py_INCREF(Py_None
); resultobj
= Py_None
;
20715 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20726 if (SWIG_arg_fail(1)) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (int)(arg1
)->GetMaxRows();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_From_int((int)(result
));
20743 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 char *kwnames
[] = {
20749 (char *) "self", NULL
20752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20754 if (SWIG_arg_fail(1)) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (int)(arg1
)->GetMaxCols();
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_From_int((int)(result
));
20771 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
;
20773 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self",(char *) "size", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20784 if (SWIG_arg_fail(1)) SWIG_fail
;
20787 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 Py_INCREF(Py_None
); resultobj
= Py_None
;
20803 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
;
20805 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20807 PyObject
* obj0
= 0 ;
20808 char *kwnames
[] = {
20809 (char *) "self", NULL
20812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20814 if (SWIG_arg_fail(1)) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (arg1
)->GetToolBitmapSize();
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20823 wxSize
* resultptr
;
20824 resultptr
= new wxSize((wxSize
&)(result
));
20825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20833 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20835 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "self", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20844 if (SWIG_arg_fail(1)) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 result
= (arg1
)->GetToolSize();
20849 wxPyEndAllowThreads(__tstate
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20853 wxSize
* resultptr
;
20854 resultptr
= new wxSize((wxSize
&)(result
));
20855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20863 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20868 wxToolBarToolBase
*result
;
20869 PyObject
* obj0
= 0 ;
20870 PyObject
* obj1
= 0 ;
20871 PyObject
* obj2
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self",(char *) "x",(char *) "y", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20878 if (SWIG_arg_fail(1)) SWIG_fail
;
20880 arg2
= (int)(SWIG_As_int(obj1
));
20881 if (SWIG_arg_fail(2)) SWIG_fail
;
20884 arg3
= (int)(SWIG_As_int(obj2
));
20885 if (SWIG_arg_fail(3)) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= wxPyMake_wxObject(result
, 0);
20903 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20907 wxToolBarToolBase
*result
;
20908 PyObject
* obj0
= 0 ;
20909 PyObject
* obj1
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "self",(char *) "toolid", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20916 if (SWIG_arg_fail(1)) SWIG_fail
;
20918 arg2
= (int)(SWIG_As_int(obj1
));
20919 if (SWIG_arg_fail(2)) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= wxPyMake_wxObject(result
, 0);
20937 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20941 PyObject
* obj0
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20948 if (SWIG_arg_fail(1)) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (bool)(arg1
)->IsVertical();
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20965 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20968 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20970 return Py_BuildValue((char *)"");
20972 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 wxWindow
*arg1
= (wxWindow
*) 0 ;
20975 int arg2
= (int) -1 ;
20976 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20977 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20978 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20979 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20980 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20981 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20982 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20986 bool temp6
= false ;
20987 PyObject
* obj0
= 0 ;
20988 PyObject
* obj1
= 0 ;
20989 PyObject
* obj2
= 0 ;
20990 PyObject
* obj3
= 0 ;
20991 PyObject
* obj4
= 0 ;
20992 PyObject
* obj5
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20999 if (SWIG_arg_fail(1)) SWIG_fail
;
21002 arg2
= (int)(SWIG_As_int(obj1
));
21003 if (SWIG_arg_fail(2)) SWIG_fail
;
21009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21015 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21020 arg5
= (long)(SWIG_As_long(obj4
));
21021 if (SWIG_arg_fail(5)) SWIG_fail
;
21026 arg6
= wxString_in_helper(obj5
);
21027 if (arg6
== NULL
) SWIG_fail
;
21032 if (!wxPyCheckForApp()) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21054 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21057 char *kwnames
[] = {
21061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21063 if (!wxPyCheckForApp()) SWIG_fail
;
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 result
= (wxToolBar
*)new wxToolBar();
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21077 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21080 wxWindow
*arg2
= (wxWindow
*) 0 ;
21081 int arg3
= (int) -1 ;
21082 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21083 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21084 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21085 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21086 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21087 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21088 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21092 bool temp7
= false ;
21093 PyObject
* obj0
= 0 ;
21094 PyObject
* obj1
= 0 ;
21095 PyObject
* obj2
= 0 ;
21096 PyObject
* obj3
= 0 ;
21097 PyObject
* obj4
= 0 ;
21098 PyObject
* obj5
= 0 ;
21099 PyObject
* obj6
= 0 ;
21100 char *kwnames
[] = {
21101 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21106 if (SWIG_arg_fail(1)) SWIG_fail
;
21107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21108 if (SWIG_arg_fail(2)) SWIG_fail
;
21111 arg3
= (int)(SWIG_As_int(obj2
));
21112 if (SWIG_arg_fail(3)) SWIG_fail
;
21118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21129 arg6
= (long)(SWIG_As_long(obj5
));
21130 if (SWIG_arg_fail(6)) SWIG_fail
;
21135 arg7
= wxString_in_helper(obj6
);
21136 if (arg7
== NULL
) SWIG_fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21164 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21169 wxToolBarToolBase
*result
;
21170 PyObject
* obj0
= 0 ;
21171 PyObject
* obj1
= 0 ;
21172 PyObject
* obj2
= 0 ;
21173 char *kwnames
[] = {
21174 (char *) "self",(char *) "x",(char *) "y", NULL
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21179 if (SWIG_arg_fail(1)) SWIG_fail
;
21181 arg2
= (int)(SWIG_As_int(obj1
));
21182 if (SWIG_arg_fail(2)) SWIG_fail
;
21185 arg3
= (int)(SWIG_As_int(obj2
));
21186 if (SWIG_arg_fail(3)) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= wxPyMake_wxObject(result
, 0);
21204 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21207 wxVisualAttributes result
;
21208 PyObject
* obj0
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "variant", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21216 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21217 if (SWIG_arg_fail(1)) SWIG_fail
;
21221 if (!wxPyCheckForApp()) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 wxVisualAttributes
* resultptr
;
21230 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21239 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21242 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21244 return Py_BuildValue((char *)"");
21246 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21247 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21252 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21257 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21259 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21266 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxColour
const &arg1_defvalue
= wxNullColour
;
21269 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21270 wxColour
const &arg2_defvalue
= wxNullColour
;
21271 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21272 wxFont
const &arg3_defvalue
= wxNullFont
;
21273 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21274 wxListItemAttr
*result
;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 PyObject
* obj2
= 0 ;
21280 char *kwnames
[] = {
21281 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21288 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21299 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21300 if (SWIG_arg_fail(3)) SWIG_fail
;
21301 if (arg3
== NULL
) {
21302 SWIG_null_ref("wxFont");
21304 if (SWIG_arg_fail(3)) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21321 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
;
21323 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21324 wxColour
*arg2
= 0 ;
21326 PyObject
* obj0
= 0 ;
21327 PyObject
* obj1
= 0 ;
21328 char *kwnames
[] = {
21329 (char *) "self",(char *) "colText", NULL
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21334 if (SWIG_arg_fail(1)) SWIG_fail
;
21337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 Py_INCREF(Py_None
); resultobj
= Py_None
;
21353 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21356 wxColour
*arg2
= 0 ;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self",(char *) "colBack", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21366 if (SWIG_arg_fail(1)) SWIG_fail
;
21369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 Py_INCREF(Py_None
); resultobj
= Py_None
;
21385 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
;
21387 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self",(char *) "font", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21397 if (SWIG_arg_fail(1)) SWIG_fail
;
21399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21400 if (SWIG_arg_fail(2)) SWIG_fail
;
21401 if (arg2
== NULL
) {
21402 SWIG_null_ref("wxFont");
21404 if (SWIG_arg_fail(2)) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 (arg1
)->SetFont((wxFont
const &)*arg2
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 Py_INCREF(Py_None
); resultobj
= Py_None
;
21420 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21424 PyObject
* obj0
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= (bool)(arg1
)->HasTextColour();
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21448 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21452 PyObject
* obj0
= 0 ;
21453 char *kwnames
[] = {
21454 (char *) "self", NULL
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 result
= (bool)(arg1
)->HasBackgroundColour();
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21476 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21480 PyObject
* obj0
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "self", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21487 if (SWIG_arg_fail(1)) SWIG_fail
;
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 result
= (bool)(arg1
)->HasFont();
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21504 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
;
21506 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21508 PyObject
* obj0
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21515 if (SWIG_arg_fail(1)) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 result
= (arg1
)->GetTextColour();
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21524 wxColour
* resultptr
;
21525 resultptr
= new wxColour((wxColour
&)(result
));
21526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21534 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21538 PyObject
* obj0
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (arg1
)->GetBackgroundColour();
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21554 wxColour
* resultptr
;
21555 resultptr
= new wxColour((wxColour
&)(result
));
21556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21564 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21575 if (SWIG_arg_fail(1)) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (arg1
)->GetFont();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 wxFont
* resultptr
;
21585 resultptr
= new wxFont((wxFont
&)(result
));
21586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21594 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
;
21596 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21597 PyObject
* obj0
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 wxListItemAttr_Destroy(arg1
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 Py_INCREF(Py_None
); resultobj
= Py_None
;
21619 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21622 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21624 return Py_BuildValue((char *)"");
21626 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21627 PyObject
*resultobj
;
21628 wxListItem
*result
;
21629 char *kwnames
[] = {
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 result
= (wxListItem
*)new wxListItem();
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21642 resultobj
= wxPyMake_wxObject(result
, 1);
21650 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxListItem
*arg1
= (wxListItem
*) 0 ;
21653 PyObject
* obj0
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21660 if (SWIG_arg_fail(1)) SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 Py_INCREF(Py_None
); resultobj
= Py_None
;
21675 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxListItem
*arg1
= (wxListItem
*) 0 ;
21678 PyObject
* obj0
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21685 if (SWIG_arg_fail(1)) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxListItem
*arg1
= (wxListItem
*) 0 ;
21703 PyObject
* obj0
= 0 ;
21704 char *kwnames
[] = {
21705 (char *) "self", NULL
21708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21710 if (SWIG_arg_fail(1)) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 (arg1
)->ClearAttributes();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 Py_INCREF(Py_None
); resultobj
= Py_None
;
21725 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxListItem
*arg1
= (wxListItem
*) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 PyObject
* obj1
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self",(char *) "mask", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21737 if (SWIG_arg_fail(1)) SWIG_fail
;
21739 arg2
= (long)(SWIG_As_long(obj1
));
21740 if (SWIG_arg_fail(2)) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 (arg1
)->SetMask(arg2
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 Py_INCREF(Py_None
); resultobj
= Py_None
;
21756 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxListItem
*arg1
= (wxListItem
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 PyObject
* obj1
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self",(char *) "id", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21768 if (SWIG_arg_fail(1)) SWIG_fail
;
21770 arg2
= (long)(SWIG_As_long(obj1
));
21771 if (SWIG_arg_fail(2)) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 (arg1
)->SetId(arg2
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 Py_INCREF(Py_None
); resultobj
= Py_None
;
21787 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxListItem
*arg1
= (wxListItem
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "col", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21799 if (SWIG_arg_fail(1)) SWIG_fail
;
21801 arg2
= (int)(SWIG_As_int(obj1
));
21802 if (SWIG_arg_fail(2)) SWIG_fail
;
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 (arg1
)->SetColumn(arg2
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 Py_INCREF(Py_None
); resultobj
= Py_None
;
21818 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxListItem
*arg1
= (wxListItem
*) 0 ;
21822 PyObject
* obj0
= 0 ;
21823 PyObject
* obj1
= 0 ;
21824 char *kwnames
[] = {
21825 (char *) "self",(char *) "state", NULL
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21830 if (SWIG_arg_fail(1)) SWIG_fail
;
21832 arg2
= (long)(SWIG_As_long(obj1
));
21833 if (SWIG_arg_fail(2)) SWIG_fail
;
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 (arg1
)->SetState(arg2
);
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 Py_INCREF(Py_None
); resultobj
= Py_None
;
21849 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxListItem
*arg1
= (wxListItem
*) 0 ;
21853 PyObject
* obj0
= 0 ;
21854 PyObject
* obj1
= 0 ;
21855 char *kwnames
[] = {
21856 (char *) "self",(char *) "stateMask", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21861 if (SWIG_arg_fail(1)) SWIG_fail
;
21863 arg2
= (long)(SWIG_As_long(obj1
));
21864 if (SWIG_arg_fail(2)) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 (arg1
)->SetStateMask(arg2
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 Py_INCREF(Py_None
); resultobj
= Py_None
;
21880 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxListItem
*arg1
= (wxListItem
*) 0 ;
21883 wxString
*arg2
= 0 ;
21884 bool temp2
= false ;
21885 PyObject
* obj0
= 0 ;
21886 PyObject
* obj1
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self",(char *) "text", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21893 if (SWIG_arg_fail(1)) SWIG_fail
;
21895 arg2
= wxString_in_helper(obj1
);
21896 if (arg2
== NULL
) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 (arg1
)->SetText((wxString
const &)*arg2
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 Py_INCREF(Py_None
); resultobj
= Py_None
;
21921 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21923 wxListItem
*arg1
= (wxListItem
*) 0 ;
21925 PyObject
* obj0
= 0 ;
21926 PyObject
* obj1
= 0 ;
21927 char *kwnames
[] = {
21928 (char *) "self",(char *) "image", NULL
21931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21933 if (SWIG_arg_fail(1)) SWIG_fail
;
21935 arg2
= (int)(SWIG_As_int(obj1
));
21936 if (SWIG_arg_fail(2)) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 (arg1
)->SetImage(arg2
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 Py_INCREF(Py_None
); resultobj
= Py_None
;
21952 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxListItem
*arg1
= (wxListItem
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self",(char *) "data", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21964 if (SWIG_arg_fail(1)) SWIG_fail
;
21966 arg2
= (long)(SWIG_As_long(obj1
));
21967 if (SWIG_arg_fail(2)) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 (arg1
)->SetData(arg2
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 Py_INCREF(Py_None
); resultobj
= Py_None
;
21983 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21985 wxListItem
*arg1
= (wxListItem
*) 0 ;
21987 PyObject
* obj0
= 0 ;
21988 PyObject
* obj1
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self",(char *) "width", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21995 if (SWIG_arg_fail(1)) SWIG_fail
;
21997 arg2
= (int)(SWIG_As_int(obj1
));
21998 if (SWIG_arg_fail(2)) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 (arg1
)->SetWidth(arg2
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 Py_INCREF(Py_None
); resultobj
= Py_None
;
22014 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxListItem
*arg1
= (wxListItem
*) 0 ;
22017 wxListColumnFormat arg2
;
22018 PyObject
* obj0
= 0 ;
22019 PyObject
* obj1
= 0 ;
22020 char *kwnames
[] = {
22021 (char *) "self",(char *) "align", NULL
22024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22026 if (SWIG_arg_fail(1)) SWIG_fail
;
22028 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22029 if (SWIG_arg_fail(2)) SWIG_fail
;
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 Py_INCREF(Py_None
); resultobj
= Py_None
;
22045 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxListItem
*arg1
= (wxListItem
*) 0 ;
22048 wxColour
*arg2
= 0 ;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self",(char *) "colText", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22058 if (SWIG_arg_fail(1)) SWIG_fail
;
22061 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 Py_INCREF(Py_None
); resultobj
= Py_None
;
22077 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
;
22079 wxListItem
*arg1
= (wxListItem
*) 0 ;
22080 wxColour
*arg2
= 0 ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self",(char *) "colBack", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22090 if (SWIG_arg_fail(1)) SWIG_fail
;
22093 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 Py_INCREF(Py_None
); resultobj
= Py_None
;
22109 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxListItem
*arg1
= (wxListItem
*) 0 ;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "font", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22121 if (SWIG_arg_fail(1)) SWIG_fail
;
22123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22124 if (SWIG_arg_fail(2)) SWIG_fail
;
22125 if (arg2
== NULL
) {
22126 SWIG_null_ref("wxFont");
22128 if (SWIG_arg_fail(2)) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 (arg1
)->SetFont((wxFont
const &)*arg2
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 Py_INCREF(Py_None
); resultobj
= Py_None
;
22144 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
;
22146 wxListItem
*arg1
= (wxListItem
*) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 char *kwnames
[] = {
22150 (char *) "self", NULL
22153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22155 if (SWIG_arg_fail(1)) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (long)(arg1
)->GetMask();
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_From_long((long)(result
));
22172 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxListItem
*arg1
= (wxListItem
*) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22183 if (SWIG_arg_fail(1)) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 result
= (long)(arg1
)->GetId();
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_From_long((long)(result
));
22200 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
;
22202 wxListItem
*arg1
= (wxListItem
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22211 if (SWIG_arg_fail(1)) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (int)(arg1
)->GetColumn();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_From_int((int)(result
));
22228 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxListItem
*arg1
= (wxListItem
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (long)(arg1
)->GetState();
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_From_long((long)(result
));
22256 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxListItem
*arg1
= (wxListItem
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22267 if (SWIG_arg_fail(1)) SWIG_fail
;
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 wxString
const &_result_ref
= (arg1
)->GetText();
22272 result
= (wxString
*) &_result_ref
;
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22280 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22282 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22291 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxListItem
*arg1
= (wxListItem
*) 0 ;
22295 PyObject
* obj0
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22302 if (SWIG_arg_fail(1)) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (int)(arg1
)->GetImage();
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= SWIG_From_int((int)(result
));
22319 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxListItem
*arg1
= (wxListItem
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",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
= (long)(arg1
)->GetData();
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= SWIG_From_long((long)(result
));
22347 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxListItem
*arg1
= (wxListItem
*) 0 ;
22351 PyObject
* obj0
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "self", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22358 if (SWIG_arg_fail(1)) SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= (int)(arg1
)->GetWidth();
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_From_int((int)(result
));
22375 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
;
22377 wxListItem
*arg1
= (wxListItem
*) 0 ;
22378 wxListColumnFormat result
;
22379 PyObject
* obj0
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22386 if (SWIG_arg_fail(1)) SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= SWIG_From_int((result
));
22401 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
;
22403 wxListItem
*arg1
= (wxListItem
*) 0 ;
22404 wxListItemAttr
*result
;
22405 PyObject
* obj0
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22412 if (SWIG_arg_fail(1)) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22427 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxListItem
*arg1
= (wxListItem
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 result
= (bool)(arg1
)->HasAttributes();
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22455 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxListItem
*arg1
= (wxListItem
*) 0 ;
22459 PyObject
* obj0
= 0 ;
22460 char *kwnames
[] = {
22461 (char *) "self", NULL
22464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22466 if (SWIG_arg_fail(1)) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22475 wxColour
* resultptr
;
22476 resultptr
= new wxColour((wxColour
&)(result
));
22477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22485 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
;
22487 wxListItem
*arg1
= (wxListItem
*) 0 ;
22489 PyObject
* obj0
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22496 if (SWIG_arg_fail(1)) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22505 wxColour
* resultptr
;
22506 resultptr
= new wxColour((wxColour
&)(result
));
22507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22515 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxListItem
*arg1
= (wxListItem
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22526 if (SWIG_arg_fail(1)) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 result
= ((wxListItem
const *)arg1
)->GetFont();
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22535 wxFont
* resultptr
;
22536 resultptr
= new wxFont((wxFont
&)(result
));
22537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22545 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22546 PyObject
*resultobj
;
22547 wxListItem
*arg1
= (wxListItem
*) 0 ;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self",(char *) "m_mask", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22557 if (SWIG_arg_fail(1)) SWIG_fail
;
22559 arg2
= (long)(SWIG_As_long(obj1
));
22560 if (SWIG_arg_fail(2)) SWIG_fail
;
22562 if (arg1
) (arg1
)->m_mask
= arg2
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22571 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxListItem
*arg1
= (wxListItem
*) 0 ;
22575 PyObject
* obj0
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22582 if (SWIG_arg_fail(1)) SWIG_fail
;
22583 result
= (long) ((arg1
)->m_mask
);
22586 resultobj
= SWIG_From_long((long)(result
));
22594 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxListItem
*arg1
= (wxListItem
*) 0 ;
22598 PyObject
* obj0
= 0 ;
22599 PyObject
* obj1
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self",(char *) "m_itemId", NULL
22604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22606 if (SWIG_arg_fail(1)) SWIG_fail
;
22608 arg2
= (long)(SWIG_As_long(obj1
));
22609 if (SWIG_arg_fail(2)) SWIG_fail
;
22611 if (arg1
) (arg1
)->m_itemId
= arg2
;
22613 Py_INCREF(Py_None
); resultobj
= Py_None
;
22620 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
;
22622 wxListItem
*arg1
= (wxListItem
*) 0 ;
22624 PyObject
* obj0
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22631 if (SWIG_arg_fail(1)) SWIG_fail
;
22632 result
= (long) ((arg1
)->m_itemId
);
22635 resultobj
= SWIG_From_long((long)(result
));
22643 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxListItem
*arg1
= (wxListItem
*) 0 ;
22647 PyObject
* obj0
= 0 ;
22648 PyObject
* obj1
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self",(char *) "m_col", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22655 if (SWIG_arg_fail(1)) SWIG_fail
;
22657 arg2
= (int)(SWIG_As_int(obj1
));
22658 if (SWIG_arg_fail(2)) SWIG_fail
;
22660 if (arg1
) (arg1
)->m_col
= arg2
;
22662 Py_INCREF(Py_None
); resultobj
= Py_None
;
22669 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxListItem
*arg1
= (wxListItem
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self", NULL
22678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22680 if (SWIG_arg_fail(1)) SWIG_fail
;
22681 result
= (int) ((arg1
)->m_col
);
22684 resultobj
= SWIG_From_int((int)(result
));
22692 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxListItem
*arg1
= (wxListItem
*) 0 ;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self",(char *) "m_state", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22704 if (SWIG_arg_fail(1)) SWIG_fail
;
22706 arg2
= (long)(SWIG_As_long(obj1
));
22707 if (SWIG_arg_fail(2)) SWIG_fail
;
22709 if (arg1
) (arg1
)->m_state
= arg2
;
22711 Py_INCREF(Py_None
); resultobj
= Py_None
;
22718 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxListItem
*arg1
= (wxListItem
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22729 if (SWIG_arg_fail(1)) SWIG_fail
;
22730 result
= (long) ((arg1
)->m_state
);
22733 resultobj
= SWIG_From_long((long)(result
));
22741 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
;
22743 wxListItem
*arg1
= (wxListItem
*) 0 ;
22745 PyObject
* obj0
= 0 ;
22746 PyObject
* obj1
= 0 ;
22747 char *kwnames
[] = {
22748 (char *) "self",(char *) "m_stateMask", NULL
22751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22753 if (SWIG_arg_fail(1)) SWIG_fail
;
22755 arg2
= (long)(SWIG_As_long(obj1
));
22756 if (SWIG_arg_fail(2)) SWIG_fail
;
22758 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22760 Py_INCREF(Py_None
); resultobj
= Py_None
;
22767 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxListItem
*arg1
= (wxListItem
*) 0 ;
22771 PyObject
* obj0
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "self", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22778 if (SWIG_arg_fail(1)) SWIG_fail
;
22779 result
= (long) ((arg1
)->m_stateMask
);
22782 resultobj
= SWIG_From_long((long)(result
));
22790 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxListItem
*arg1
= (wxListItem
*) 0 ;
22793 wxString
*arg2
= (wxString
*) 0 ;
22794 bool temp2
= false ;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "self",(char *) "m_text", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22803 if (SWIG_arg_fail(1)) SWIG_fail
;
22805 arg2
= wxString_in_helper(obj1
);
22806 if (arg2
== NULL
) SWIG_fail
;
22809 if (arg1
) (arg1
)->m_text
= *arg2
;
22811 Py_INCREF(Py_None
); resultobj
= Py_None
;
22826 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
;
22828 wxListItem
*arg1
= (wxListItem
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 char *kwnames
[] = {
22832 (char *) "self", NULL
22835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22837 if (SWIG_arg_fail(1)) SWIG_fail
;
22838 result
= (wxString
*)& ((arg1
)->m_text
);
22842 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22844 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22853 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxListItem
*arg1
= (wxListItem
*) 0 ;
22857 PyObject
* obj0
= 0 ;
22858 PyObject
* obj1
= 0 ;
22859 char *kwnames
[] = {
22860 (char *) "self",(char *) "m_image", NULL
22863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22865 if (SWIG_arg_fail(1)) SWIG_fail
;
22867 arg2
= (int)(SWIG_As_int(obj1
));
22868 if (SWIG_arg_fail(2)) SWIG_fail
;
22870 if (arg1
) (arg1
)->m_image
= arg2
;
22872 Py_INCREF(Py_None
); resultobj
= Py_None
;
22879 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
;
22881 wxListItem
*arg1
= (wxListItem
*) 0 ;
22883 PyObject
* obj0
= 0 ;
22884 char *kwnames
[] = {
22885 (char *) "self", NULL
22888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22890 if (SWIG_arg_fail(1)) SWIG_fail
;
22891 result
= (int) ((arg1
)->m_image
);
22894 resultobj
= SWIG_From_int((int)(result
));
22902 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxListItem
*arg1
= (wxListItem
*) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self",(char *) "m_data", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22914 if (SWIG_arg_fail(1)) SWIG_fail
;
22916 arg2
= (long)(SWIG_As_long(obj1
));
22917 if (SWIG_arg_fail(2)) SWIG_fail
;
22919 if (arg1
) (arg1
)->m_data
= arg2
;
22921 Py_INCREF(Py_None
); resultobj
= Py_None
;
22928 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22929 PyObject
*resultobj
;
22930 wxListItem
*arg1
= (wxListItem
*) 0 ;
22932 PyObject
* obj0
= 0 ;
22933 char *kwnames
[] = {
22934 (char *) "self", NULL
22937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22939 if (SWIG_arg_fail(1)) SWIG_fail
;
22940 result
= (long) ((arg1
)->m_data
);
22943 resultobj
= SWIG_From_long((long)(result
));
22951 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
;
22953 wxListItem
*arg1
= (wxListItem
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 PyObject
* obj1
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "self",(char *) "m_format", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22963 if (SWIG_arg_fail(1)) SWIG_fail
;
22965 arg2
= (int)(SWIG_As_int(obj1
));
22966 if (SWIG_arg_fail(2)) SWIG_fail
;
22968 if (arg1
) (arg1
)->m_format
= arg2
;
22970 Py_INCREF(Py_None
); resultobj
= Py_None
;
22977 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxListItem
*arg1
= (wxListItem
*) 0 ;
22981 PyObject
* obj0
= 0 ;
22982 char *kwnames
[] = {
22983 (char *) "self", NULL
22986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22988 if (SWIG_arg_fail(1)) SWIG_fail
;
22989 result
= (int) ((arg1
)->m_format
);
22992 resultobj
= SWIG_From_int((int)(result
));
23000 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
;
23002 wxListItem
*arg1
= (wxListItem
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23006 char *kwnames
[] = {
23007 (char *) "self",(char *) "m_width", NULL
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23012 if (SWIG_arg_fail(1)) SWIG_fail
;
23014 arg2
= (int)(SWIG_As_int(obj1
));
23015 if (SWIG_arg_fail(2)) SWIG_fail
;
23017 if (arg1
) (arg1
)->m_width
= arg2
;
23019 Py_INCREF(Py_None
); resultobj
= Py_None
;
23026 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23027 PyObject
*resultobj
;
23028 wxListItem
*arg1
= (wxListItem
*) 0 ;
23030 PyObject
* obj0
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "self", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23037 if (SWIG_arg_fail(1)) SWIG_fail
;
23038 result
= (int) ((arg1
)->m_width
);
23041 resultobj
= SWIG_From_int((int)(result
));
23049 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23052 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23054 return Py_BuildValue((char *)"");
23056 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
;
23058 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23059 int arg2
= (int) 0 ;
23060 wxListEvent
*result
;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj1
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "commandType",(char *) "id", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23070 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23071 if (SWIG_arg_fail(1)) SWIG_fail
;
23076 arg2
= (int)(SWIG_As_int(obj1
));
23077 if (SWIG_arg_fail(2)) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23094 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23098 PyObject
* obj0
= 0 ;
23099 PyObject
* obj1
= 0 ;
23100 char *kwnames
[] = {
23101 (char *) "self",(char *) "m_code", NULL
23104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23106 if (SWIG_arg_fail(1)) SWIG_fail
;
23108 arg2
= (int)(SWIG_As_int(obj1
));
23109 if (SWIG_arg_fail(2)) SWIG_fail
;
23111 if (arg1
) (arg1
)->m_code
= arg2
;
23113 Py_INCREF(Py_None
); resultobj
= Py_None
;
23120 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23131 if (SWIG_arg_fail(1)) SWIG_fail
;
23132 result
= (int) ((arg1
)->m_code
);
23135 resultobj
= SWIG_From_int((int)(result
));
23143 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23144 PyObject
*resultobj
;
23145 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23147 PyObject
* obj0
= 0 ;
23148 PyObject
* obj1
= 0 ;
23149 char *kwnames
[] = {
23150 (char *) "self",(char *) "m_oldItemIndex", NULL
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23155 if (SWIG_arg_fail(1)) SWIG_fail
;
23157 arg2
= (long)(SWIG_As_long(obj1
));
23158 if (SWIG_arg_fail(2)) SWIG_fail
;
23160 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23162 Py_INCREF(Py_None
); resultobj
= Py_None
;
23169 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23171 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23173 PyObject
* obj0
= 0 ;
23174 char *kwnames
[] = {
23175 (char *) "self", NULL
23178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23180 if (SWIG_arg_fail(1)) SWIG_fail
;
23181 result
= (long) ((arg1
)->m_oldItemIndex
);
23184 resultobj
= SWIG_From_long((long)(result
));
23192 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
;
23194 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 char *kwnames
[] = {
23199 (char *) "self",(char *) "m_itemIndex", NULL
23202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23204 if (SWIG_arg_fail(1)) SWIG_fail
;
23206 arg2
= (long)(SWIG_As_long(obj1
));
23207 if (SWIG_arg_fail(2)) SWIG_fail
;
23209 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23211 Py_INCREF(Py_None
); resultobj
= Py_None
;
23218 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23229 if (SWIG_arg_fail(1)) SWIG_fail
;
23230 result
= (long) ((arg1
)->m_itemIndex
);
23233 resultobj
= SWIG_From_long((long)(result
));
23241 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23242 PyObject
*resultobj
;
23243 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23245 PyObject
* obj0
= 0 ;
23246 PyObject
* obj1
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self",(char *) "m_col", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23253 if (SWIG_arg_fail(1)) SWIG_fail
;
23255 arg2
= (int)(SWIG_As_int(obj1
));
23256 if (SWIG_arg_fail(2)) SWIG_fail
;
23258 if (arg1
) (arg1
)->m_col
= arg2
;
23260 Py_INCREF(Py_None
); resultobj
= Py_None
;
23267 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "self", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23278 if (SWIG_arg_fail(1)) SWIG_fail
;
23279 result
= (int) ((arg1
)->m_col
);
23282 resultobj
= SWIG_From_int((int)(result
));
23290 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23293 wxPoint
*arg2
= (wxPoint
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "self",(char *) "m_pointDrag", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23302 if (SWIG_arg_fail(1)) SWIG_fail
;
23303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23304 if (SWIG_arg_fail(2)) SWIG_fail
;
23305 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23307 Py_INCREF(Py_None
); resultobj
= Py_None
;
23314 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail
;
23326 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23335 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23338 wxListItem
*result
;
23339 PyObject
* obj0
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23346 if (SWIG_arg_fail(1)) SWIG_fail
;
23347 result
= (wxListItem
*)& ((arg1
)->m_item
);
23350 resultobj
= wxPyMake_wxObject(result
, 0);
23358 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23369 if (SWIG_arg_fail(1)) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (int)(arg1
)->GetKeyCode();
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_From_int((int)(result
));
23386 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23390 PyObject
* obj0
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23397 if (SWIG_arg_fail(1)) SWIG_fail
;
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 result
= (long)(arg1
)->GetIndex();
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= SWIG_From_long((long)(result
));
23414 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23418 PyObject
* obj0
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23425 if (SWIG_arg_fail(1)) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (int)(arg1
)->GetColumn();
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_From_int((int)(result
));
23442 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
;
23444 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23446 PyObject
* obj0
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self", NULL
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23453 if (SWIG_arg_fail(1)) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (arg1
)->GetPoint();
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23462 wxPoint
* resultptr
;
23463 resultptr
= new wxPoint((wxPoint
&)(result
));
23464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23472 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 char *kwnames
[] = {
23478 (char *) "self", NULL
23481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23483 if (SWIG_arg_fail(1)) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 wxString
const &_result_ref
= (arg1
)->GetLabel();
23488 result
= (wxString
*) &_result_ref
;
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23498 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23507 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 wxString
const &_result_ref
= (arg1
)->GetText();
23523 result
= (wxString
*) &_result_ref
;
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23533 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23542 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
;
23544 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23553 if (SWIG_arg_fail(1)) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 result
= (int)(arg1
)->GetImage();
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= SWIG_From_int((int)(result
));
23570 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23574 PyObject
* obj0
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23581 if (SWIG_arg_fail(1)) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (long)(arg1
)->GetData();
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= SWIG_From_long((long)(result
));
23598 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23602 PyObject
* obj0
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23609 if (SWIG_arg_fail(1)) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (long)(arg1
)->GetMask();
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_From_long((long)(result
));
23626 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23628 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23629 wxListItem
*result
;
23630 PyObject
* obj0
= 0 ;
23631 char *kwnames
[] = {
23632 (char *) "self", NULL
23635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23637 if (SWIG_arg_fail(1)) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23642 result
= (wxListItem
*) &_result_ref
;
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23655 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23666 if (SWIG_arg_fail(1)) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (long)(arg1
)->GetCacheFrom();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_From_long((long)(result
));
23683 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23687 PyObject
* obj0
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23694 if (SWIG_arg_fail(1)) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= (long)(arg1
)->GetCacheTo();
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= SWIG_From_long((long)(result
));
23711 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23715 PyObject
* obj0
= 0 ;
23716 char *kwnames
[] = {
23717 (char *) "self", NULL
23720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23722 if (SWIG_arg_fail(1)) SWIG_fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23739 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23743 PyObject
* obj0
= 0 ;
23744 PyObject
* obj1
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self",(char *) "editCancelled", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23751 if (SWIG_arg_fail(1)) SWIG_fail
;
23753 arg2
= (bool)(SWIG_As_bool(obj1
));
23754 if (SWIG_arg_fail(2)) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 (arg1
)->SetEditCanceled(arg2
);
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 Py_INCREF(Py_None
); resultobj
= Py_None
;
23770 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23773 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23775 return Py_BuildValue((char *)"");
23777 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxWindow
*arg1
= (wxWindow
*) 0 ;
23780 int arg2
= (int) -1 ;
23781 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23782 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23783 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23784 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23785 long arg5
= (long) wxLC_ICON
;
23786 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23787 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23788 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23789 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23790 wxPyListCtrl
*result
;
23793 bool temp7
= false ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 PyObject
* obj2
= 0 ;
23797 PyObject
* obj3
= 0 ;
23798 PyObject
* obj4
= 0 ;
23799 PyObject
* obj5
= 0 ;
23800 PyObject
* obj6
= 0 ;
23801 char *kwnames
[] = {
23802 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23807 if (SWIG_arg_fail(1)) SWIG_fail
;
23810 arg2
= (int)(SWIG_As_int(obj1
));
23811 if (SWIG_arg_fail(2)) SWIG_fail
;
23817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23823 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23828 arg5
= (long)(SWIG_As_long(obj4
));
23829 if (SWIG_arg_fail(5)) SWIG_fail
;
23834 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23835 if (SWIG_arg_fail(6)) SWIG_fail
;
23836 if (arg6
== NULL
) {
23837 SWIG_null_ref("wxValidator");
23839 if (SWIG_arg_fail(6)) SWIG_fail
;
23844 arg7
= wxString_in_helper(obj6
);
23845 if (arg7
== NULL
) SWIG_fail
;
23850 if (!wxPyCheckForApp()) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23872 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxPyListCtrl
*result
;
23875 char *kwnames
[] = {
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23881 if (!wxPyCheckForApp()) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23895 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
;
23897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23898 wxWindow
*arg2
= (wxWindow
*) 0 ;
23899 int arg3
= (int) -1 ;
23900 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23901 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23902 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23903 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23904 long arg6
= (long) wxLC_ICON
;
23905 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23906 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23907 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23908 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23912 bool temp8
= false ;
23913 PyObject
* obj0
= 0 ;
23914 PyObject
* obj1
= 0 ;
23915 PyObject
* obj2
= 0 ;
23916 PyObject
* obj3
= 0 ;
23917 PyObject
* obj4
= 0 ;
23918 PyObject
* obj5
= 0 ;
23919 PyObject
* obj6
= 0 ;
23920 PyObject
* obj7
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23927 if (SWIG_arg_fail(1)) SWIG_fail
;
23928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23929 if (SWIG_arg_fail(2)) SWIG_fail
;
23932 arg3
= (int)(SWIG_As_int(obj2
));
23933 if (SWIG_arg_fail(3)) SWIG_fail
;
23939 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23945 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23950 arg6
= (long)(SWIG_As_long(obj5
));
23951 if (SWIG_arg_fail(6)) SWIG_fail
;
23956 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23957 if (SWIG_arg_fail(7)) SWIG_fail
;
23958 if (arg7
== NULL
) {
23959 SWIG_null_ref("wxValidator");
23961 if (SWIG_arg_fail(7)) SWIG_fail
;
23966 arg8
= wxString_in_helper(obj7
);
23967 if (arg8
== NULL
) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23995 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
;
23997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23998 PyObject
*arg2
= (PyObject
*) 0 ;
23999 PyObject
*arg3
= (PyObject
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 PyObject
* obj2
= 0 ;
24003 char *kwnames
[] = {
24004 (char *) "self",(char *) "self",(char *) "_class", NULL
24007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24009 if (SWIG_arg_fail(1)) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 Py_INCREF(Py_None
); resultobj
= Py_None
;
24026 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24029 wxColour
*arg2
= 0 ;
24032 PyObject
* obj0
= 0 ;
24033 PyObject
* obj1
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self",(char *) "col", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24040 if (SWIG_arg_fail(1)) SWIG_fail
;
24043 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24061 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
;
24063 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24064 wxColour
*arg2
= 0 ;
24067 PyObject
* obj0
= 0 ;
24068 PyObject
* obj1
= 0 ;
24069 char *kwnames
[] = {
24070 (char *) "self",(char *) "col", NULL
24073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24075 if (SWIG_arg_fail(1)) SWIG_fail
;
24078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24096 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24100 wxListItem
*result
;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self",(char *) "col", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24109 if (SWIG_arg_fail(1)) SWIG_fail
;
24111 arg2
= (int)(SWIG_As_int(obj1
));
24112 if (SWIG_arg_fail(2)) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= wxPyMake_wxObject(result
, 0);
24130 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24134 wxListItem
*arg3
= 0 ;
24136 PyObject
* obj0
= 0 ;
24137 PyObject
* obj1
= 0 ;
24138 PyObject
* obj2
= 0 ;
24139 char *kwnames
[] = {
24140 (char *) "self",(char *) "col",(char *) "item", NULL
24143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24145 if (SWIG_arg_fail(1)) SWIG_fail
;
24147 arg2
= (int)(SWIG_As_int(obj1
));
24148 if (SWIG_arg_fail(2)) SWIG_fail
;
24151 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24152 if (SWIG_arg_fail(3)) SWIG_fail
;
24153 if (arg3
== NULL
) {
24154 SWIG_null_ref("wxListItem");
24156 if (SWIG_arg_fail(3)) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24174 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self",(char *) "col", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24187 if (SWIG_arg_fail(1)) SWIG_fail
;
24189 arg2
= (int)(SWIG_As_int(obj1
));
24190 if (SWIG_arg_fail(2)) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= SWIG_From_int((int)(result
));
24208 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24214 PyObject
* obj0
= 0 ;
24215 PyObject
* obj1
= 0 ;
24216 PyObject
* obj2
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "self",(char *) "col",(char *) "width", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24223 if (SWIG_arg_fail(1)) SWIG_fail
;
24225 arg2
= (int)(SWIG_As_int(obj1
));
24226 if (SWIG_arg_fail(2)) SWIG_fail
;
24229 arg3
= (int)(SWIG_As_int(obj2
));
24230 if (SWIG_arg_fail(3)) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24248 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24259 if (SWIG_arg_fail(1)) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_From_int((int)(result
));
24276 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24287 if (SWIG_arg_fail(1)) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24296 wxRect
* resultptr
;
24297 resultptr
= new wxRect((wxRect
&)(result
));
24298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24306 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24310 int arg3
= (int) 0 ;
24311 wxListItem
*result
;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 PyObject
* obj2
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "self",(char *) "itemId",(char *) "col", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24321 if (SWIG_arg_fail(1)) SWIG_fail
;
24323 arg2
= (long)(SWIG_As_long(obj1
));
24324 if (SWIG_arg_fail(2)) SWIG_fail
;
24328 arg3
= (int)(SWIG_As_int(obj2
));
24329 if (SWIG_arg_fail(3)) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= wxPyMake_wxObject(result
, 0);
24348 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24351 wxListItem
*arg2
= 0 ;
24353 PyObject
* obj0
= 0 ;
24354 PyObject
* obj1
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "info", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24361 if (SWIG_arg_fail(1)) SWIG_fail
;
24363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24364 if (SWIG_arg_fail(2)) SWIG_fail
;
24365 if (arg2
== NULL
) {
24366 SWIG_null_ref("wxListItem");
24368 if (SWIG_arg_fail(2)) SWIG_fail
;
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 result
= (bool)(arg1
)->SetItem(*arg2
);
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24386 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24391 wxString
*arg4
= 0 ;
24392 int arg5
= (int) -1 ;
24394 bool temp4
= false ;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24397 PyObject
* obj2
= 0 ;
24398 PyObject
* obj3
= 0 ;
24399 PyObject
* obj4
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24406 if (SWIG_arg_fail(1)) SWIG_fail
;
24408 arg2
= (long)(SWIG_As_long(obj1
));
24409 if (SWIG_arg_fail(2)) SWIG_fail
;
24412 arg3
= (int)(SWIG_As_int(obj2
));
24413 if (SWIG_arg_fail(3)) SWIG_fail
;
24416 arg4
= wxString_in_helper(obj3
);
24417 if (arg4
== NULL
) SWIG_fail
;
24422 arg5
= (int)(SWIG_As_int(obj4
));
24423 if (SWIG_arg_fail(5)) SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= SWIG_From_long((long)(result
));
24450 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
;
24452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 PyObject
* obj2
= 0 ;
24459 char *kwnames
[] = {
24460 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24465 if (SWIG_arg_fail(1)) SWIG_fail
;
24467 arg2
= (long)(SWIG_As_long(obj1
));
24468 if (SWIG_arg_fail(2)) SWIG_fail
;
24471 arg3
= (long)(SWIG_As_long(obj2
));
24472 if (SWIG_arg_fail(3)) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= SWIG_From_int((int)(result
));
24490 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 PyObject
* obj2
= 0 ;
24500 PyObject
* obj3
= 0 ;
24501 char *kwnames
[] = {
24502 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24507 if (SWIG_arg_fail(1)) SWIG_fail
;
24509 arg2
= (long)(SWIG_As_long(obj1
));
24510 if (SWIG_arg_fail(2)) SWIG_fail
;
24513 arg3
= (long)(SWIG_As_long(obj2
));
24514 if (SWIG_arg_fail(3)) SWIG_fail
;
24517 arg4
= (long)(SWIG_As_long(obj3
));
24518 if (SWIG_arg_fail(4)) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24536 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
;
24538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24541 int arg4
= (int) -1 ;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 PyObject
* obj2
= 0 ;
24546 PyObject
* obj3
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24553 if (SWIG_arg_fail(1)) SWIG_fail
;
24555 arg2
= (long)(SWIG_As_long(obj1
));
24556 if (SWIG_arg_fail(2)) SWIG_fail
;
24559 arg3
= (int)(SWIG_As_int(obj2
));
24560 if (SWIG_arg_fail(3)) SWIG_fail
;
24564 arg4
= (int)(SWIG_As_int(obj3
));
24565 if (SWIG_arg_fail(4)) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24584 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24589 PyObject
* obj0
= 0 ;
24590 PyObject
* obj1
= 0 ;
24591 char *kwnames
[] = {
24592 (char *) "self",(char *) "item", NULL
24595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24597 if (SWIG_arg_fail(1)) SWIG_fail
;
24599 arg2
= (long)(SWIG_As_long(obj1
));
24600 if (SWIG_arg_fail(2)) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24622 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24626 wxString
*arg3
= 0 ;
24627 bool temp3
= false ;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24630 PyObject
* obj2
= 0 ;
24631 char *kwnames
[] = {
24632 (char *) "self",(char *) "item",(char *) "str", NULL
24635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24637 if (SWIG_arg_fail(1)) SWIG_fail
;
24639 arg2
= (long)(SWIG_As_long(obj1
));
24640 if (SWIG_arg_fail(2)) SWIG_fail
;
24643 arg3
= wxString_in_helper(obj2
);
24644 if (arg3
== NULL
) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 Py_INCREF(Py_None
); resultobj
= Py_None
;
24669 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self",(char *) "item", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24682 if (SWIG_arg_fail(1)) SWIG_fail
;
24684 arg2
= (long)(SWIG_As_long(obj1
));
24685 if (SWIG_arg_fail(2)) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_From_long((long)(result
));
24703 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24709 PyObject
* obj0
= 0 ;
24710 PyObject
* obj1
= 0 ;
24711 PyObject
* obj2
= 0 ;
24712 char *kwnames
[] = {
24713 (char *) "self",(char *) "item",(char *) "data", NULL
24716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24718 if (SWIG_arg_fail(1)) SWIG_fail
;
24720 arg2
= (long)(SWIG_As_long(obj1
));
24721 if (SWIG_arg_fail(2)) SWIG_fail
;
24724 arg3
= (long)(SWIG_As_long(obj2
));
24725 if (SWIG_arg_fail(3)) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24743 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self",(char *) "item", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail
;
24758 arg2
= (long)(SWIG_As_long(obj1
));
24759 if (SWIG_arg_fail(2)) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24769 wxPoint
* resultptr
;
24770 resultptr
= new wxPoint((wxPoint
&)(result
));
24771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24779 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24783 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 PyObject
* obj2
= 0 ;
24788 char *kwnames
[] = {
24789 (char *) "self",(char *) "item",(char *) "code", NULL
24792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24794 if (SWIG_arg_fail(1)) SWIG_fail
;
24796 arg2
= (long)(SWIG_As_long(obj1
));
24797 if (SWIG_arg_fail(2)) SWIG_fail
;
24801 arg3
= (int)(SWIG_As_int(obj2
));
24802 if (SWIG_arg_fail(3)) SWIG_fail
;
24806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24807 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24813 wxRect
* resultptr
;
24814 resultptr
= new wxRect((wxRect
&)(result
));
24815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24823 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24827 wxPoint
*arg3
= 0 ;
24830 PyObject
* obj0
= 0 ;
24831 PyObject
* obj1
= 0 ;
24832 PyObject
* obj2
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self",(char *) "item",(char *) "pos", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24839 if (SWIG_arg_fail(1)) SWIG_fail
;
24841 arg2
= (long)(SWIG_As_long(obj1
));
24842 if (SWIG_arg_fail(2)) SWIG_fail
;
24846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24864 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
;
24866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24868 PyObject
* obj0
= 0 ;
24869 char *kwnames
[] = {
24870 (char *) "self", NULL
24873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24875 if (SWIG_arg_fail(1)) SWIG_fail
;
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= SWIG_From_int((int)(result
));
24892 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
;
24894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self", NULL
24901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24903 if (SWIG_arg_fail(1)) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= SWIG_From_int((int)(result
));
24920 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24924 PyObject
* obj0
= 0 ;
24925 char *kwnames
[] = {
24926 (char *) "self", NULL
24929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24931 if (SWIG_arg_fail(1)) SWIG_fail
;
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24940 wxSize
* resultptr
;
24941 resultptr
= new wxSize((wxSize
&)(result
));
24942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24950 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24954 bool arg3
= (bool) false ;
24955 PyObject
* obj0
= 0 ;
24956 PyObject
* obj1
= 0 ;
24957 PyObject
* obj2
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail
;
24966 arg2
= (int)(SWIG_As_int(obj1
));
24967 if (SWIG_arg_fail(2)) SWIG_fail
;
24971 arg3
= (bool)(SWIG_As_bool(obj2
));
24972 if (SWIG_arg_fail(3)) SWIG_fail
;
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 (arg1
)->SetItemSpacing(arg2
,arg3
);
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24982 Py_INCREF(Py_None
); resultobj
= Py_None
;
24989 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24990 PyObject
*resultobj
;
24991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24993 PyObject
* obj0
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25000 if (SWIG_arg_fail(1)) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= SWIG_From_int((int)(result
));
25017 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25021 PyObject
* obj0
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25028 if (SWIG_arg_fail(1)) SWIG_fail
;
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25037 wxColour
* resultptr
;
25038 resultptr
= new wxColour((wxColour
&)(result
));
25039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25047 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
;
25049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25050 wxColour
*arg2
= 0 ;
25052 PyObject
* obj0
= 0 ;
25053 PyObject
* obj1
= 0 ;
25054 char *kwnames
[] = {
25055 (char *) "self",(char *) "col", NULL
25058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25060 if (SWIG_arg_fail(1)) SWIG_fail
;
25063 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25072 Py_INCREF(Py_None
); resultobj
= Py_None
;
25079 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25080 PyObject
*resultobj
;
25081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25083 PyObject
* obj0
= 0 ;
25084 char *kwnames
[] = {
25085 (char *) "self", NULL
25088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25090 if (SWIG_arg_fail(1)) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25099 resultobj
= SWIG_From_long((long)(result
));
25107 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25108 PyObject
*resultobj
;
25109 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25111 bool arg3
= (bool) true ;
25112 PyObject
* obj0
= 0 ;
25113 PyObject
* obj1
= 0 ;
25114 PyObject
* obj2
= 0 ;
25115 char *kwnames
[] = {
25116 (char *) "self",(char *) "style",(char *) "add", NULL
25119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25121 if (SWIG_arg_fail(1)) SWIG_fail
;
25123 arg2
= (long)(SWIG_As_long(obj1
));
25124 if (SWIG_arg_fail(2)) SWIG_fail
;
25128 arg3
= (bool)(SWIG_As_bool(obj2
));
25129 if (SWIG_arg_fail(3)) SWIG_fail
;
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 (arg1
)->SetSingleStyle(arg2
,arg3
);
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 Py_INCREF(Py_None
); resultobj
= Py_None
;
25146 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
;
25148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25150 PyObject
* obj0
= 0 ;
25151 PyObject
* obj1
= 0 ;
25152 char *kwnames
[] = {
25153 (char *) "self",(char *) "style", NULL
25156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",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
= (long)(SWIG_As_long(obj1
));
25161 if (SWIG_arg_fail(2)) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 (arg1
)->SetWindowStyleFlag(arg2
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 Py_INCREF(Py_None
); resultobj
= Py_None
;
25177 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25181 int arg3
= (int) wxLIST_NEXT_ALL
;
25182 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25184 PyObject
* obj0
= 0 ;
25185 PyObject
* obj1
= 0 ;
25186 PyObject
* obj2
= 0 ;
25187 PyObject
* obj3
= 0 ;
25188 char *kwnames
[] = {
25189 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25194 if (SWIG_arg_fail(1)) SWIG_fail
;
25196 arg2
= (long)(SWIG_As_long(obj1
));
25197 if (SWIG_arg_fail(2)) SWIG_fail
;
25201 arg3
= (int)(SWIG_As_int(obj2
));
25202 if (SWIG_arg_fail(3)) SWIG_fail
;
25207 arg4
= (int)(SWIG_As_int(obj3
));
25208 if (SWIG_arg_fail(4)) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= SWIG_From_long((long)(result
));
25227 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25231 wxImageList
*result
;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self",(char *) "which", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25240 if (SWIG_arg_fail(1)) SWIG_fail
;
25242 arg2
= (int)(SWIG_As_int(obj1
));
25243 if (SWIG_arg_fail(2)) SWIG_fail
;
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= wxPyMake_wxObject(result
, 0);
25261 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25264 wxImageList
*arg2
= (wxImageList
*) 0 ;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 PyObject
* obj2
= 0 ;
25269 char *kwnames
[] = {
25270 (char *) "self",(char *) "imageList",(char *) "which", NULL
25273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25275 if (SWIG_arg_fail(1)) SWIG_fail
;
25276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25277 if (SWIG_arg_fail(2)) SWIG_fail
;
25279 arg3
= (int)(SWIG_As_int(obj2
));
25280 if (SWIG_arg_fail(3)) SWIG_fail
;
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 (arg1
)->SetImageList(arg2
,arg3
);
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25299 wxImageList
*arg2
= (wxImageList
*) 0 ;
25301 PyObject
* obj0
= 0 ;
25302 PyObject
* obj1
= 0 ;
25303 PyObject
* obj2
= 0 ;
25304 char *kwnames
[] = {
25305 (char *) "self",(char *) "imageList",(char *) "which", NULL
25308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25310 if (SWIG_arg_fail(1)) SWIG_fail
;
25311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25312 if (SWIG_arg_fail(2)) SWIG_fail
;
25314 arg3
= (int)(SWIG_As_int(obj2
));
25315 if (SWIG_arg_fail(3)) SWIG_fail
;
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 (arg1
)->AssignImageList(arg2
,arg3
);
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25324 Py_INCREF(Py_None
); resultobj
= Py_None
;
25331 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25333 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25342 if (SWIG_arg_fail(1)) SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25359 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25363 PyObject
* obj0
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "self", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25370 if (SWIG_arg_fail(1)) SWIG_fail
;
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25387 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
;
25389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 PyObject
* obj1
= 0 ;
25393 char *kwnames
[] = {
25394 (char *) "self",(char *) "item", NULL
25397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25399 if (SWIG_arg_fail(1)) SWIG_fail
;
25401 arg2
= (long)(SWIG_As_long(obj1
));
25402 if (SWIG_arg_fail(2)) SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->RefreshItem(arg2
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 Py_INCREF(Py_None
); resultobj
= Py_None
;
25418 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25423 PyObject
* obj0
= 0 ;
25424 PyObject
* obj1
= 0 ;
25425 PyObject
* obj2
= 0 ;
25426 char *kwnames
[] = {
25427 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25432 if (SWIG_arg_fail(1)) SWIG_fail
;
25434 arg2
= (long)(SWIG_As_long(obj1
));
25435 if (SWIG_arg_fail(2)) SWIG_fail
;
25438 arg3
= (long)(SWIG_As_long(obj2
));
25439 if (SWIG_arg_fail(3)) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 (arg1
)->RefreshItems(arg2
,arg3
);
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 Py_INCREF(Py_None
); resultobj
= Py_None
;
25455 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25458 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self",(char *) "flag", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail
;
25471 arg2
= (int)(SWIG_As_int(obj1
));
25472 if (SWIG_arg_fail(2)) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 result
= (bool)(arg1
)->Arrange(arg2
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25491 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25496 PyObject
* obj0
= 0 ;
25497 PyObject
* obj1
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "self",(char *) "item", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25504 if (SWIG_arg_fail(1)) SWIG_fail
;
25506 arg2
= (long)(SWIG_As_long(obj1
));
25507 if (SWIG_arg_fail(2)) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (bool)(arg1
)->DeleteItem(arg2
);
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25525 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
;
25527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25529 PyObject
* obj0
= 0 ;
25530 char *kwnames
[] = {
25531 (char *) "self", NULL
25534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25536 if (SWIG_arg_fail(1)) SWIG_fail
;
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 result
= (bool)(arg1
)->DeleteAllItems();
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25553 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
;
25555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self",(char *) "col", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail
;
25568 arg2
= (int)(SWIG_As_int(obj1
));
25569 if (SWIG_arg_fail(2)) SWIG_fail
;
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25587 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 char *kwnames
[] = {
25593 (char *) "self", NULL
25596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25598 if (SWIG_arg_fail(1)) SWIG_fail
;
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 result
= (bool)(arg1
)->DeleteAllColumns();
25603 wxPyEndAllowThreads(__tstate
);
25604 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25615 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25618 PyObject
* obj0
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 (arg1
)->ClearAll();
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 Py_INCREF(Py_None
); resultobj
= Py_None
;
25640 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
;
25642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self",(char *) "item", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25652 if (SWIG_arg_fail(1)) SWIG_fail
;
25654 arg2
= (long)(SWIG_As_long(obj1
));
25655 if (SWIG_arg_fail(2)) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 (arg1
)->EditLabel(arg2
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 Py_INCREF(Py_None
); resultobj
= Py_None
;
25671 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "self",(char *) "item", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25684 if (SWIG_arg_fail(1)) SWIG_fail
;
25686 arg2
= (long)(SWIG_As_long(obj1
));
25687 if (SWIG_arg_fail(2)) SWIG_fail
;
25690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25691 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25705 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
;
25707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25709 wxString
*arg3
= 0 ;
25710 bool arg4
= (bool) false ;
25712 bool temp3
= false ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 PyObject
* obj2
= 0 ;
25716 PyObject
* obj3
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25723 if (SWIG_arg_fail(1)) SWIG_fail
;
25725 arg2
= (long)(SWIG_As_long(obj1
));
25726 if (SWIG_arg_fail(2)) SWIG_fail
;
25729 arg3
= wxString_in_helper(obj2
);
25730 if (arg3
== NULL
) SWIG_fail
;
25735 arg4
= (bool)(SWIG_As_bool(obj3
));
25736 if (SWIG_arg_fail(4)) SWIG_fail
;
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25747 resultobj
= SWIG_From_long((long)(result
));
25763 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25764 PyObject
*resultobj
;
25765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25769 PyObject
* obj0
= 0 ;
25770 PyObject
* obj1
= 0 ;
25771 PyObject
* obj2
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "self",(char *) "start",(char *) "data", NULL
25776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25778 if (SWIG_arg_fail(1)) SWIG_fail
;
25780 arg2
= (long)(SWIG_As_long(obj1
));
25781 if (SWIG_arg_fail(2)) SWIG_fail
;
25784 arg3
= (long)(SWIG_As_long(obj2
));
25785 if (SWIG_arg_fail(3)) SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25795 resultobj
= SWIG_From_long((long)(result
));
25803 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
;
25805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25807 wxPoint
*arg3
= 0 ;
25811 PyObject
* obj0
= 0 ;
25812 PyObject
* obj1
= 0 ;
25813 PyObject
* obj2
= 0 ;
25814 PyObject
* obj3
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail
;
25823 arg2
= (long)(SWIG_As_long(obj1
));
25824 if (SWIG_arg_fail(2)) SWIG_fail
;
25828 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25831 arg4
= (int)(SWIG_As_int(obj3
));
25832 if (SWIG_arg_fail(4)) SWIG_fail
;
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= SWIG_From_long((long)(result
));
25850 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25853 wxPoint
*arg2
= 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self",(char *) "point", NULL
25865 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25868 if (SWIG_arg_fail(1)) SWIG_fail
;
25871 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25881 resultobj
= SWIG_From_long((long)(result
));
25883 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25884 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25891 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25894 wxListItem
*arg2
= 0 ;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self",(char *) "info", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail
;
25906 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25907 if (SWIG_arg_fail(2)) SWIG_fail
;
25908 if (arg2
== NULL
) {
25909 SWIG_null_ref("wxListItem");
25911 if (SWIG_arg_fail(2)) SWIG_fail
;
25914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 result
= (long)(arg1
)->InsertItem(*arg2
);
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_From_long((long)(result
));
25929 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
;
25931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25933 wxString
*arg3
= 0 ;
25935 bool temp3
= false ;
25936 PyObject
* obj0
= 0 ;
25937 PyObject
* obj1
= 0 ;
25938 PyObject
* obj2
= 0 ;
25939 char *kwnames
[] = {
25940 (char *) "self",(char *) "index",(char *) "label", NULL
25943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25945 if (SWIG_arg_fail(1)) SWIG_fail
;
25947 arg2
= (long)(SWIG_As_long(obj1
));
25948 if (SWIG_arg_fail(2)) SWIG_fail
;
25951 arg3
= wxString_in_helper(obj2
);
25952 if (arg3
== NULL
) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= SWIG_From_long((long)(result
));
25979 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25980 PyObject
*resultobj
;
25981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25985 PyObject
* obj0
= 0 ;
25986 PyObject
* obj1
= 0 ;
25987 PyObject
* obj2
= 0 ;
25988 char *kwnames
[] = {
25989 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25994 if (SWIG_arg_fail(1)) SWIG_fail
;
25996 arg2
= (long)(SWIG_As_long(obj1
));
25997 if (SWIG_arg_fail(2)) SWIG_fail
;
26000 arg3
= (int)(SWIG_As_int(obj2
));
26001 if (SWIG_arg_fail(3)) SWIG_fail
;
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= SWIG_From_long((long)(result
));
26019 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26023 wxString
*arg3
= 0 ;
26026 bool temp3
= false ;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 PyObject
* obj2
= 0 ;
26030 PyObject
* obj3
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26037 if (SWIG_arg_fail(1)) SWIG_fail
;
26039 arg2
= (long)(SWIG_As_long(obj1
));
26040 if (SWIG_arg_fail(2)) SWIG_fail
;
26043 arg3
= wxString_in_helper(obj2
);
26044 if (arg3
== NULL
) SWIG_fail
;
26048 arg4
= (int)(SWIG_As_int(obj3
));
26049 if (SWIG_arg_fail(4)) SWIG_fail
;
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= SWIG_From_long((long)(result
));
26075 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
;
26077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26079 wxListItem
*arg3
= 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 PyObject
* obj2
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self",(char *) "col",(char *) "info", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26090 if (SWIG_arg_fail(1)) SWIG_fail
;
26092 arg2
= (long)(SWIG_As_long(obj1
));
26093 if (SWIG_arg_fail(2)) SWIG_fail
;
26096 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26097 if (SWIG_arg_fail(3)) SWIG_fail
;
26098 if (arg3
== NULL
) {
26099 SWIG_null_ref("wxListItem");
26101 if (SWIG_arg_fail(3)) SWIG_fail
;
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= SWIG_From_long((long)(result
));
26119 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
;
26121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26123 wxString
*arg3
= 0 ;
26124 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26125 int arg5
= (int) -1 ;
26127 bool temp3
= false ;
26128 PyObject
* obj0
= 0 ;
26129 PyObject
* obj1
= 0 ;
26130 PyObject
* obj2
= 0 ;
26131 PyObject
* obj3
= 0 ;
26132 PyObject
* obj4
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26139 if (SWIG_arg_fail(1)) SWIG_fail
;
26141 arg2
= (long)(SWIG_As_long(obj1
));
26142 if (SWIG_arg_fail(2)) SWIG_fail
;
26145 arg3
= wxString_in_helper(obj2
);
26146 if (arg3
== NULL
) SWIG_fail
;
26151 arg4
= (int)(SWIG_As_int(obj3
));
26152 if (SWIG_arg_fail(4)) SWIG_fail
;
26157 arg5
= (int)(SWIG_As_int(obj4
));
26158 if (SWIG_arg_fail(5)) SWIG_fail
;
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= SWIG_From_long((long)(result
));
26185 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "count", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail
;
26199 arg2
= (long)(SWIG_As_long(obj1
));
26200 if (SWIG_arg_fail(2)) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->SetItemCount(arg2
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 PyObject
* obj1
= 0 ;
26224 PyObject
* obj2
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self",(char *) "dx",(char *) "dy", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26231 if (SWIG_arg_fail(1)) SWIG_fail
;
26233 arg2
= (int)(SWIG_As_int(obj1
));
26234 if (SWIG_arg_fail(2)) SWIG_fail
;
26237 arg3
= (int)(SWIG_As_int(obj2
));
26238 if (SWIG_arg_fail(3)) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26256 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
;
26258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26260 wxColour
*arg3
= 0 ;
26262 PyObject
* obj0
= 0 ;
26263 PyObject
* obj1
= 0 ;
26264 PyObject
* obj2
= 0 ;
26265 char *kwnames
[] = {
26266 (char *) "self",(char *) "item",(char *) "col", NULL
26269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26271 if (SWIG_arg_fail(1)) SWIG_fail
;
26273 arg2
= (long)(SWIG_As_long(obj1
));
26274 if (SWIG_arg_fail(2)) SWIG_fail
;
26278 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 Py_INCREF(Py_None
); resultobj
= Py_None
;
26294 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
;
26296 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26299 PyObject
* obj0
= 0 ;
26300 PyObject
* obj1
= 0 ;
26301 char *kwnames
[] = {
26302 (char *) "self",(char *) "item", NULL
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26307 if (SWIG_arg_fail(1)) SWIG_fail
;
26309 arg2
= (long)(SWIG_As_long(obj1
));
26310 if (SWIG_arg_fail(2)) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26320 wxColour
* resultptr
;
26321 resultptr
= new wxColour((wxColour
&)(result
));
26322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26330 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26331 PyObject
*resultobj
;
26332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26334 wxColour
*arg3
= 0 ;
26336 PyObject
* obj0
= 0 ;
26337 PyObject
* obj1
= 0 ;
26338 PyObject
* obj2
= 0 ;
26339 char *kwnames
[] = {
26340 (char *) "self",(char *) "item",(char *) "col", NULL
26343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26345 if (SWIG_arg_fail(1)) SWIG_fail
;
26347 arg2
= (long)(SWIG_As_long(obj1
));
26348 if (SWIG_arg_fail(2)) SWIG_fail
;
26352 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 Py_INCREF(Py_None
); resultobj
= Py_None
;
26368 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "item", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail
;
26383 arg2
= (long)(SWIG_As_long(obj1
));
26384 if (SWIG_arg_fail(2)) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26394 wxColour
* resultptr
;
26395 resultptr
= new wxColour((wxColour
&)(result
));
26396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26404 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26407 PyObject
*arg2
= (PyObject
*) 0 ;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self",(char *) "func", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26417 if (SWIG_arg_fail(1)) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26435 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26439 PyObject
* obj0
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26446 if (SWIG_arg_fail(1)) SWIG_fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= wxPyMake_wxObject(result
, 0);
26463 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26466 wxVisualAttributes result
;
26467 PyObject
* obj0
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "variant", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26475 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26476 if (SWIG_arg_fail(1)) SWIG_fail
;
26480 if (!wxPyCheckForApp()) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26488 wxVisualAttributes
* resultptr
;
26489 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26498 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26501 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26503 return Py_BuildValue((char *)"");
26505 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
;
26507 wxWindow
*arg1
= (wxWindow
*) 0 ;
26508 int arg2
= (int) -1 ;
26509 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26510 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26511 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26512 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26513 long arg5
= (long) wxLC_REPORT
;
26514 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26515 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26516 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26517 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26518 wxListView
*result
;
26521 bool temp7
= false ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 PyObject
* obj2
= 0 ;
26525 PyObject
* obj3
= 0 ;
26526 PyObject
* obj4
= 0 ;
26527 PyObject
* obj5
= 0 ;
26528 PyObject
* obj6
= 0 ;
26529 char *kwnames
[] = {
26530 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26535 if (SWIG_arg_fail(1)) SWIG_fail
;
26538 arg2
= (int)(SWIG_As_int(obj1
));
26539 if (SWIG_arg_fail(2)) SWIG_fail
;
26545 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26551 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26556 arg5
= (long)(SWIG_As_long(obj4
));
26557 if (SWIG_arg_fail(5)) SWIG_fail
;
26562 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26563 if (SWIG_arg_fail(6)) SWIG_fail
;
26564 if (arg6
== NULL
) {
26565 SWIG_null_ref("wxValidator");
26567 if (SWIG_arg_fail(6)) SWIG_fail
;
26572 arg7
= wxString_in_helper(obj6
);
26573 if (arg7
== NULL
) SWIG_fail
;
26578 if (!wxPyCheckForApp()) SWIG_fail
;
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26600 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxListView
*result
;
26603 char *kwnames
[] = {
26607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26609 if (!wxPyCheckForApp()) SWIG_fail
;
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 result
= (wxListView
*)new wxListView();
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26623 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
;
26625 wxListView
*arg1
= (wxListView
*) 0 ;
26626 wxWindow
*arg2
= (wxWindow
*) 0 ;
26627 int arg3
= (int) -1 ;
26628 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26629 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26630 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26631 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26632 long arg6
= (long) wxLC_REPORT
;
26633 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26634 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26635 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26636 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26640 bool temp8
= false ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 PyObject
* obj2
= 0 ;
26644 PyObject
* obj3
= 0 ;
26645 PyObject
* obj4
= 0 ;
26646 PyObject
* obj5
= 0 ;
26647 PyObject
* obj6
= 0 ;
26648 PyObject
* obj7
= 0 ;
26649 char *kwnames
[] = {
26650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26655 if (SWIG_arg_fail(1)) SWIG_fail
;
26656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26657 if (SWIG_arg_fail(2)) SWIG_fail
;
26660 arg3
= (int)(SWIG_As_int(obj2
));
26661 if (SWIG_arg_fail(3)) SWIG_fail
;
26667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26678 arg6
= (long)(SWIG_As_long(obj5
));
26679 if (SWIG_arg_fail(6)) SWIG_fail
;
26684 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26685 if (SWIG_arg_fail(7)) SWIG_fail
;
26686 if (arg7
== NULL
) {
26687 SWIG_null_ref("wxValidator");
26689 if (SWIG_arg_fail(7)) SWIG_fail
;
26694 arg8
= wxString_in_helper(obj7
);
26695 if (arg8
== NULL
) SWIG_fail
;
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26723 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26724 PyObject
*resultobj
;
26725 wxListView
*arg1
= (wxListView
*) 0 ;
26727 bool arg3
= (bool) true ;
26728 PyObject
* obj0
= 0 ;
26729 PyObject
* obj1
= 0 ;
26730 PyObject
* obj2
= 0 ;
26731 char *kwnames
[] = {
26732 (char *) "self",(char *) "n",(char *) "on", NULL
26735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26737 if (SWIG_arg_fail(1)) SWIG_fail
;
26739 arg2
= (long)(SWIG_As_long(obj1
));
26740 if (SWIG_arg_fail(2)) SWIG_fail
;
26744 arg3
= (bool)(SWIG_As_bool(obj2
));
26745 if (SWIG_arg_fail(3)) SWIG_fail
;
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 (arg1
)->Select(arg2
,arg3
);
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26755 Py_INCREF(Py_None
); resultobj
= Py_None
;
26762 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
;
26764 wxListView
*arg1
= (wxListView
*) 0 ;
26766 PyObject
* obj0
= 0 ;
26767 PyObject
* obj1
= 0 ;
26768 char *kwnames
[] = {
26769 (char *) "self",(char *) "index", NULL
26772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26774 if (SWIG_arg_fail(1)) SWIG_fail
;
26776 arg2
= (long)(SWIG_As_long(obj1
));
26777 if (SWIG_arg_fail(2)) SWIG_fail
;
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 (arg1
)->Focus(arg2
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 Py_INCREF(Py_None
); resultobj
= Py_None
;
26793 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
;
26795 wxListView
*arg1
= (wxListView
*) 0 ;
26797 PyObject
* obj0
= 0 ;
26798 char *kwnames
[] = {
26799 (char *) "self", NULL
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26804 if (SWIG_arg_fail(1)) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= SWIG_From_long((long)(result
));
26821 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxListView
*arg1
= (wxListView
*) 0 ;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 char *kwnames
[] = {
26829 (char *) "self",(char *) "item", NULL
26832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26834 if (SWIG_arg_fail(1)) SWIG_fail
;
26836 arg2
= (long)(SWIG_As_long(obj1
));
26837 if (SWIG_arg_fail(2)) SWIG_fail
;
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26847 resultobj
= SWIG_From_long((long)(result
));
26855 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
;
26857 wxListView
*arg1
= (wxListView
*) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26866 if (SWIG_arg_fail(1)) SWIG_fail
;
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= SWIG_From_long((long)(result
));
26883 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
;
26885 wxListView
*arg1
= (wxListView
*) 0 ;
26888 PyObject
* obj0
= 0 ;
26889 PyObject
* obj1
= 0 ;
26890 char *kwnames
[] = {
26891 (char *) "self",(char *) "index", NULL
26894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26896 if (SWIG_arg_fail(1)) SWIG_fail
;
26898 arg2
= (long)(SWIG_As_long(obj1
));
26899 if (SWIG_arg_fail(2)) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= (bool)(arg1
)->IsSelected(arg2
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26917 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
;
26919 wxListView
*arg1
= (wxListView
*) 0 ;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 PyObject
* obj2
= 0 ;
26925 char *kwnames
[] = {
26926 (char *) "self",(char *) "col",(char *) "image", NULL
26929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26931 if (SWIG_arg_fail(1)) SWIG_fail
;
26933 arg2
= (int)(SWIG_As_int(obj1
));
26934 if (SWIG_arg_fail(2)) SWIG_fail
;
26937 arg3
= (int)(SWIG_As_int(obj2
));
26938 if (SWIG_arg_fail(3)) SWIG_fail
;
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 (arg1
)->SetColumnImage(arg2
,arg3
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 Py_INCREF(Py_None
); resultobj
= Py_None
;
26954 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26955 PyObject
*resultobj
;
26956 wxListView
*arg1
= (wxListView
*) 0 ;
26958 PyObject
* obj0
= 0 ;
26959 PyObject
* obj1
= 0 ;
26960 char *kwnames
[] = {
26961 (char *) "self",(char *) "col", NULL
26964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26966 if (SWIG_arg_fail(1)) SWIG_fail
;
26968 arg2
= (int)(SWIG_As_int(obj1
));
26969 if (SWIG_arg_fail(2)) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 (arg1
)->ClearColumnImage(arg2
);
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26978 Py_INCREF(Py_None
); resultobj
= Py_None
;
26985 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26988 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26990 return Py_BuildValue((char *)"");
26992 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26993 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26998 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27003 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27005 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27012 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
;
27014 wxTreeItemId
*result
;
27015 char *kwnames
[] = {
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 result
= (wxTreeItemId
*)new wxTreeItemId();
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27034 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
;
27036 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27037 PyObject
* obj0
= 0 ;
27038 char *kwnames
[] = {
27039 (char *) "self", NULL
27042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27044 if (SWIG_arg_fail(1)) SWIG_fail
;
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 wxPyEndAllowThreads(__tstate
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27052 Py_INCREF(Py_None
); resultobj
= Py_None
;
27059 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 char *kwnames
[] = {
27065 (char *) "self", NULL
27068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27070 if (SWIG_arg_fail(1)) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27087 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27088 PyObject
*resultobj
;
27089 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27090 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27092 PyObject
* obj0
= 0 ;
27093 PyObject
* obj1
= 0 ;
27094 char *kwnames
[] = {
27095 (char *) "self",(char *) "other", NULL
27098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27100 if (SWIG_arg_fail(1)) SWIG_fail
;
27101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27102 if (SWIG_arg_fail(2)) SWIG_fail
;
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27107 wxPyEndAllowThreads(__tstate
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27119 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
;
27121 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27122 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27124 PyObject
* obj0
= 0 ;
27125 PyObject
* obj1
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "self",(char *) "other", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27132 if (SWIG_arg_fail(1)) SWIG_fail
;
27133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27134 if (SWIG_arg_fail(2)) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27151 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
;
27153 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27154 void *arg2
= (void *) 0 ;
27155 PyObject
* obj0
= 0 ;
27156 PyObject
* obj1
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "self",(char *) "m_pItem", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27163 if (SWIG_arg_fail(1)) SWIG_fail
;
27165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27166 SWIG_arg_fail(2);SWIG_fail
;
27169 if (arg1
) (arg1
)->m_pItem
= arg2
;
27171 Py_INCREF(Py_None
); resultobj
= Py_None
;
27178 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27182 PyObject
* obj0
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27189 if (SWIG_arg_fail(1)) SWIG_fail
;
27190 result
= (void *) ((arg1
)->m_pItem
);
27192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27199 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27202 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27204 return Py_BuildValue((char *)"");
27206 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 PyObject
*arg1
= (PyObject
*) NULL
;
27209 wxPyTreeItemData
*result
;
27210 PyObject
* obj0
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "obj", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27233 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27237 PyObject
* obj0
= 0 ;
27238 char *kwnames
[] = {
27239 (char *) "self", NULL
27242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27244 if (SWIG_arg_fail(1)) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 result
= (PyObject
*)(arg1
)->GetData();
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= result
;
27259 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
;
27261 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27262 PyObject
*arg2
= (PyObject
*) 0 ;
27263 PyObject
* obj0
= 0 ;
27264 PyObject
* obj1
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "self",(char *) "obj", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail
;
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 (arg1
)->SetData(arg2
);
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 Py_INCREF(Py_None
); resultobj
= Py_None
;
27287 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27290 wxTreeItemId
*result
;
27291 PyObject
* obj0
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27303 result
= (wxTreeItemId
*) &_result_ref
;
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27316 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27319 wxTreeItemId
*arg2
= 0 ;
27320 PyObject
* obj0
= 0 ;
27321 PyObject
* obj1
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self",(char *) "id", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27328 if (SWIG_arg_fail(1)) SWIG_fail
;
27330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27331 if (SWIG_arg_fail(2)) SWIG_fail
;
27332 if (arg2
== NULL
) {
27333 SWIG_null_ref("wxTreeItemId");
27335 if (SWIG_arg_fail(2)) SWIG_fail
;
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27344 Py_INCREF(Py_None
); resultobj
= Py_None
;
27351 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27352 PyObject
*resultobj
;
27353 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27354 PyObject
* obj0
= 0 ;
27355 char *kwnames
[] = {
27356 (char *) "self", NULL
27359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27361 if (SWIG_arg_fail(1)) SWIG_fail
;
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 wxPyTreeItemData_Destroy(arg1
);
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 Py_INCREF(Py_None
); resultobj
= Py_None
;
27376 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27379 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27381 return Py_BuildValue((char *)"");
27383 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27386 int arg2
= (int) 0 ;
27387 wxTreeEvent
*result
;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj1
= 0 ;
27390 char *kwnames
[] = {
27391 (char *) "commandType",(char *) "id", NULL
27394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27397 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27398 if (SWIG_arg_fail(1)) SWIG_fail
;
27403 arg2
= (int)(SWIG_As_int(obj1
));
27404 if (SWIG_arg_fail(2)) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27421 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27422 PyObject
*resultobj
;
27423 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27424 wxTreeItemId result
;
27425 PyObject
* obj0
= 0 ;
27426 char *kwnames
[] = {
27427 (char *) "self", NULL
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27432 if (SWIG_arg_fail(1)) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27441 wxTreeItemId
* resultptr
;
27442 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27451 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27452 PyObject
*resultobj
;
27453 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27454 wxTreeItemId
*arg2
= 0 ;
27455 PyObject
* obj0
= 0 ;
27456 PyObject
* obj1
= 0 ;
27457 char *kwnames
[] = {
27458 (char *) "self",(char *) "item", NULL
27461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27463 if (SWIG_arg_fail(1)) SWIG_fail
;
27465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27466 if (SWIG_arg_fail(2)) SWIG_fail
;
27467 if (arg2
== NULL
) {
27468 SWIG_null_ref("wxTreeItemId");
27470 if (SWIG_arg_fail(2)) SWIG_fail
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27479 Py_INCREF(Py_None
); resultobj
= Py_None
;
27486 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27487 PyObject
*resultobj
;
27488 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27489 wxTreeItemId result
;
27490 PyObject
* obj0
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27497 if (SWIG_arg_fail(1)) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27506 wxTreeItemId
* resultptr
;
27507 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27516 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27519 wxTreeItemId
*arg2
= 0 ;
27520 PyObject
* obj0
= 0 ;
27521 PyObject
* obj1
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self",(char *) "item", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27531 if (SWIG_arg_fail(2)) SWIG_fail
;
27532 if (arg2
== NULL
) {
27533 SWIG_null_ref("wxTreeItemId");
27535 if (SWIG_arg_fail(2)) SWIG_fail
;
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 Py_INCREF(Py_None
); resultobj
= Py_None
;
27551 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
;
27553 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27555 PyObject
* obj0
= 0 ;
27556 char *kwnames
[] = {
27557 (char *) "self", NULL
27560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27562 if (SWIG_arg_fail(1)) SWIG_fail
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27571 wxPoint
* resultptr
;
27572 resultptr
= new wxPoint((wxPoint
&)(result
));
27573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27581 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27584 wxPoint
*arg2
= 0 ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 char *kwnames
[] = {
27589 (char *) "self",(char *) "pt", NULL
27592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27594 if (SWIG_arg_fail(1)) SWIG_fail
;
27597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27606 Py_INCREF(Py_None
); resultobj
= Py_None
;
27613 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27616 wxKeyEvent
*result
;
27617 PyObject
* obj0
= 0 ;
27618 char *kwnames
[] = {
27619 (char *) "self", NULL
27622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27624 if (SWIG_arg_fail(1)) SWIG_fail
;
27626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27628 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27629 result
= (wxKeyEvent
*) &_result_ref
;
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27642 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
;
27644 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27646 PyObject
* obj0
= 0 ;
27647 char *kwnames
[] = {
27648 (char *) "self", NULL
27651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27653 if (SWIG_arg_fail(1)) SWIG_fail
;
27655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27656 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27658 wxPyEndAllowThreads(__tstate
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27662 resultobj
= SWIG_From_int((int)(result
));
27670 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27673 wxKeyEvent
*arg2
= 0 ;
27674 PyObject
* obj0
= 0 ;
27675 PyObject
* obj1
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self",(char *) "evt", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27682 if (SWIG_arg_fail(1)) SWIG_fail
;
27684 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27685 if (SWIG_arg_fail(2)) SWIG_fail
;
27686 if (arg2
== NULL
) {
27687 SWIG_null_ref("wxKeyEvent");
27689 if (SWIG_arg_fail(2)) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27698 Py_INCREF(Py_None
); resultobj
= Py_None
;
27705 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27709 PyObject
* obj0
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27716 if (SWIG_arg_fail(1)) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27721 result
= (wxString
*) &_result_ref
;
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27729 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27731 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27740 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
;
27742 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27743 wxString
*arg2
= 0 ;
27744 bool temp2
= false ;
27745 PyObject
* obj0
= 0 ;
27746 PyObject
* obj1
= 0 ;
27747 char *kwnames
[] = {
27748 (char *) "self",(char *) "label", NULL
27751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27753 if (SWIG_arg_fail(1)) SWIG_fail
;
27755 arg2
= wxString_in_helper(obj1
);
27756 if (arg2
== NULL
) SWIG_fail
;
27760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27761 (arg1
)->SetLabel((wxString
const &)*arg2
);
27763 wxPyEndAllowThreads(__tstate
);
27764 if (PyErr_Occurred()) SWIG_fail
;
27766 Py_INCREF(Py_None
); resultobj
= Py_None
;
27781 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27785 PyObject
* obj0
= 0 ;
27786 char *kwnames
[] = {
27787 (char *) "self", NULL
27790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27792 if (SWIG_arg_fail(1)) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27809 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27813 PyObject
* obj0
= 0 ;
27814 PyObject
* obj1
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "self",(char *) "editCancelled", NULL
27819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27821 if (SWIG_arg_fail(1)) SWIG_fail
;
27823 arg2
= (bool)(SWIG_As_bool(obj1
));
27824 if (SWIG_arg_fail(2)) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 (arg1
)->SetEditCanceled(arg2
);
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 Py_INCREF(Py_None
); resultobj
= Py_None
;
27840 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
;
27842 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27843 wxString
*arg2
= 0 ;
27844 bool temp2
= false ;
27845 PyObject
* obj0
= 0 ;
27846 PyObject
* obj1
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self",(char *) "toolTip", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27853 if (SWIG_arg_fail(1)) SWIG_fail
;
27855 arg2
= wxString_in_helper(obj1
);
27856 if (arg2
== NULL
) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27866 Py_INCREF(Py_None
); resultobj
= Py_None
;
27881 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
;
27883 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27885 PyObject
* obj0
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27892 if (SWIG_arg_fail(1)) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 result
= (arg1
)->GetToolTip();
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27913 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27916 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27918 return Py_BuildValue((char *)"");
27920 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
;
27922 wxWindow
*arg1
= (wxWindow
*) 0 ;
27923 int arg2
= (int) -1 ;
27924 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27925 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27926 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27927 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27928 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27929 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27930 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27931 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27933 wxPyTreeCtrl
*result
;
27936 bool temp7
= false ;
27937 PyObject
* obj0
= 0 ;
27938 PyObject
* obj1
= 0 ;
27939 PyObject
* obj2
= 0 ;
27940 PyObject
* obj3
= 0 ;
27941 PyObject
* obj4
= 0 ;
27942 PyObject
* obj5
= 0 ;
27943 PyObject
* obj6
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27950 if (SWIG_arg_fail(1)) SWIG_fail
;
27953 arg2
= (int)(SWIG_As_int(obj1
));
27954 if (SWIG_arg_fail(2)) SWIG_fail
;
27960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27966 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27971 arg5
= (long)(SWIG_As_long(obj4
));
27972 if (SWIG_arg_fail(5)) SWIG_fail
;
27977 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27978 if (SWIG_arg_fail(6)) SWIG_fail
;
27979 if (arg6
== NULL
) {
27980 SWIG_null_ref("wxValidator");
27982 if (SWIG_arg_fail(6)) SWIG_fail
;
27987 arg7
= wxString_in_helper(obj6
);
27988 if (arg7
== NULL
) SWIG_fail
;
27993 if (!wxPyCheckForApp()) SWIG_fail
;
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28015 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
;
28017 wxPyTreeCtrl
*result
;
28018 char *kwnames
[] = {
28022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28024 if (!wxPyCheckForApp()) SWIG_fail
;
28025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28026 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28038 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
;
28040 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28041 wxWindow
*arg2
= (wxWindow
*) 0 ;
28042 int arg3
= (int) -1 ;
28043 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28044 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28045 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28046 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28047 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28048 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28049 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28050 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28051 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28055 bool temp8
= false ;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 PyObject
* obj2
= 0 ;
28059 PyObject
* obj3
= 0 ;
28060 PyObject
* obj4
= 0 ;
28061 PyObject
* obj5
= 0 ;
28062 PyObject
* obj6
= 0 ;
28063 PyObject
* obj7
= 0 ;
28064 char *kwnames
[] = {
28065 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28070 if (SWIG_arg_fail(1)) SWIG_fail
;
28071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28072 if (SWIG_arg_fail(2)) SWIG_fail
;
28075 arg3
= (int)(SWIG_As_int(obj2
));
28076 if (SWIG_arg_fail(3)) SWIG_fail
;
28082 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28088 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28093 arg6
= (long)(SWIG_As_long(obj5
));
28094 if (SWIG_arg_fail(6)) SWIG_fail
;
28099 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28100 if (SWIG_arg_fail(7)) SWIG_fail
;
28101 if (arg7
== NULL
) {
28102 SWIG_null_ref("wxValidator");
28104 if (SWIG_arg_fail(7)) SWIG_fail
;
28109 arg8
= wxString_in_helper(obj7
);
28110 if (arg8
== NULL
) SWIG_fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28138 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28139 PyObject
*resultobj
;
28140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28141 PyObject
*arg2
= (PyObject
*) 0 ;
28142 PyObject
*arg3
= (PyObject
*) 0 ;
28143 PyObject
* obj0
= 0 ;
28144 PyObject
* obj1
= 0 ;
28145 PyObject
* obj2
= 0 ;
28146 char *kwnames
[] = {
28147 (char *) "self",(char *) "self",(char *) "_class", NULL
28150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28152 if (SWIG_arg_fail(1)) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 Py_INCREF(Py_None
); resultobj
= Py_None
;
28169 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 char *kwnames
[] = {
28175 (char *) "self", NULL
28178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28180 if (SWIG_arg_fail(1)) SWIG_fail
;
28182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28197 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28198 PyObject
*resultobj
;
28199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28200 unsigned int result
;
28201 PyObject
* obj0
= 0 ;
28202 char *kwnames
[] = {
28203 (char *) "self", NULL
28206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28208 if (SWIG_arg_fail(1)) SWIG_fail
;
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28211 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28225 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28226 PyObject
*resultobj
;
28227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28228 unsigned int arg2
;
28229 PyObject
* obj0
= 0 ;
28230 PyObject
* obj1
= 0 ;
28231 char *kwnames
[] = {
28232 (char *) "self",(char *) "indent", NULL
28235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28237 if (SWIG_arg_fail(1)) SWIG_fail
;
28239 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28240 if (SWIG_arg_fail(2)) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 (arg1
)->SetIndent(arg2
);
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28249 Py_INCREF(Py_None
); resultobj
= Py_None
;
28256 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28259 unsigned int result
;
28260 PyObject
* obj0
= 0 ;
28261 char *kwnames
[] = {
28262 (char *) "self", NULL
28265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28267 if (SWIG_arg_fail(1)) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28276 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28284 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28287 unsigned int arg2
;
28288 PyObject
* obj0
= 0 ;
28289 PyObject
* obj1
= 0 ;
28290 char *kwnames
[] = {
28291 (char *) "self",(char *) "spacing", NULL
28294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28296 if (SWIG_arg_fail(1)) SWIG_fail
;
28298 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28299 if (SWIG_arg_fail(2)) SWIG_fail
;
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 (arg1
)->SetSpacing(arg2
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28308 Py_INCREF(Py_None
); resultobj
= Py_None
;
28315 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28316 PyObject
*resultobj
;
28317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28318 wxImageList
*result
;
28319 PyObject
* obj0
= 0 ;
28320 char *kwnames
[] = {
28321 (char *) "self", NULL
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28326 if (SWIG_arg_fail(1)) SWIG_fail
;
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28335 resultobj
= wxPyMake_wxObject(result
, 0);
28343 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
;
28345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28346 wxImageList
*result
;
28347 PyObject
* obj0
= 0 ;
28348 char *kwnames
[] = {
28349 (char *) "self", NULL
28352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28354 if (SWIG_arg_fail(1)) SWIG_fail
;
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28357 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28359 wxPyEndAllowThreads(__tstate
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= wxPyMake_wxObject(result
, 0);
28371 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
;
28373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28374 wxImageList
*arg2
= (wxImageList
*) 0 ;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "self",(char *) "imageList", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28383 if (SWIG_arg_fail(1)) SWIG_fail
;
28384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28385 if (SWIG_arg_fail(2)) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 (arg1
)->SetImageList(arg2
);
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28393 Py_INCREF(Py_None
); resultobj
= Py_None
;
28400 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28401 PyObject
*resultobj
;
28402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28403 wxImageList
*arg2
= (wxImageList
*) 0 ;
28404 PyObject
* obj0
= 0 ;
28405 PyObject
* obj1
= 0 ;
28406 char *kwnames
[] = {
28407 (char *) "self",(char *) "imageList", NULL
28410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28412 if (SWIG_arg_fail(1)) SWIG_fail
;
28413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28414 if (SWIG_arg_fail(2)) SWIG_fail
;
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 (arg1
)->SetStateImageList(arg2
);
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 Py_INCREF(Py_None
); resultobj
= Py_None
;
28429 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
;
28431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28432 wxImageList
*arg2
= (wxImageList
*) 0 ;
28433 PyObject
* obj0
= 0 ;
28434 PyObject
* obj1
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "self",(char *) "imageList", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28441 if (SWIG_arg_fail(1)) SWIG_fail
;
28442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28443 if (SWIG_arg_fail(2)) SWIG_fail
;
28445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28446 (arg1
)->AssignImageList(arg2
);
28448 wxPyEndAllowThreads(__tstate
);
28449 if (PyErr_Occurred()) SWIG_fail
;
28451 Py_INCREF(Py_None
); resultobj
= Py_None
;
28458 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28459 PyObject
*resultobj
;
28460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28461 wxImageList
*arg2
= (wxImageList
*) 0 ;
28462 PyObject
* obj0
= 0 ;
28463 PyObject
* obj1
= 0 ;
28464 char *kwnames
[] = {
28465 (char *) "self",(char *) "imageList", NULL
28468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28470 if (SWIG_arg_fail(1)) SWIG_fail
;
28471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28472 if (SWIG_arg_fail(2)) SWIG_fail
;
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 (arg1
)->AssignStateImageList(arg2
);
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 Py_INCREF(Py_None
); resultobj
= Py_None
;
28487 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
;
28489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28490 wxTreeItemId
*arg2
= 0 ;
28492 PyObject
* obj0
= 0 ;
28493 PyObject
* obj1
= 0 ;
28494 char *kwnames
[] = {
28495 (char *) "self",(char *) "item", NULL
28498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28500 if (SWIG_arg_fail(1)) SWIG_fail
;
28502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28503 if (SWIG_arg_fail(2)) SWIG_fail
;
28504 if (arg2
== NULL
) {
28505 SWIG_null_ref("wxTreeItemId");
28507 if (SWIG_arg_fail(2)) SWIG_fail
;
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28529 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28530 PyObject
*resultobj
;
28531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28532 wxTreeItemId
*arg2
= 0 ;
28533 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28535 PyObject
* obj0
= 0 ;
28536 PyObject
* obj1
= 0 ;
28537 PyObject
* obj2
= 0 ;
28538 char *kwnames
[] = {
28539 (char *) "self",(char *) "item",(char *) "which", NULL
28542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28544 if (SWIG_arg_fail(1)) SWIG_fail
;
28546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28547 if (SWIG_arg_fail(2)) SWIG_fail
;
28548 if (arg2
== NULL
) {
28549 SWIG_null_ref("wxTreeItemId");
28551 if (SWIG_arg_fail(2)) SWIG_fail
;
28555 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28556 if (SWIG_arg_fail(3)) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= SWIG_From_int((int)(result
));
28575 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28576 PyObject
*resultobj
;
28577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28578 wxTreeItemId
*arg2
= 0 ;
28579 wxPyTreeItemData
*result
;
28580 PyObject
* obj0
= 0 ;
28581 PyObject
* obj1
= 0 ;
28582 char *kwnames
[] = {
28583 (char *) "self",(char *) "item", NULL
28586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28588 if (SWIG_arg_fail(1)) SWIG_fail
;
28590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28591 if (SWIG_arg_fail(2)) SWIG_fail
;
28592 if (arg2
== NULL
) {
28593 SWIG_null_ref("wxTreeItemId");
28595 if (SWIG_arg_fail(2)) SWIG_fail
;
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28611 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28612 PyObject
*resultobj
;
28613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28614 wxTreeItemId
*arg2
= 0 ;
28616 PyObject
* obj0
= 0 ;
28617 PyObject
* obj1
= 0 ;
28618 char *kwnames
[] = {
28619 (char *) "self",(char *) "item", NULL
28622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28624 if (SWIG_arg_fail(1)) SWIG_fail
;
28626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28627 if (SWIG_arg_fail(2)) SWIG_fail
;
28628 if (arg2
== NULL
) {
28629 SWIG_null_ref("wxTreeItemId");
28631 if (SWIG_arg_fail(2)) SWIG_fail
;
28634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28635 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28637 wxPyEndAllowThreads(__tstate
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= result
;
28647 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28648 PyObject
*resultobj
;
28649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28650 wxTreeItemId
*arg2
= 0 ;
28652 PyObject
* obj0
= 0 ;
28653 PyObject
* obj1
= 0 ;
28654 char *kwnames
[] = {
28655 (char *) "self",(char *) "item", NULL
28658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28660 if (SWIG_arg_fail(1)) SWIG_fail
;
28662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28663 if (SWIG_arg_fail(2)) SWIG_fail
;
28664 if (arg2
== NULL
) {
28665 SWIG_null_ref("wxTreeItemId");
28667 if (SWIG_arg_fail(2)) SWIG_fail
;
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28671 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28673 wxPyEndAllowThreads(__tstate
);
28674 if (PyErr_Occurred()) SWIG_fail
;
28677 wxColour
* resultptr
;
28678 resultptr
= new wxColour((wxColour
&)(result
));
28679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28687 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28688 PyObject
*resultobj
;
28689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28690 wxTreeItemId
*arg2
= 0 ;
28692 PyObject
* obj0
= 0 ;
28693 PyObject
* obj1
= 0 ;
28694 char *kwnames
[] = {
28695 (char *) "self",(char *) "item", NULL
28698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28713 wxPyEndAllowThreads(__tstate
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28717 wxColour
* resultptr
;
28718 resultptr
= new wxColour((wxColour
&)(result
));
28719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28727 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28728 PyObject
*resultobj
;
28729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28730 wxTreeItemId
*arg2
= 0 ;
28732 PyObject
* obj0
= 0 ;
28733 PyObject
* obj1
= 0 ;
28734 char *kwnames
[] = {
28735 (char *) "self",(char *) "item", NULL
28738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28740 if (SWIG_arg_fail(1)) SWIG_fail
;
28742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28743 if (SWIG_arg_fail(2)) SWIG_fail
;
28744 if (arg2
== NULL
) {
28745 SWIG_null_ref("wxTreeItemId");
28747 if (SWIG_arg_fail(2)) SWIG_fail
;
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28757 wxFont
* resultptr
;
28758 resultptr
= new wxFont((wxFont
&)(result
));
28759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28767 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
;
28769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28770 wxTreeItemId
*arg2
= 0 ;
28771 wxString
*arg3
= 0 ;
28772 bool temp3
= false ;
28773 PyObject
* obj0
= 0 ;
28774 PyObject
* obj1
= 0 ;
28775 PyObject
* obj2
= 0 ;
28776 char *kwnames
[] = {
28777 (char *) "self",(char *) "item",(char *) "text", NULL
28780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28782 if (SWIG_arg_fail(1)) SWIG_fail
;
28784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28785 if (SWIG_arg_fail(2)) SWIG_fail
;
28786 if (arg2
== NULL
) {
28787 SWIG_null_ref("wxTreeItemId");
28789 if (SWIG_arg_fail(2)) SWIG_fail
;
28792 arg3
= wxString_in_helper(obj2
);
28793 if (arg3
== NULL
) SWIG_fail
;
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28800 wxPyEndAllowThreads(__tstate
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 Py_INCREF(Py_None
); resultobj
= Py_None
;
28818 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28819 PyObject
*resultobj
;
28820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28821 wxTreeItemId
*arg2
= 0 ;
28823 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28824 PyObject
* obj0
= 0 ;
28825 PyObject
* obj1
= 0 ;
28826 PyObject
* obj2
= 0 ;
28827 PyObject
* obj3
= 0 ;
28828 char *kwnames
[] = {
28829 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28834 if (SWIG_arg_fail(1)) SWIG_fail
;
28836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28837 if (SWIG_arg_fail(2)) SWIG_fail
;
28838 if (arg2
== NULL
) {
28839 SWIG_null_ref("wxTreeItemId");
28841 if (SWIG_arg_fail(2)) SWIG_fail
;
28844 arg3
= (int)(SWIG_As_int(obj2
));
28845 if (SWIG_arg_fail(3)) SWIG_fail
;
28849 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28850 if (SWIG_arg_fail(4)) SWIG_fail
;
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28860 Py_INCREF(Py_None
); resultobj
= Py_None
;
28867 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28868 PyObject
*resultobj
;
28869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28870 wxTreeItemId
*arg2
= 0 ;
28871 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28872 PyObject
* obj0
= 0 ;
28873 PyObject
* obj1
= 0 ;
28874 PyObject
* obj2
= 0 ;
28875 char *kwnames
[] = {
28876 (char *) "self",(char *) "item",(char *) "data", NULL
28879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28881 if (SWIG_arg_fail(1)) SWIG_fail
;
28883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28884 if (SWIG_arg_fail(2)) SWIG_fail
;
28885 if (arg2
== NULL
) {
28886 SWIG_null_ref("wxTreeItemId");
28888 if (SWIG_arg_fail(2)) SWIG_fail
;
28890 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28891 if (SWIG_arg_fail(3)) SWIG_fail
;
28893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28894 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28896 wxPyEndAllowThreads(__tstate
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28899 Py_INCREF(Py_None
); resultobj
= Py_None
;
28906 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28909 wxTreeItemId
*arg2
= 0 ;
28910 PyObject
*arg3
= (PyObject
*) 0 ;
28911 PyObject
* obj0
= 0 ;
28912 PyObject
* obj1
= 0 ;
28913 PyObject
* obj2
= 0 ;
28914 char *kwnames
[] = {
28915 (char *) "self",(char *) "item",(char *) "obj", NULL
28918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28920 if (SWIG_arg_fail(1)) SWIG_fail
;
28922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28923 if (SWIG_arg_fail(2)) SWIG_fail
;
28924 if (arg2
== NULL
) {
28925 SWIG_null_ref("wxTreeItemId");
28927 if (SWIG_arg_fail(2)) SWIG_fail
;
28931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28937 Py_INCREF(Py_None
); resultobj
= Py_None
;
28944 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28945 PyObject
*resultobj
;
28946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28947 wxTreeItemId
*arg2
= 0 ;
28948 bool arg3
= (bool) true ;
28949 PyObject
* obj0
= 0 ;
28950 PyObject
* obj1
= 0 ;
28951 PyObject
* obj2
= 0 ;
28952 char *kwnames
[] = {
28953 (char *) "self",(char *) "item",(char *) "has", NULL
28956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28958 if (SWIG_arg_fail(1)) SWIG_fail
;
28960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28961 if (SWIG_arg_fail(2)) SWIG_fail
;
28962 if (arg2
== NULL
) {
28963 SWIG_null_ref("wxTreeItemId");
28965 if (SWIG_arg_fail(2)) SWIG_fail
;
28969 arg3
= (bool)(SWIG_As_bool(obj2
));
28970 if (SWIG_arg_fail(3)) SWIG_fail
;
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 Py_INCREF(Py_None
); resultobj
= Py_None
;
28987 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28990 wxTreeItemId
*arg2
= 0 ;
28991 bool arg3
= (bool) true ;
28992 PyObject
* obj0
= 0 ;
28993 PyObject
* obj1
= 0 ;
28994 PyObject
* obj2
= 0 ;
28995 char *kwnames
[] = {
28996 (char *) "self",(char *) "item",(char *) "bold", NULL
28999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29001 if (SWIG_arg_fail(1)) SWIG_fail
;
29003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29004 if (SWIG_arg_fail(2)) SWIG_fail
;
29005 if (arg2
== NULL
) {
29006 SWIG_null_ref("wxTreeItemId");
29008 if (SWIG_arg_fail(2)) SWIG_fail
;
29012 arg3
= (bool)(SWIG_As_bool(obj2
));
29013 if (SWIG_arg_fail(3)) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 Py_INCREF(Py_None
); resultobj
= Py_None
;
29030 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
;
29032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29033 wxTreeItemId
*arg2
= 0 ;
29034 bool arg3
= (bool) true ;
29035 PyObject
* obj0
= 0 ;
29036 PyObject
* obj1
= 0 ;
29037 PyObject
* obj2
= 0 ;
29038 char *kwnames
[] = {
29039 (char *) "self",(char *) "item",(char *) "highlight", NULL
29042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29044 if (SWIG_arg_fail(1)) SWIG_fail
;
29046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29047 if (SWIG_arg_fail(2)) SWIG_fail
;
29048 if (arg2
== NULL
) {
29049 SWIG_null_ref("wxTreeItemId");
29051 if (SWIG_arg_fail(2)) SWIG_fail
;
29055 arg3
= (bool)(SWIG_As_bool(obj2
));
29056 if (SWIG_arg_fail(3)) SWIG_fail
;
29060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29061 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29063 wxPyEndAllowThreads(__tstate
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29066 Py_INCREF(Py_None
); resultobj
= Py_None
;
29073 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29074 PyObject
*resultobj
;
29075 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29076 wxTreeItemId
*arg2
= 0 ;
29077 wxColour
*arg3
= 0 ;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 PyObject
* obj2
= 0 ;
29082 char *kwnames
[] = {
29083 (char *) "self",(char *) "item",(char *) "col", NULL
29086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29088 if (SWIG_arg_fail(1)) SWIG_fail
;
29090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29091 if (SWIG_arg_fail(2)) SWIG_fail
;
29092 if (arg2
== NULL
) {
29093 SWIG_null_ref("wxTreeItemId");
29095 if (SWIG_arg_fail(2)) SWIG_fail
;
29099 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 Py_INCREF(Py_None
); resultobj
= Py_None
;
29115 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
;
29117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29118 wxTreeItemId
*arg2
= 0 ;
29119 wxColour
*arg3
= 0 ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 PyObject
* obj2
= 0 ;
29124 char *kwnames
[] = {
29125 (char *) "self",(char *) "item",(char *) "col", NULL
29128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29130 if (SWIG_arg_fail(1)) SWIG_fail
;
29132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29133 if (SWIG_arg_fail(2)) SWIG_fail
;
29134 if (arg2
== NULL
) {
29135 SWIG_null_ref("wxTreeItemId");
29137 if (SWIG_arg_fail(2)) SWIG_fail
;
29141 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29145 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29147 wxPyEndAllowThreads(__tstate
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 Py_INCREF(Py_None
); resultobj
= Py_None
;
29157 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
;
29159 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29160 wxTreeItemId
*arg2
= 0 ;
29162 PyObject
* obj0
= 0 ;
29163 PyObject
* obj1
= 0 ;
29164 PyObject
* obj2
= 0 ;
29165 char *kwnames
[] = {
29166 (char *) "self",(char *) "item",(char *) "font", NULL
29169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) 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 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29182 if (SWIG_arg_fail(3)) SWIG_fail
;
29183 if (arg3
== NULL
) {
29184 SWIG_null_ref("wxFont");
29186 if (SWIG_arg_fail(3)) SWIG_fail
;
29189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29190 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29192 wxPyEndAllowThreads(__tstate
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29195 Py_INCREF(Py_None
); resultobj
= Py_None
;
29202 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
;
29204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29205 wxTreeItemId
*arg2
= 0 ;
29207 PyObject
* obj0
= 0 ;
29208 PyObject
* obj1
= 0 ;
29209 char *kwnames
[] = {
29210 (char *) "self",(char *) "item", NULL
29213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29215 if (SWIG_arg_fail(1)) SWIG_fail
;
29217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29218 if (SWIG_arg_fail(2)) SWIG_fail
;
29219 if (arg2
== NULL
) {
29220 SWIG_null_ref("wxTreeItemId");
29222 if (SWIG_arg_fail(2)) SWIG_fail
;
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29240 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29241 PyObject
*resultobj
;
29242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29243 wxTreeItemId
*arg2
= 0 ;
29245 PyObject
* obj0
= 0 ;
29246 PyObject
* obj1
= 0 ;
29247 char *kwnames
[] = {
29248 (char *) "self",(char *) "item", NULL
29251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29253 if (SWIG_arg_fail(1)) SWIG_fail
;
29255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29256 if (SWIG_arg_fail(2)) SWIG_fail
;
29257 if (arg2
== NULL
) {
29258 SWIG_null_ref("wxTreeItemId");
29260 if (SWIG_arg_fail(2)) SWIG_fail
;
29263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29264 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29266 wxPyEndAllowThreads(__tstate
);
29267 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29278 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
;
29280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29281 wxTreeItemId
*arg2
= 0 ;
29283 PyObject
* obj0
= 0 ;
29284 PyObject
* obj1
= 0 ;
29285 char *kwnames
[] = {
29286 (char *) "self",(char *) "item", NULL
29289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29291 if (SWIG_arg_fail(1)) SWIG_fail
;
29293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29294 if (SWIG_arg_fail(2)) SWIG_fail
;
29295 if (arg2
== NULL
) {
29296 SWIG_null_ref("wxTreeItemId");
29298 if (SWIG_arg_fail(2)) SWIG_fail
;
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29302 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29316 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
;
29318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29319 wxTreeItemId
*arg2
= 0 ;
29321 PyObject
* obj0
= 0 ;
29322 PyObject
* obj1
= 0 ;
29323 char *kwnames
[] = {
29324 (char *) "self",(char *) "item", NULL
29327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29329 if (SWIG_arg_fail(1)) SWIG_fail
;
29331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29332 if (SWIG_arg_fail(2)) SWIG_fail
;
29333 if (arg2
== NULL
) {
29334 SWIG_null_ref("wxTreeItemId");
29336 if (SWIG_arg_fail(2)) SWIG_fail
;
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29354 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29355 PyObject
*resultobj
;
29356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29357 wxTreeItemId
*arg2
= 0 ;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 char *kwnames
[] = {
29362 (char *) "self",(char *) "item", NULL
29365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29370 if (SWIG_arg_fail(2)) SWIG_fail
;
29371 if (arg2
== NULL
) {
29372 SWIG_null_ref("wxTreeItemId");
29374 if (SWIG_arg_fail(2)) SWIG_fail
;
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29392 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29393 PyObject
*resultobj
;
29394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29395 wxTreeItemId
*arg2
= 0 ;
29396 bool arg3
= (bool) true ;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 PyObject
* obj2
= 0 ;
29401 char *kwnames
[] = {
29402 (char *) "self",(char *) "item",(char *) "recursively", NULL
29405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29407 if (SWIG_arg_fail(1)) SWIG_fail
;
29409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29410 if (SWIG_arg_fail(2)) SWIG_fail
;
29411 if (arg2
== NULL
) {
29412 SWIG_null_ref("wxTreeItemId");
29414 if (SWIG_arg_fail(2)) SWIG_fail
;
29418 arg3
= (bool)(SWIG_As_bool(obj2
));
29419 if (SWIG_arg_fail(3)) SWIG_fail
;
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29424 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29426 wxPyEndAllowThreads(__tstate
);
29427 if (PyErr_Occurred()) SWIG_fail
;
29430 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29438 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29439 PyObject
*resultobj
;
29440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29441 wxTreeItemId result
;
29442 PyObject
* obj0
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29449 if (SWIG_arg_fail(1)) SWIG_fail
;
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29454 wxPyEndAllowThreads(__tstate
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29458 wxTreeItemId
* resultptr
;
29459 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29468 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29469 PyObject
*resultobj
;
29470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29471 wxTreeItemId result
;
29472 PyObject
* obj0
= 0 ;
29473 char *kwnames
[] = {
29474 (char *) "self", NULL
29477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29479 if (SWIG_arg_fail(1)) SWIG_fail
;
29481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29482 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29484 wxPyEndAllowThreads(__tstate
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29488 wxTreeItemId
* resultptr
;
29489 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29498 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
;
29500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29502 PyObject
* obj0
= 0 ;
29503 char *kwnames
[] = {
29504 (char *) "self", NULL
29507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29509 if (SWIG_arg_fail(1)) SWIG_fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29517 resultobj
= result
;
29524 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
;
29526 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29527 wxTreeItemId
*arg2
= 0 ;
29528 wxTreeItemId result
;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self",(char *) "item", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29537 if (SWIG_arg_fail(1)) SWIG_fail
;
29539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29540 if (SWIG_arg_fail(2)) SWIG_fail
;
29541 if (arg2
== NULL
) {
29542 SWIG_null_ref("wxTreeItemId");
29544 if (SWIG_arg_fail(2)) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29554 wxTreeItemId
* resultptr
;
29555 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29564 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
;
29566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29567 wxTreeItemId
*arg2
= 0 ;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 char *kwnames
[] = {
29572 (char *) "self",(char *) "item", NULL
29575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29577 if (SWIG_arg_fail(1)) SWIG_fail
;
29579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29580 if (SWIG_arg_fail(2)) SWIG_fail
;
29581 if (arg2
== NULL
) {
29582 SWIG_null_ref("wxTreeItemId");
29584 if (SWIG_arg_fail(2)) SWIG_fail
;
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29590 wxPyEndAllowThreads(__tstate
);
29591 if (PyErr_Occurred()) SWIG_fail
;
29593 resultobj
= result
;
29600 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29601 PyObject
*resultobj
;
29602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29603 wxTreeItemId
*arg2
= 0 ;
29604 void *arg3
= (void *) 0 ;
29606 PyObject
* obj0
= 0 ;
29607 PyObject
* obj1
= 0 ;
29608 PyObject
* obj2
= 0 ;
29609 char *kwnames
[] = {
29610 (char *) "self",(char *) "item",(char *) "cookie", NULL
29613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29615 if (SWIG_arg_fail(1)) SWIG_fail
;
29617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29618 if (SWIG_arg_fail(2)) SWIG_fail
;
29619 if (arg2
== NULL
) {
29620 SWIG_null_ref("wxTreeItemId");
29622 if (SWIG_arg_fail(2)) SWIG_fail
;
29625 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29626 SWIG_arg_fail(3);SWIG_fail
;
29630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29631 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= result
;
29643 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
;
29645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29646 wxTreeItemId
*arg2
= 0 ;
29647 wxTreeItemId result
;
29648 PyObject
* obj0
= 0 ;
29649 PyObject
* obj1
= 0 ;
29650 char *kwnames
[] = {
29651 (char *) "self",(char *) "item", NULL
29654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29656 if (SWIG_arg_fail(1)) SWIG_fail
;
29658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29659 if (SWIG_arg_fail(2)) SWIG_fail
;
29660 if (arg2
== NULL
) {
29661 SWIG_null_ref("wxTreeItemId");
29663 if (SWIG_arg_fail(2)) SWIG_fail
;
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29673 wxTreeItemId
* resultptr
;
29674 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29683 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29686 wxTreeItemId
*arg2
= 0 ;
29687 wxTreeItemId result
;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 char *kwnames
[] = {
29691 (char *) "self",(char *) "item", NULL
29694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29696 if (SWIG_arg_fail(1)) SWIG_fail
;
29698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29699 if (SWIG_arg_fail(2)) SWIG_fail
;
29700 if (arg2
== NULL
) {
29701 SWIG_null_ref("wxTreeItemId");
29703 if (SWIG_arg_fail(2)) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29713 wxTreeItemId
* resultptr
;
29714 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29723 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29724 PyObject
*resultobj
;
29725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29726 wxTreeItemId
*arg2
= 0 ;
29727 wxTreeItemId result
;
29728 PyObject
* obj0
= 0 ;
29729 PyObject
* obj1
= 0 ;
29730 char *kwnames
[] = {
29731 (char *) "self",(char *) "item", NULL
29734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29736 if (SWIG_arg_fail(1)) SWIG_fail
;
29738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29739 if (SWIG_arg_fail(2)) SWIG_fail
;
29740 if (arg2
== NULL
) {
29741 SWIG_null_ref("wxTreeItemId");
29743 if (SWIG_arg_fail(2)) SWIG_fail
;
29746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29747 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29749 wxPyEndAllowThreads(__tstate
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29753 wxTreeItemId
* resultptr
;
29754 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29763 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
;
29765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29766 wxTreeItemId result
;
29767 PyObject
* obj0
= 0 ;
29768 char *kwnames
[] = {
29769 (char *) "self", NULL
29772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29774 if (SWIG_arg_fail(1)) SWIG_fail
;
29776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29777 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29783 wxTreeItemId
* resultptr
;
29784 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29793 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29794 PyObject
*resultobj
;
29795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29796 wxTreeItemId
*arg2
= 0 ;
29797 wxTreeItemId result
;
29798 PyObject
* obj0
= 0 ;
29799 PyObject
* obj1
= 0 ;
29800 char *kwnames
[] = {
29801 (char *) "self",(char *) "item", NULL
29804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29806 if (SWIG_arg_fail(1)) SWIG_fail
;
29808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29809 if (SWIG_arg_fail(2)) SWIG_fail
;
29810 if (arg2
== NULL
) {
29811 SWIG_null_ref("wxTreeItemId");
29813 if (SWIG_arg_fail(2)) SWIG_fail
;
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29823 wxTreeItemId
* resultptr
;
29824 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29833 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
;
29835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29836 wxTreeItemId
*arg2
= 0 ;
29837 wxTreeItemId result
;
29838 PyObject
* obj0
= 0 ;
29839 PyObject
* obj1
= 0 ;
29840 char *kwnames
[] = {
29841 (char *) "self",(char *) "item", NULL
29844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29846 if (SWIG_arg_fail(1)) SWIG_fail
;
29848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29849 if (SWIG_arg_fail(2)) SWIG_fail
;
29850 if (arg2
== NULL
) {
29851 SWIG_null_ref("wxTreeItemId");
29853 if (SWIG_arg_fail(2)) SWIG_fail
;
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29857 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29863 wxTreeItemId
* resultptr
;
29864 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29873 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29874 PyObject
*resultobj
;
29875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29876 wxString
*arg2
= 0 ;
29877 int arg3
= (int) -1 ;
29878 int arg4
= (int) -1 ;
29879 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29880 wxTreeItemId result
;
29881 bool temp2
= false ;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 PyObject
* obj2
= 0 ;
29885 PyObject
* obj3
= 0 ;
29886 PyObject
* obj4
= 0 ;
29887 char *kwnames
[] = {
29888 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29893 if (SWIG_arg_fail(1)) SWIG_fail
;
29895 arg2
= wxString_in_helper(obj1
);
29896 if (arg2
== NULL
) SWIG_fail
;
29901 arg3
= (int)(SWIG_As_int(obj2
));
29902 if (SWIG_arg_fail(3)) SWIG_fail
;
29907 arg4
= (int)(SWIG_As_int(obj3
));
29908 if (SWIG_arg_fail(4)) SWIG_fail
;
29912 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29913 if (SWIG_arg_fail(5)) SWIG_fail
;
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29923 wxTreeItemId
* resultptr
;
29924 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29941 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29942 PyObject
*resultobj
;
29943 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29944 wxTreeItemId
*arg2
= 0 ;
29945 wxString
*arg3
= 0 ;
29946 int arg4
= (int) -1 ;
29947 int arg5
= (int) -1 ;
29948 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29949 wxTreeItemId result
;
29950 bool temp3
= false ;
29951 PyObject
* obj0
= 0 ;
29952 PyObject
* obj1
= 0 ;
29953 PyObject
* obj2
= 0 ;
29954 PyObject
* obj3
= 0 ;
29955 PyObject
* obj4
= 0 ;
29956 PyObject
* obj5
= 0 ;
29957 char *kwnames
[] = {
29958 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29963 if (SWIG_arg_fail(1)) SWIG_fail
;
29965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29966 if (SWIG_arg_fail(2)) SWIG_fail
;
29967 if (arg2
== NULL
) {
29968 SWIG_null_ref("wxTreeItemId");
29970 if (SWIG_arg_fail(2)) SWIG_fail
;
29973 arg3
= wxString_in_helper(obj2
);
29974 if (arg3
== NULL
) SWIG_fail
;
29979 arg4
= (int)(SWIG_As_int(obj3
));
29980 if (SWIG_arg_fail(4)) SWIG_fail
;
29985 arg5
= (int)(SWIG_As_int(obj4
));
29986 if (SWIG_arg_fail(5)) SWIG_fail
;
29990 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29991 if (SWIG_arg_fail(6)) SWIG_fail
;
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30001 wxTreeItemId
* resultptr
;
30002 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30019 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30020 PyObject
*resultobj
;
30021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30022 wxTreeItemId
*arg2
= 0 ;
30023 wxTreeItemId
*arg3
= 0 ;
30024 wxString
*arg4
= 0 ;
30025 int arg5
= (int) -1 ;
30026 int arg6
= (int) -1 ;
30027 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30028 wxTreeItemId result
;
30029 bool temp4
= false ;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 PyObject
* obj2
= 0 ;
30033 PyObject
* obj3
= 0 ;
30034 PyObject
* obj4
= 0 ;
30035 PyObject
* obj5
= 0 ;
30036 PyObject
* obj6
= 0 ;
30037 char *kwnames
[] = {
30038 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30043 if (SWIG_arg_fail(1)) SWIG_fail
;
30045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30046 if (SWIG_arg_fail(2)) SWIG_fail
;
30047 if (arg2
== NULL
) {
30048 SWIG_null_ref("wxTreeItemId");
30050 if (SWIG_arg_fail(2)) SWIG_fail
;
30053 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30054 if (SWIG_arg_fail(3)) SWIG_fail
;
30055 if (arg3
== NULL
) {
30056 SWIG_null_ref("wxTreeItemId");
30058 if (SWIG_arg_fail(3)) SWIG_fail
;
30061 arg4
= wxString_in_helper(obj3
);
30062 if (arg4
== NULL
) SWIG_fail
;
30067 arg5
= (int)(SWIG_As_int(obj4
));
30068 if (SWIG_arg_fail(5)) SWIG_fail
;
30073 arg6
= (int)(SWIG_As_int(obj5
));
30074 if (SWIG_arg_fail(6)) SWIG_fail
;
30078 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30079 if (SWIG_arg_fail(7)) SWIG_fail
;
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30085 wxPyEndAllowThreads(__tstate
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30089 wxTreeItemId
* resultptr
;
30090 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30107 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30108 PyObject
*resultobj
;
30109 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30110 wxTreeItemId
*arg2
= 0 ;
30112 wxString
*arg4
= 0 ;
30113 int arg5
= (int) -1 ;
30114 int arg6
= (int) -1 ;
30115 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30116 wxTreeItemId result
;
30117 bool temp4
= false ;
30118 PyObject
* obj0
= 0 ;
30119 PyObject
* obj1
= 0 ;
30120 PyObject
* obj2
= 0 ;
30121 PyObject
* obj3
= 0 ;
30122 PyObject
* obj4
= 0 ;
30123 PyObject
* obj5
= 0 ;
30124 PyObject
* obj6
= 0 ;
30125 char *kwnames
[] = {
30126 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30142 if (SWIG_arg_fail(3)) SWIG_fail
;
30145 arg4
= wxString_in_helper(obj3
);
30146 if (arg4
== NULL
) SWIG_fail
;
30151 arg5
= (int)(SWIG_As_int(obj4
));
30152 if (SWIG_arg_fail(5)) SWIG_fail
;
30157 arg6
= (int)(SWIG_As_int(obj5
));
30158 if (SWIG_arg_fail(6)) SWIG_fail
;
30162 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30163 if (SWIG_arg_fail(7)) SWIG_fail
;
30166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30167 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30169 wxPyEndAllowThreads(__tstate
);
30170 if (PyErr_Occurred()) SWIG_fail
;
30173 wxTreeItemId
* resultptr
;
30174 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30191 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
;
30193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30194 wxTreeItemId
*arg2
= 0 ;
30195 wxString
*arg3
= 0 ;
30196 int arg4
= (int) -1 ;
30197 int arg5
= (int) -1 ;
30198 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30199 wxTreeItemId result
;
30200 bool temp3
= false ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 PyObject
* obj2
= 0 ;
30204 PyObject
* obj3
= 0 ;
30205 PyObject
* obj4
= 0 ;
30206 PyObject
* obj5
= 0 ;
30207 char *kwnames
[] = {
30208 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30213 if (SWIG_arg_fail(1)) SWIG_fail
;
30215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30216 if (SWIG_arg_fail(2)) SWIG_fail
;
30217 if (arg2
== NULL
) {
30218 SWIG_null_ref("wxTreeItemId");
30220 if (SWIG_arg_fail(2)) SWIG_fail
;
30223 arg3
= wxString_in_helper(obj2
);
30224 if (arg3
== NULL
) SWIG_fail
;
30229 arg4
= (int)(SWIG_As_int(obj3
));
30230 if (SWIG_arg_fail(4)) SWIG_fail
;
30235 arg5
= (int)(SWIG_As_int(obj4
));
30236 if (SWIG_arg_fail(5)) SWIG_fail
;
30240 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30241 if (SWIG_arg_fail(6)) SWIG_fail
;
30244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30245 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30247 wxPyEndAllowThreads(__tstate
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30251 wxTreeItemId
* resultptr
;
30252 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30269 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30270 PyObject
*resultobj
;
30271 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30272 wxTreeItemId
*arg2
= 0 ;
30273 PyObject
* obj0
= 0 ;
30274 PyObject
* obj1
= 0 ;
30275 char *kwnames
[] = {
30276 (char *) "self",(char *) "item", NULL
30279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30281 if (SWIG_arg_fail(1)) SWIG_fail
;
30283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30284 if (SWIG_arg_fail(2)) SWIG_fail
;
30285 if (arg2
== NULL
) {
30286 SWIG_null_ref("wxTreeItemId");
30288 if (SWIG_arg_fail(2)) SWIG_fail
;
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 Py_INCREF(Py_None
); resultobj
= Py_None
;
30304 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
;
30306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30307 wxTreeItemId
*arg2
= 0 ;
30308 PyObject
* obj0
= 0 ;
30309 PyObject
* obj1
= 0 ;
30310 char *kwnames
[] = {
30311 (char *) "self",(char *) "item", NULL
30314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30316 if (SWIG_arg_fail(1)) SWIG_fail
;
30318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30319 if (SWIG_arg_fail(2)) SWIG_fail
;
30320 if (arg2
== NULL
) {
30321 SWIG_null_ref("wxTreeItemId");
30323 if (SWIG_arg_fail(2)) SWIG_fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30332 Py_INCREF(Py_None
); resultobj
= Py_None
;
30339 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
;
30341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30342 PyObject
* obj0
= 0 ;
30343 char *kwnames
[] = {
30344 (char *) "self", NULL
30347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30349 if (SWIG_arg_fail(1)) SWIG_fail
;
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 (arg1
)->DeleteAllItems();
30354 wxPyEndAllowThreads(__tstate
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30357 Py_INCREF(Py_None
); resultobj
= Py_None
;
30364 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30365 PyObject
*resultobj
;
30366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30367 wxTreeItemId
*arg2
= 0 ;
30368 PyObject
* obj0
= 0 ;
30369 PyObject
* obj1
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "self",(char *) "item", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30376 if (SWIG_arg_fail(1)) SWIG_fail
;
30378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30379 if (SWIG_arg_fail(2)) SWIG_fail
;
30380 if (arg2
== NULL
) {
30381 SWIG_null_ref("wxTreeItemId");
30383 if (SWIG_arg_fail(2)) SWIG_fail
;
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30392 Py_INCREF(Py_None
); resultobj
= Py_None
;
30399 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30400 PyObject
*resultobj
;
30401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30402 wxTreeItemId
*arg2
= 0 ;
30403 PyObject
* obj0
= 0 ;
30404 PyObject
* obj1
= 0 ;
30405 char *kwnames
[] = {
30406 (char *) "self",(char *) "item", NULL
30409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30411 if (SWIG_arg_fail(1)) SWIG_fail
;
30413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30414 if (SWIG_arg_fail(2)) SWIG_fail
;
30415 if (arg2
== NULL
) {
30416 SWIG_null_ref("wxTreeItemId");
30418 if (SWIG_arg_fail(2)) SWIG_fail
;
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30427 Py_INCREF(Py_None
); resultobj
= Py_None
;
30434 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30435 PyObject
*resultobj
;
30436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30437 wxTreeItemId
*arg2
= 0 ;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 char *kwnames
[] = {
30441 (char *) "self",(char *) "item", NULL
30444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30446 if (SWIG_arg_fail(1)) SWIG_fail
;
30448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30449 if (SWIG_arg_fail(2)) SWIG_fail
;
30450 if (arg2
== NULL
) {
30451 SWIG_null_ref("wxTreeItemId");
30453 if (SWIG_arg_fail(2)) SWIG_fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 Py_INCREF(Py_None
); resultobj
= Py_None
;
30469 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
;
30471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30472 wxTreeItemId
*arg2
= 0 ;
30473 PyObject
* obj0
= 0 ;
30474 PyObject
* obj1
= 0 ;
30475 char *kwnames
[] = {
30476 (char *) "self",(char *) "item", NULL
30479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30481 if (SWIG_arg_fail(1)) SWIG_fail
;
30483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30484 if (SWIG_arg_fail(2)) SWIG_fail
;
30485 if (arg2
== NULL
) {
30486 SWIG_null_ref("wxTreeItemId");
30488 if (SWIG_arg_fail(2)) SWIG_fail
;
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 Py_INCREF(Py_None
); resultobj
= Py_None
;
30504 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30507 PyObject
* obj0
= 0 ;
30508 char *kwnames
[] = {
30509 (char *) "self", NULL
30512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30514 if (SWIG_arg_fail(1)) SWIG_fail
;
30516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30517 (arg1
)->Unselect();
30519 wxPyEndAllowThreads(__tstate
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 Py_INCREF(Py_None
); resultobj
= Py_None
;
30529 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
;
30531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30532 wxTreeItemId
*arg2
= 0 ;
30533 PyObject
* obj0
= 0 ;
30534 PyObject
* obj1
= 0 ;
30535 char *kwnames
[] = {
30536 (char *) "self",(char *) "item", NULL
30539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30541 if (SWIG_arg_fail(1)) SWIG_fail
;
30543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30544 if (SWIG_arg_fail(2)) SWIG_fail
;
30545 if (arg2
== NULL
) {
30546 SWIG_null_ref("wxTreeItemId");
30548 if (SWIG_arg_fail(2)) SWIG_fail
;
30551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30552 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30554 wxPyEndAllowThreads(__tstate
);
30555 if (PyErr_Occurred()) SWIG_fail
;
30557 Py_INCREF(Py_None
); resultobj
= Py_None
;
30564 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30565 PyObject
*resultobj
;
30566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30567 PyObject
* obj0
= 0 ;
30568 char *kwnames
[] = {
30569 (char *) "self", NULL
30572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30574 if (SWIG_arg_fail(1)) SWIG_fail
;
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 (arg1
)->UnselectAll();
30579 wxPyEndAllowThreads(__tstate
);
30580 if (PyErr_Occurred()) SWIG_fail
;
30582 Py_INCREF(Py_None
); resultobj
= Py_None
;
30589 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30590 PyObject
*resultobj
;
30591 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30592 wxTreeItemId
*arg2
= 0 ;
30593 bool arg3
= (bool) true ;
30594 PyObject
* obj0
= 0 ;
30595 PyObject
* obj1
= 0 ;
30596 PyObject
* obj2
= 0 ;
30597 char *kwnames
[] = {
30598 (char *) "self",(char *) "item",(char *) "select", NULL
30601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30603 if (SWIG_arg_fail(1)) SWIG_fail
;
30605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30606 if (SWIG_arg_fail(2)) SWIG_fail
;
30607 if (arg2
== NULL
) {
30608 SWIG_null_ref("wxTreeItemId");
30610 if (SWIG_arg_fail(2)) SWIG_fail
;
30614 arg3
= (bool)(SWIG_As_bool(obj2
));
30615 if (SWIG_arg_fail(3)) SWIG_fail
;
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 Py_INCREF(Py_None
); resultobj
= Py_None
;
30632 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30635 wxTreeItemId
*arg2
= 0 ;
30636 PyObject
* obj0
= 0 ;
30637 PyObject
* obj1
= 0 ;
30638 char *kwnames
[] = {
30639 (char *) "self",(char *) "item", NULL
30642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30644 if (SWIG_arg_fail(1)) SWIG_fail
;
30646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30647 if (SWIG_arg_fail(2)) SWIG_fail
;
30648 if (arg2
== NULL
) {
30649 SWIG_null_ref("wxTreeItemId");
30651 if (SWIG_arg_fail(2)) SWIG_fail
;
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30660 Py_INCREF(Py_None
); resultobj
= Py_None
;
30667 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30668 PyObject
*resultobj
;
30669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30670 wxTreeItemId
*arg2
= 0 ;
30671 PyObject
* obj0
= 0 ;
30672 PyObject
* obj1
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "self",(char *) "item", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30679 if (SWIG_arg_fail(1)) SWIG_fail
;
30681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30682 if (SWIG_arg_fail(2)) SWIG_fail
;
30683 if (arg2
== NULL
) {
30684 SWIG_null_ref("wxTreeItemId");
30686 if (SWIG_arg_fail(2)) SWIG_fail
;
30689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30695 Py_INCREF(Py_None
); resultobj
= Py_None
;
30702 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30703 PyObject
*resultobj
;
30704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30705 wxTreeItemId
*arg2
= 0 ;
30706 PyObject
* obj0
= 0 ;
30707 PyObject
* obj1
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "self",(char *) "item", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30714 if (SWIG_arg_fail(1)) SWIG_fail
;
30716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30717 if (SWIG_arg_fail(2)) SWIG_fail
;
30718 if (arg2
== NULL
) {
30719 SWIG_null_ref("wxTreeItemId");
30721 if (SWIG_arg_fail(2)) SWIG_fail
;
30724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30727 wxPyEndAllowThreads(__tstate
);
30728 if (PyErr_Occurred()) SWIG_fail
;
30730 Py_INCREF(Py_None
); resultobj
= Py_None
;
30737 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
;
30739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30740 wxTreeItemId
*arg2
= 0 ;
30741 PyObject
* obj0
= 0 ;
30742 PyObject
* obj1
= 0 ;
30743 char *kwnames
[] = {
30744 (char *) "self",(char *) "item", NULL
30747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30749 if (SWIG_arg_fail(1)) SWIG_fail
;
30751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30752 if (SWIG_arg_fail(2)) SWIG_fail
;
30753 if (arg2
== NULL
) {
30754 SWIG_null_ref("wxTreeItemId");
30756 if (SWIG_arg_fail(2)) SWIG_fail
;
30759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30760 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30762 wxPyEndAllowThreads(__tstate
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30765 Py_INCREF(Py_None
); resultobj
= Py_None
;
30772 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30773 PyObject
*resultobj
;
30774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30775 wxTextCtrl
*result
;
30776 PyObject
* obj0
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "self", NULL
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30783 if (SWIG_arg_fail(1)) SWIG_fail
;
30785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30786 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30788 wxPyEndAllowThreads(__tstate
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= wxPyMake_wxObject(result
, 0);
30800 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30801 PyObject
*resultobj
;
30802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30803 wxTreeItemId
*arg2
= 0 ;
30804 PyObject
* obj0
= 0 ;
30805 PyObject
* obj1
= 0 ;
30806 char *kwnames
[] = {
30807 (char *) "self",(char *) "item", NULL
30810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30812 if (SWIG_arg_fail(1)) SWIG_fail
;
30814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30815 if (SWIG_arg_fail(2)) SWIG_fail
;
30816 if (arg2
== NULL
) {
30817 SWIG_null_ref("wxTreeItemId");
30819 if (SWIG_arg_fail(2)) SWIG_fail
;
30822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30825 wxPyEndAllowThreads(__tstate
);
30826 if (PyErr_Occurred()) SWIG_fail
;
30828 Py_INCREF(Py_None
); resultobj
= Py_None
;
30835 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
;
30837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30838 wxPoint
*arg2
= 0 ;
30840 wxTreeItemId result
;
30844 PyObject
* obj0
= 0 ;
30845 PyObject
* obj1
= 0 ;
30846 char *kwnames
[] = {
30847 (char *) "self",(char *) "point", NULL
30850 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30853 if (SWIG_arg_fail(1)) SWIG_fail
;
30856 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30866 wxTreeItemId
* resultptr
;
30867 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30870 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30871 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30878 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30879 PyObject
*resultobj
;
30880 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30881 wxTreeItemId
*arg2
= 0 ;
30882 bool arg3
= (bool) false ;
30884 PyObject
* obj0
= 0 ;
30885 PyObject
* obj1
= 0 ;
30886 PyObject
* obj2
= 0 ;
30887 char *kwnames
[] = {
30888 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30893 if (SWIG_arg_fail(1)) SWIG_fail
;
30895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30896 if (SWIG_arg_fail(2)) SWIG_fail
;
30897 if (arg2
== NULL
) {
30898 SWIG_null_ref("wxTreeItemId");
30900 if (SWIG_arg_fail(2)) SWIG_fail
;
30904 arg3
= (bool)(SWIG_As_bool(obj2
));
30905 if (SWIG_arg_fail(3)) SWIG_fail
;
30909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30910 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30912 wxPyEndAllowThreads(__tstate
);
30913 if (PyErr_Occurred()) SWIG_fail
;
30915 resultobj
= result
;
30922 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30923 PyObject
*resultobj
;
30924 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30925 wxVisualAttributes result
;
30926 PyObject
* obj0
= 0 ;
30927 char *kwnames
[] = {
30928 (char *) "variant", NULL
30931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30934 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30935 if (SWIG_arg_fail(1)) SWIG_fail
;
30939 if (!wxPyCheckForApp()) SWIG_fail
;
30940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30941 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30943 wxPyEndAllowThreads(__tstate
);
30944 if (PyErr_Occurred()) SWIG_fail
;
30947 wxVisualAttributes
* resultptr
;
30948 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30957 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30960 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30962 return Py_BuildValue((char *)"");
30964 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30965 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30970 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30975 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30977 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30984 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
;
30986 wxWindow
*arg1
= (wxWindow
*) 0 ;
30987 int arg2
= (int) (int)-1 ;
30988 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30989 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30990 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30991 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30992 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30993 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30994 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30995 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30996 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30997 int arg8
= (int) 0 ;
30998 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30999 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31000 wxGenericDirCtrl
*result
;
31001 bool temp3
= false ;
31004 bool temp7
= false ;
31005 bool temp9
= false ;
31006 PyObject
* obj0
= 0 ;
31007 PyObject
* obj1
= 0 ;
31008 PyObject
* obj2
= 0 ;
31009 PyObject
* obj3
= 0 ;
31010 PyObject
* obj4
= 0 ;
31011 PyObject
* obj5
= 0 ;
31012 PyObject
* obj6
= 0 ;
31013 PyObject
* obj7
= 0 ;
31014 PyObject
* obj8
= 0 ;
31015 char *kwnames
[] = {
31016 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31021 if (SWIG_arg_fail(1)) SWIG_fail
;
31024 arg2
= (int const)(SWIG_As_int(obj1
));
31025 if (SWIG_arg_fail(2)) SWIG_fail
;
31030 arg3
= wxString_in_helper(obj2
);
31031 if (arg3
== NULL
) SWIG_fail
;
31038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31049 arg6
= (long)(SWIG_As_long(obj5
));
31050 if (SWIG_arg_fail(6)) SWIG_fail
;
31055 arg7
= wxString_in_helper(obj6
);
31056 if (arg7
== NULL
) SWIG_fail
;
31062 arg8
= (int)(SWIG_As_int(obj7
));
31063 if (SWIG_arg_fail(8)) SWIG_fail
;
31068 arg9
= wxString_in_helper(obj8
);
31069 if (arg9
== NULL
) SWIG_fail
;
31074 if (!wxPyCheckForApp()) SWIG_fail
;
31075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31078 wxPyEndAllowThreads(__tstate
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31112 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31113 PyObject
*resultobj
;
31114 wxGenericDirCtrl
*result
;
31115 char *kwnames
[] = {
31119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31121 if (!wxPyCheckForApp()) SWIG_fail
;
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31135 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31136 PyObject
*resultobj
;
31137 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31138 wxWindow
*arg2
= (wxWindow
*) 0 ;
31139 int arg3
= (int) (int)-1 ;
31140 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31141 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31142 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31143 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31144 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31145 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31146 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31147 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31148 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31149 int arg9
= (int) 0 ;
31150 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31151 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31153 bool temp4
= false ;
31156 bool temp8
= false ;
31157 bool temp10
= false ;
31158 PyObject
* obj0
= 0 ;
31159 PyObject
* obj1
= 0 ;
31160 PyObject
* obj2
= 0 ;
31161 PyObject
* obj3
= 0 ;
31162 PyObject
* obj4
= 0 ;
31163 PyObject
* obj5
= 0 ;
31164 PyObject
* obj6
= 0 ;
31165 PyObject
* obj7
= 0 ;
31166 PyObject
* obj8
= 0 ;
31167 PyObject
* obj9
= 0 ;
31168 char *kwnames
[] = {
31169 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31174 if (SWIG_arg_fail(1)) SWIG_fail
;
31175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31176 if (SWIG_arg_fail(2)) SWIG_fail
;
31179 arg3
= (int const)(SWIG_As_int(obj2
));
31180 if (SWIG_arg_fail(3)) SWIG_fail
;
31185 arg4
= wxString_in_helper(obj3
);
31186 if (arg4
== NULL
) SWIG_fail
;
31193 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31199 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31204 arg7
= (long)(SWIG_As_long(obj6
));
31205 if (SWIG_arg_fail(7)) SWIG_fail
;
31210 arg8
= wxString_in_helper(obj7
);
31211 if (arg8
== NULL
) SWIG_fail
;
31217 arg9
= (int)(SWIG_As_int(obj8
));
31218 if (SWIG_arg_fail(9)) SWIG_fail
;
31223 arg10
= wxString_in_helper(obj9
);
31224 if (arg10
== NULL
) SWIG_fail
;
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31232 wxPyEndAllowThreads(__tstate
);
31233 if (PyErr_Occurred()) SWIG_fail
;
31236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31268 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
;
31270 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31271 wxString
*arg2
= 0 ;
31273 bool temp2
= false ;
31274 PyObject
* obj0
= 0 ;
31275 PyObject
* obj1
= 0 ;
31276 char *kwnames
[] = {
31277 (char *) "self",(char *) "path", NULL
31280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31282 if (SWIG_arg_fail(1)) SWIG_fail
;
31284 arg2
= wxString_in_helper(obj1
);
31285 if (arg2
== NULL
) SWIG_fail
;
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31312 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
;
31314 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31316 PyObject
* obj0
= 0 ;
31317 char *kwnames
[] = {
31318 (char *) "self", NULL
31321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31323 if (SWIG_arg_fail(1)) SWIG_fail
;
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31344 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31345 PyObject
*resultobj
;
31346 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31347 wxString
*arg2
= 0 ;
31348 bool temp2
= false ;
31349 PyObject
* obj0
= 0 ;
31350 PyObject
* obj1
= 0 ;
31351 char *kwnames
[] = {
31352 (char *) "self",(char *) "path", NULL
31355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31357 if (SWIG_arg_fail(1)) SWIG_fail
;
31359 arg2
= wxString_in_helper(obj1
);
31360 if (arg2
== NULL
) SWIG_fail
;
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31370 Py_INCREF(Py_None
); resultobj
= Py_None
;
31385 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31386 PyObject
*resultobj
;
31387 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31389 PyObject
* obj0
= 0 ;
31390 char *kwnames
[] = {
31391 (char *) "self", NULL
31394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31396 if (SWIG_arg_fail(1)) SWIG_fail
;
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31417 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31418 PyObject
*resultobj
;
31419 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31421 PyObject
* obj0
= 0 ;
31422 char *kwnames
[] = {
31423 (char *) "self", NULL
31426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31428 if (SWIG_arg_fail(1)) SWIG_fail
;
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31449 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
;
31451 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31452 wxString
*arg2
= 0 ;
31453 bool temp2
= false ;
31454 PyObject
* obj0
= 0 ;
31455 PyObject
* obj1
= 0 ;
31456 char *kwnames
[] = {
31457 (char *) "self",(char *) "path", NULL
31460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31462 if (SWIG_arg_fail(1)) SWIG_fail
;
31464 arg2
= wxString_in_helper(obj1
);
31465 if (arg2
== NULL
) SWIG_fail
;
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 (arg1
)->SetPath((wxString
const &)*arg2
);
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31475 Py_INCREF(Py_None
); resultobj
= Py_None
;
31490 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31491 PyObject
*resultobj
;
31492 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31494 PyObject
* obj0
= 0 ;
31495 PyObject
* obj1
= 0 ;
31496 char *kwnames
[] = {
31497 (char *) "self",(char *) "show", NULL
31500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31502 if (SWIG_arg_fail(1)) SWIG_fail
;
31504 arg2
= (bool)(SWIG_As_bool(obj1
));
31505 if (SWIG_arg_fail(2)) SWIG_fail
;
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 (arg1
)->ShowHidden(arg2
);
31511 wxPyEndAllowThreads(__tstate
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31514 Py_INCREF(Py_None
); resultobj
= Py_None
;
31521 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31522 PyObject
*resultobj
;
31523 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31525 PyObject
* obj0
= 0 ;
31526 char *kwnames
[] = {
31527 (char *) "self", NULL
31530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31532 if (SWIG_arg_fail(1)) SWIG_fail
;
31534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31535 result
= (bool)(arg1
)->GetShowHidden();
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31549 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31550 PyObject
*resultobj
;
31551 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31553 PyObject
* obj0
= 0 ;
31554 char *kwnames
[] = {
31555 (char *) "self", NULL
31558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31560 if (SWIG_arg_fail(1)) SWIG_fail
;
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31570 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31572 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31581 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31582 PyObject
*resultobj
;
31583 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31584 wxString
*arg2
= 0 ;
31585 bool temp2
= false ;
31586 PyObject
* obj0
= 0 ;
31587 PyObject
* obj1
= 0 ;
31588 char *kwnames
[] = {
31589 (char *) "self",(char *) "filter", NULL
31592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail
;
31596 arg2
= wxString_in_helper(obj1
);
31597 if (arg2
== NULL
) SWIG_fail
;
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 (arg1
)->SetFilter((wxString
const &)*arg2
);
31604 wxPyEndAllowThreads(__tstate
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31607 Py_INCREF(Py_None
); resultobj
= Py_None
;
31622 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31623 PyObject
*resultobj
;
31624 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31626 PyObject
* obj0
= 0 ;
31627 char *kwnames
[] = {
31628 (char *) "self", NULL
31631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31633 if (SWIG_arg_fail(1)) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31642 resultobj
= SWIG_From_int((int)(result
));
31650 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31651 PyObject
*resultobj
;
31652 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31654 PyObject
* obj0
= 0 ;
31655 PyObject
* obj1
= 0 ;
31656 char *kwnames
[] = {
31657 (char *) "self",(char *) "n", NULL
31660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31662 if (SWIG_arg_fail(1)) SWIG_fail
;
31664 arg2
= (int)(SWIG_As_int(obj1
));
31665 if (SWIG_arg_fail(2)) SWIG_fail
;
31668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31669 (arg1
)->SetFilterIndex(arg2
);
31671 wxPyEndAllowThreads(__tstate
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31674 Py_INCREF(Py_None
); resultobj
= Py_None
;
31681 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31682 PyObject
*resultobj
;
31683 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31684 wxTreeItemId result
;
31685 PyObject
* obj0
= 0 ;
31686 char *kwnames
[] = {
31687 (char *) "self", NULL
31690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31692 if (SWIG_arg_fail(1)) SWIG_fail
;
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 result
= (arg1
)->GetRootId();
31697 wxPyEndAllowThreads(__tstate
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31701 wxTreeItemId
* resultptr
;
31702 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31711 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31712 PyObject
*resultobj
;
31713 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31714 wxPyTreeCtrl
*result
;
31715 PyObject
* obj0
= 0 ;
31716 char *kwnames
[] = {
31717 (char *) "self", NULL
31720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31722 if (SWIG_arg_fail(1)) SWIG_fail
;
31724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31725 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31727 wxPyEndAllowThreads(__tstate
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31731 resultobj
= wxPyMake_wxObject(result
, 0);
31739 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31740 PyObject
*resultobj
;
31741 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31742 wxDirFilterListCtrl
*result
;
31743 PyObject
* obj0
= 0 ;
31744 char *kwnames
[] = {
31745 (char *) "self", NULL
31748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31750 if (SWIG_arg_fail(1)) SWIG_fail
;
31752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31753 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31755 wxPyEndAllowThreads(__tstate
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31765 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
;
31767 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31768 wxTreeItemId arg2
;
31769 wxString
*arg3
= 0 ;
31771 wxTreeItemId result
;
31772 bool temp3
= false ;
31775 PyObject
* obj0
= 0 ;
31776 PyObject
* obj1
= 0 ;
31777 PyObject
* obj2
= 0 ;
31778 char *kwnames
[] = {
31779 (char *) "self",(char *) "parentId",(char *) "path", NULL
31782 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31785 if (SWIG_arg_fail(1)) SWIG_fail
;
31787 wxTreeItemId
* argp
;
31788 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31789 if (SWIG_arg_fail(2)) SWIG_fail
;
31790 if (argp
== NULL
) {
31791 SWIG_null_ref("wxTreeItemId");
31793 if (SWIG_arg_fail(2)) SWIG_fail
;
31797 arg3
= wxString_in_helper(obj2
);
31798 if (arg3
== NULL
) SWIG_fail
;
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31805 wxPyEndAllowThreads(__tstate
);
31806 if (PyErr_Occurred()) SWIG_fail
;
31809 wxTreeItemId
* resultptr
;
31810 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31813 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31814 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31829 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31830 PyObject
*resultobj
;
31831 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31832 PyObject
* obj0
= 0 ;
31833 char *kwnames
[] = {
31834 (char *) "self", NULL
31837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31839 if (SWIG_arg_fail(1)) SWIG_fail
;
31841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31842 (arg1
)->DoResize();
31844 wxPyEndAllowThreads(__tstate
);
31845 if (PyErr_Occurred()) SWIG_fail
;
31847 Py_INCREF(Py_None
); resultobj
= Py_None
;
31854 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31855 PyObject
*resultobj
;
31856 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31857 PyObject
* obj0
= 0 ;
31858 char *kwnames
[] = {
31859 (char *) "self", NULL
31862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31864 if (SWIG_arg_fail(1)) SWIG_fail
;
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 (arg1
)->ReCreateTree();
31869 wxPyEndAllowThreads(__tstate
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31872 Py_INCREF(Py_None
); resultobj
= Py_None
;
31879 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31882 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31884 return Py_BuildValue((char *)"");
31886 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31887 PyObject
*resultobj
;
31888 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31889 int arg2
= (int) (int)-1 ;
31890 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31891 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31892 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31893 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31894 long arg5
= (long) 0 ;
31895 wxDirFilterListCtrl
*result
;
31898 PyObject
* obj0
= 0 ;
31899 PyObject
* obj1
= 0 ;
31900 PyObject
* obj2
= 0 ;
31901 PyObject
* obj3
= 0 ;
31902 PyObject
* obj4
= 0 ;
31903 char *kwnames
[] = {
31904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31909 if (SWIG_arg_fail(1)) SWIG_fail
;
31912 arg2
= (int const)(SWIG_As_int(obj1
));
31913 if (SWIG_arg_fail(2)) SWIG_fail
;
31919 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31925 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31930 arg5
= (long)(SWIG_As_long(obj4
));
31931 if (SWIG_arg_fail(5)) SWIG_fail
;
31935 if (!wxPyCheckForApp()) SWIG_fail
;
31936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31937 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31939 wxPyEndAllowThreads(__tstate
);
31940 if (PyErr_Occurred()) SWIG_fail
;
31942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31949 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31950 PyObject
*resultobj
;
31951 wxDirFilterListCtrl
*result
;
31952 char *kwnames
[] = {
31956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31958 if (!wxPyCheckForApp()) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31972 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31973 PyObject
*resultobj
;
31974 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31975 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31976 int arg3
= (int) (int)-1 ;
31977 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31978 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31979 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31980 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31981 long arg6
= (long) 0 ;
31985 PyObject
* obj0
= 0 ;
31986 PyObject
* obj1
= 0 ;
31987 PyObject
* obj2
= 0 ;
31988 PyObject
* obj3
= 0 ;
31989 PyObject
* obj4
= 0 ;
31990 PyObject
* obj5
= 0 ;
31991 char *kwnames
[] = {
31992 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31997 if (SWIG_arg_fail(1)) SWIG_fail
;
31998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31999 if (SWIG_arg_fail(2)) SWIG_fail
;
32002 arg3
= (int const)(SWIG_As_int(obj2
));
32003 if (SWIG_arg_fail(3)) SWIG_fail
;
32009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32020 arg6
= (long)(SWIG_As_long(obj5
));
32021 if (SWIG_arg_fail(6)) SWIG_fail
;
32025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32026 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32028 wxPyEndAllowThreads(__tstate
);
32029 if (PyErr_Occurred()) SWIG_fail
;
32032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32040 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32041 PyObject
*resultobj
;
32042 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32043 wxString
*arg2
= 0 ;
32045 bool temp2
= false ;
32046 PyObject
* obj0
= 0 ;
32047 PyObject
* obj1
= 0 ;
32048 PyObject
* obj2
= 0 ;
32049 char *kwnames
[] = {
32050 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32055 if (SWIG_arg_fail(1)) SWIG_fail
;
32057 arg2
= wxString_in_helper(obj1
);
32058 if (arg2
== NULL
) SWIG_fail
;
32062 arg3
= (int)(SWIG_As_int(obj2
));
32063 if (SWIG_arg_fail(3)) SWIG_fail
;
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32067 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32069 wxPyEndAllowThreads(__tstate
);
32070 if (PyErr_Occurred()) SWIG_fail
;
32072 Py_INCREF(Py_None
); resultobj
= Py_None
;
32087 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32090 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32092 return Py_BuildValue((char *)"");
32094 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
;
32096 wxWindow
*arg1
= (wxWindow
*) 0 ;
32097 int arg2
= (int) (int)-1 ;
32098 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32099 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32100 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32101 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32102 long arg5
= (long) 0 ;
32103 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32104 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32105 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32106 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32107 wxPyControl
*result
;
32110 bool temp7
= false ;
32111 PyObject
* obj0
= 0 ;
32112 PyObject
* obj1
= 0 ;
32113 PyObject
* obj2
= 0 ;
32114 PyObject
* obj3
= 0 ;
32115 PyObject
* obj4
= 0 ;
32116 PyObject
* obj5
= 0 ;
32117 PyObject
* obj6
= 0 ;
32118 char *kwnames
[] = {
32119 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32124 if (SWIG_arg_fail(1)) SWIG_fail
;
32127 arg2
= (int const)(SWIG_As_int(obj1
));
32128 if (SWIG_arg_fail(2)) SWIG_fail
;
32134 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32140 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32145 arg5
= (long)(SWIG_As_long(obj4
));
32146 if (SWIG_arg_fail(5)) SWIG_fail
;
32151 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32152 if (SWIG_arg_fail(6)) SWIG_fail
;
32153 if (arg6
== NULL
) {
32154 SWIG_null_ref("wxValidator");
32156 if (SWIG_arg_fail(6)) SWIG_fail
;
32161 arg7
= wxString_in_helper(obj6
);
32162 if (arg7
== NULL
) SWIG_fail
;
32167 if (!wxPyCheckForApp()) SWIG_fail
;
32168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32169 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32171 wxPyEndAllowThreads(__tstate
);
32172 if (PyErr_Occurred()) SWIG_fail
;
32174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32189 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32190 PyObject
*resultobj
;
32191 wxPyControl
*result
;
32192 char *kwnames
[] = {
32196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32198 if (!wxPyCheckForApp()) SWIG_fail
;
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 result
= (wxPyControl
*)new wxPyControl();
32202 wxPyEndAllowThreads(__tstate
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32212 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32213 PyObject
*resultobj
;
32214 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32215 PyObject
*arg2
= (PyObject
*) 0 ;
32216 PyObject
*arg3
= (PyObject
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 PyObject
* obj1
= 0 ;
32219 PyObject
* obj2
= 0 ;
32220 char *kwnames
[] = {
32221 (char *) "self",(char *) "self",(char *) "_class", NULL
32224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32226 if (SWIG_arg_fail(1)) SWIG_fail
;
32230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32236 Py_INCREF(Py_None
); resultobj
= Py_None
;
32243 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32244 PyObject
*resultobj
;
32245 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32248 PyObject
* obj0
= 0 ;
32249 PyObject
* obj1
= 0 ;
32250 char *kwnames
[] = {
32251 (char *) "self",(char *) "size", NULL
32254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32256 if (SWIG_arg_fail(1)) SWIG_fail
;
32259 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32263 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32268 Py_INCREF(Py_None
); resultobj
= Py_None
;
32275 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32276 PyObject
*resultobj
;
32277 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32278 wxDC
*arg2
= (wxDC
*) 0 ;
32280 PyObject
* obj0
= 0 ;
32281 PyObject
* obj1
= 0 ;
32282 char *kwnames
[] = {
32283 (char *) "self",(char *) "dc", NULL
32286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32288 if (SWIG_arg_fail(1)) SWIG_fail
;
32289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32290 if (SWIG_arg_fail(2)) SWIG_fail
;
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32307 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
;
32309 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32314 PyObject
* obj0
= 0 ;
32315 PyObject
* obj1
= 0 ;
32316 PyObject
* obj2
= 0 ;
32317 PyObject
* obj3
= 0 ;
32318 PyObject
* obj4
= 0 ;
32319 char *kwnames
[] = {
32320 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32325 if (SWIG_arg_fail(1)) SWIG_fail
;
32327 arg2
= (int)(SWIG_As_int(obj1
));
32328 if (SWIG_arg_fail(2)) SWIG_fail
;
32331 arg3
= (int)(SWIG_As_int(obj2
));
32332 if (SWIG_arg_fail(3)) SWIG_fail
;
32335 arg4
= (int)(SWIG_As_int(obj3
));
32336 if (SWIG_arg_fail(4)) SWIG_fail
;
32339 arg5
= (int)(SWIG_As_int(obj4
));
32340 if (SWIG_arg_fail(5)) SWIG_fail
;
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32349 Py_INCREF(Py_None
); resultobj
= Py_None
;
32356 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
;
32358 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32363 int arg6
= (int) wxSIZE_AUTO
;
32364 PyObject
* obj0
= 0 ;
32365 PyObject
* obj1
= 0 ;
32366 PyObject
* obj2
= 0 ;
32367 PyObject
* obj3
= 0 ;
32368 PyObject
* obj4
= 0 ;
32369 PyObject
* obj5
= 0 ;
32370 char *kwnames
[] = {
32371 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32376 if (SWIG_arg_fail(1)) SWIG_fail
;
32378 arg2
= (int)(SWIG_As_int(obj1
));
32379 if (SWIG_arg_fail(2)) SWIG_fail
;
32382 arg3
= (int)(SWIG_As_int(obj2
));
32383 if (SWIG_arg_fail(3)) SWIG_fail
;
32386 arg4
= (int)(SWIG_As_int(obj3
));
32387 if (SWIG_arg_fail(4)) SWIG_fail
;
32390 arg5
= (int)(SWIG_As_int(obj4
));
32391 if (SWIG_arg_fail(5)) SWIG_fail
;
32395 arg6
= (int)(SWIG_As_int(obj5
));
32396 if (SWIG_arg_fail(6)) SWIG_fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 Py_INCREF(Py_None
); resultobj
= Py_None
;
32413 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
;
32415 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32418 PyObject
* obj0
= 0 ;
32419 PyObject
* obj1
= 0 ;
32420 PyObject
* obj2
= 0 ;
32421 char *kwnames
[] = {
32422 (char *) "self",(char *) "width",(char *) "height", NULL
32425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32427 if (SWIG_arg_fail(1)) SWIG_fail
;
32429 arg2
= (int)(SWIG_As_int(obj1
));
32430 if (SWIG_arg_fail(2)) SWIG_fail
;
32433 arg3
= (int)(SWIG_As_int(obj2
));
32434 if (SWIG_arg_fail(3)) SWIG_fail
;
32437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32438 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32440 wxPyEndAllowThreads(__tstate
);
32441 if (PyErr_Occurred()) SWIG_fail
;
32443 Py_INCREF(Py_None
); resultobj
= Py_None
;
32450 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32451 PyObject
*resultobj
;
32452 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32455 PyObject
* obj0
= 0 ;
32456 PyObject
* obj1
= 0 ;
32457 PyObject
* obj2
= 0 ;
32458 char *kwnames
[] = {
32459 (char *) "self",(char *) "x",(char *) "y", NULL
32462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32464 if (SWIG_arg_fail(1)) SWIG_fail
;
32466 arg2
= (int)(SWIG_As_int(obj1
));
32467 if (SWIG_arg_fail(2)) SWIG_fail
;
32470 arg3
= (int)(SWIG_As_int(obj2
));
32471 if (SWIG_arg_fail(3)) SWIG_fail
;
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32475 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32477 wxPyEndAllowThreads(__tstate
);
32478 if (PyErr_Occurred()) SWIG_fail
;
32480 Py_INCREF(Py_None
); resultobj
= Py_None
;
32487 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32488 PyObject
*resultobj
;
32489 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32490 int *arg2
= (int *) 0 ;
32491 int *arg3
= (int *) 0 ;
32496 PyObject
* obj0
= 0 ;
32497 char *kwnames
[] = {
32498 (char *) "self", NULL
32501 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32502 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32505 if (SWIG_arg_fail(1)) SWIG_fail
;
32507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32508 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32513 Py_INCREF(Py_None
); resultobj
= Py_None
;
32514 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32515 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32516 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32517 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32524 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32525 PyObject
*resultobj
;
32526 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32527 int *arg2
= (int *) 0 ;
32528 int *arg3
= (int *) 0 ;
32533 PyObject
* obj0
= 0 ;
32534 char *kwnames
[] = {
32535 (char *) "self", NULL
32538 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32539 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32542 if (SWIG_arg_fail(1)) SWIG_fail
;
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32547 wxPyEndAllowThreads(__tstate
);
32548 if (PyErr_Occurred()) SWIG_fail
;
32550 Py_INCREF(Py_None
); resultobj
= Py_None
;
32551 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32552 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32553 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32554 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32561 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
;
32563 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32564 int *arg2
= (int *) 0 ;
32565 int *arg3
= (int *) 0 ;
32570 PyObject
* obj0
= 0 ;
32571 char *kwnames
[] = {
32572 (char *) "self", NULL
32575 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32576 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32579 if (SWIG_arg_fail(1)) SWIG_fail
;
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32587 Py_INCREF(Py_None
); resultobj
= Py_None
;
32588 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32589 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32590 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32591 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32598 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32599 PyObject
*resultobj
;
32600 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32602 PyObject
* obj0
= 0 ;
32603 char *kwnames
[] = {
32604 (char *) "self", NULL
32607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32609 if (SWIG_arg_fail(1)) SWIG_fail
;
32611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32612 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32618 wxSize
* resultptr
;
32619 resultptr
= new wxSize((wxSize
&)(result
));
32620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32628 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32629 PyObject
*resultobj
;
32630 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32632 PyObject
* obj0
= 0 ;
32633 char *kwnames
[] = {
32634 (char *) "self", NULL
32637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32639 if (SWIG_arg_fail(1)) SWIG_fail
;
32641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32642 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32644 wxPyEndAllowThreads(__tstate
);
32645 if (PyErr_Occurred()) SWIG_fail
;
32648 wxSize
* resultptr
;
32649 resultptr
= new wxSize((wxSize
&)(result
));
32650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32658 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32659 PyObject
*resultobj
;
32660 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32661 PyObject
* obj0
= 0 ;
32662 char *kwnames
[] = {
32663 (char *) "self", NULL
32666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32668 if (SWIG_arg_fail(1)) SWIG_fail
;
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 (arg1
)->base_InitDialog();
32673 wxPyEndAllowThreads(__tstate
);
32674 if (PyErr_Occurred()) SWIG_fail
;
32676 Py_INCREF(Py_None
); resultobj
= Py_None
;
32683 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32684 PyObject
*resultobj
;
32685 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32687 PyObject
* obj0
= 0 ;
32688 char *kwnames
[] = {
32689 (char *) "self", NULL
32692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32694 if (SWIG_arg_fail(1)) SWIG_fail
;
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 result
= (bool)(arg1
)->base_TransferDataToWindow();
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32711 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32712 PyObject
*resultobj
;
32713 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32715 PyObject
* obj0
= 0 ;
32716 char *kwnames
[] = {
32717 (char *) "self", NULL
32720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32722 if (SWIG_arg_fail(1)) SWIG_fail
;
32724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32725 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32727 wxPyEndAllowThreads(__tstate
);
32728 if (PyErr_Occurred()) SWIG_fail
;
32731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32739 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
;
32741 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 char *kwnames
[] = {
32745 (char *) "self", NULL
32748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32750 if (SWIG_arg_fail(1)) SWIG_fail
;
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 result
= (bool)(arg1
)->base_Validate();
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32767 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32768 PyObject
*resultobj
;
32769 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32771 PyObject
* obj0
= 0 ;
32772 char *kwnames
[] = {
32773 (char *) "self", NULL
32776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32778 if (SWIG_arg_fail(1)) SWIG_fail
;
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32781 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32795 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32796 PyObject
*resultobj
;
32797 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32799 PyObject
* obj0
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "self", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32806 if (SWIG_arg_fail(1)) SWIG_fail
;
32808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32809 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32811 wxPyEndAllowThreads(__tstate
);
32812 if (PyErr_Occurred()) SWIG_fail
;
32815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32823 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32824 PyObject
*resultobj
;
32825 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32827 PyObject
* obj0
= 0 ;
32828 char *kwnames
[] = {
32829 (char *) "self", NULL
32832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32834 if (SWIG_arg_fail(1)) SWIG_fail
;
32836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32837 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32839 wxPyEndAllowThreads(__tstate
);
32840 if (PyErr_Occurred()) SWIG_fail
;
32843 wxSize
* resultptr
;
32844 resultptr
= new wxSize((wxSize
&)(result
));
32845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32853 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32854 PyObject
*resultobj
;
32855 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32856 wxWindow
*arg2
= (wxWindow
*) 0 ;
32857 PyObject
* obj0
= 0 ;
32858 PyObject
* obj1
= 0 ;
32859 char *kwnames
[] = {
32860 (char *) "self",(char *) "child", NULL
32863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32865 if (SWIG_arg_fail(1)) SWIG_fail
;
32866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32867 if (SWIG_arg_fail(2)) SWIG_fail
;
32869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32870 (arg1
)->base_AddChild(arg2
);
32872 wxPyEndAllowThreads(__tstate
);
32873 if (PyErr_Occurred()) SWIG_fail
;
32875 Py_INCREF(Py_None
); resultobj
= Py_None
;
32882 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32883 PyObject
*resultobj
;
32884 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32885 wxWindow
*arg2
= (wxWindow
*) 0 ;
32886 PyObject
* obj0
= 0 ;
32887 PyObject
* obj1
= 0 ;
32888 char *kwnames
[] = {
32889 (char *) "self",(char *) "child", NULL
32892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32894 if (SWIG_arg_fail(1)) SWIG_fail
;
32895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32896 if (SWIG_arg_fail(2)) SWIG_fail
;
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32899 (arg1
)->base_RemoveChild(arg2
);
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32904 Py_INCREF(Py_None
); resultobj
= Py_None
;
32911 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32912 PyObject
*resultobj
;
32913 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32915 PyObject
* obj0
= 0 ;
32916 char *kwnames
[] = {
32917 (char *) "self", NULL
32920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32922 if (SWIG_arg_fail(1)) SWIG_fail
;
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32939 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32940 PyObject
*resultobj
;
32941 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32942 wxVisualAttributes result
;
32943 PyObject
* obj0
= 0 ;
32944 char *kwnames
[] = {
32945 (char *) "self", NULL
32948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32950 if (SWIG_arg_fail(1)) SWIG_fail
;
32952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32953 result
= (arg1
)->base_GetDefaultAttributes();
32955 wxPyEndAllowThreads(__tstate
);
32956 if (PyErr_Occurred()) SWIG_fail
;
32959 wxVisualAttributes
* resultptr
;
32960 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32969 static PyObject
*_wrap_PyControl_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32970 PyObject
*resultobj
;
32971 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32972 PyObject
* obj0
= 0 ;
32973 char *kwnames
[] = {
32974 (char *) "self", NULL
32977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
32978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32979 if (SWIG_arg_fail(1)) SWIG_fail
;
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32982 (arg1
)->base_OnInternalIdle();
32984 wxPyEndAllowThreads(__tstate
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32987 Py_INCREF(Py_None
); resultobj
= Py_None
;
32994 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32997 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32999 return Py_BuildValue((char *)"");
33001 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33002 PyObject
*resultobj
;
33003 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33004 int arg2
= (int) 0 ;
33005 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33006 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33007 wxHelpEvent
*result
;
33009 PyObject
* obj0
= 0 ;
33010 PyObject
* obj1
= 0 ;
33011 PyObject
* obj2
= 0 ;
33012 char *kwnames
[] = {
33013 (char *) "type",(char *) "winid",(char *) "pt", NULL
33016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33019 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33020 if (SWIG_arg_fail(1)) SWIG_fail
;
33025 arg2
= (int)(SWIG_As_int(obj1
));
33026 if (SWIG_arg_fail(2)) SWIG_fail
;
33032 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33037 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33049 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33050 PyObject
*resultobj
;
33051 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33053 PyObject
* obj0
= 0 ;
33054 char *kwnames
[] = {
33055 (char *) "self", NULL
33058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33060 if (SWIG_arg_fail(1)) SWIG_fail
;
33062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33063 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33065 wxPyEndAllowThreads(__tstate
);
33066 if (PyErr_Occurred()) SWIG_fail
;
33069 wxPoint
* resultptr
;
33070 resultptr
= new wxPoint((wxPoint
const &)(result
));
33071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33079 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33080 PyObject
*resultobj
;
33081 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33082 wxPoint
*arg2
= 0 ;
33084 PyObject
* obj0
= 0 ;
33085 PyObject
* obj1
= 0 ;
33086 char *kwnames
[] = {
33087 (char *) "self",(char *) "pos", NULL
33090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33092 if (SWIG_arg_fail(1)) SWIG_fail
;
33095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 Py_INCREF(Py_None
); resultobj
= Py_None
;
33111 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
;
33113 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33115 PyObject
* obj0
= 0 ;
33116 char *kwnames
[] = {
33117 (char *) "self", NULL
33120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33122 if (SWIG_arg_fail(1)) SWIG_fail
;
33124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33127 result
= (wxString
*) &_result_ref
;
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33135 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33137 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33146 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33147 PyObject
*resultobj
;
33148 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33149 wxString
*arg2
= 0 ;
33150 bool temp2
= false ;
33151 PyObject
* obj0
= 0 ;
33152 PyObject
* obj1
= 0 ;
33153 char *kwnames
[] = {
33154 (char *) "self",(char *) "link", NULL
33157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33159 if (SWIG_arg_fail(1)) SWIG_fail
;
33161 arg2
= wxString_in_helper(obj1
);
33162 if (arg2
== NULL
) SWIG_fail
;
33166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33167 (arg1
)->SetLink((wxString
const &)*arg2
);
33169 wxPyEndAllowThreads(__tstate
);
33170 if (PyErr_Occurred()) SWIG_fail
;
33172 Py_INCREF(Py_None
); resultobj
= Py_None
;
33187 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33188 PyObject
*resultobj
;
33189 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33191 PyObject
* obj0
= 0 ;
33192 char *kwnames
[] = {
33193 (char *) "self", NULL
33196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33198 if (SWIG_arg_fail(1)) SWIG_fail
;
33200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33202 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33203 result
= (wxString
*) &_result_ref
;
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33211 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33213 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33222 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33223 PyObject
*resultobj
;
33224 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33225 wxString
*arg2
= 0 ;
33226 bool temp2
= false ;
33227 PyObject
* obj0
= 0 ;
33228 PyObject
* obj1
= 0 ;
33229 char *kwnames
[] = {
33230 (char *) "self",(char *) "target", NULL
33233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33235 if (SWIG_arg_fail(1)) SWIG_fail
;
33237 arg2
= wxString_in_helper(obj1
);
33238 if (arg2
== NULL
) SWIG_fail
;
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 (arg1
)->SetTarget((wxString
const &)*arg2
);
33245 wxPyEndAllowThreads(__tstate
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33248 Py_INCREF(Py_None
); resultobj
= Py_None
;
33263 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33266 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33268 return Py_BuildValue((char *)"");
33270 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33271 PyObject
*resultobj
;
33272 wxWindow
*arg1
= (wxWindow
*) NULL
;
33273 bool arg2
= (bool) true ;
33274 wxContextHelp
*result
;
33275 PyObject
* obj0
= 0 ;
33276 PyObject
* obj1
= 0 ;
33277 char *kwnames
[] = {
33278 (char *) "window",(char *) "doNow", NULL
33281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33284 if (SWIG_arg_fail(1)) SWIG_fail
;
33288 arg2
= (bool)(SWIG_As_bool(obj1
));
33289 if (SWIG_arg_fail(2)) SWIG_fail
;
33293 if (!wxPyCheckForApp()) SWIG_fail
;
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33297 wxPyEndAllowThreads(__tstate
);
33298 if (PyErr_Occurred()) SWIG_fail
;
33300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33307 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33308 PyObject
*resultobj
;
33309 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33310 PyObject
* obj0
= 0 ;
33311 char *kwnames
[] = {
33312 (char *) "self", NULL
33315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33317 if (SWIG_arg_fail(1)) SWIG_fail
;
33319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33322 wxPyEndAllowThreads(__tstate
);
33323 if (PyErr_Occurred()) SWIG_fail
;
33325 Py_INCREF(Py_None
); resultobj
= Py_None
;
33332 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33333 PyObject
*resultobj
;
33334 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33335 wxWindow
*arg2
= (wxWindow
*) NULL
;
33337 PyObject
* obj0
= 0 ;
33338 PyObject
* obj1
= 0 ;
33339 char *kwnames
[] = {
33340 (char *) "self",(char *) "window", NULL
33343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33345 if (SWIG_arg_fail(1)) SWIG_fail
;
33347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33348 if (SWIG_arg_fail(2)) SWIG_fail
;
33351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33352 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33366 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33367 PyObject
*resultobj
;
33368 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33370 PyObject
* obj0
= 0 ;
33371 char *kwnames
[] = {
33372 (char *) "self", NULL
33375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33377 if (SWIG_arg_fail(1)) SWIG_fail
;
33379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33380 result
= (bool)(arg1
)->EndContextHelp();
33382 wxPyEndAllowThreads(__tstate
);
33383 if (PyErr_Occurred()) SWIG_fail
;
33386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33394 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33397 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33399 return Py_BuildValue((char *)"");
33401 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33402 PyObject
*resultobj
;
33403 wxWindow
*arg1
= (wxWindow
*) 0 ;
33404 int arg2
= (int) wxID_CONTEXT_HELP
;
33405 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33406 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33407 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33408 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33409 long arg5
= (long) wxBU_AUTODRAW
;
33410 wxContextHelpButton
*result
;
33413 PyObject
* obj0
= 0 ;
33414 PyObject
* obj1
= 0 ;
33415 PyObject
* obj2
= 0 ;
33416 PyObject
* obj3
= 0 ;
33417 PyObject
* obj4
= 0 ;
33418 char *kwnames
[] = {
33419 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33424 if (SWIG_arg_fail(1)) SWIG_fail
;
33427 arg2
= (int)(SWIG_As_int(obj1
));
33428 if (SWIG_arg_fail(2)) SWIG_fail
;
33434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33440 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33445 arg5
= (long)(SWIG_As_long(obj4
));
33446 if (SWIG_arg_fail(5)) SWIG_fail
;
33450 if (!wxPyCheckForApp()) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33464 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33467 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33469 return Py_BuildValue((char *)"");
33471 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33472 PyObject
*resultobj
;
33473 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33474 wxHelpProvider
*result
;
33475 PyObject
* obj0
= 0 ;
33476 char *kwnames
[] = {
33477 (char *) "helpProvider", NULL
33480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33482 if (SWIG_arg_fail(1)) SWIG_fail
;
33484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33485 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33487 wxPyEndAllowThreads(__tstate
);
33488 if (PyErr_Occurred()) SWIG_fail
;
33490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33497 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33498 PyObject
*resultobj
;
33499 wxHelpProvider
*result
;
33500 char *kwnames
[] = {
33504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33507 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33509 wxPyEndAllowThreads(__tstate
);
33510 if (PyErr_Occurred()) SWIG_fail
;
33512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33519 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33520 PyObject
*resultobj
;
33521 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33522 wxWindow
*arg2
= (wxWindow
*) 0 ;
33524 PyObject
* obj0
= 0 ;
33525 PyObject
* obj1
= 0 ;
33526 char *kwnames
[] = {
33527 (char *) "self",(char *) "window", NULL
33530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33532 if (SWIG_arg_fail(1)) SWIG_fail
;
33533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33534 if (SWIG_arg_fail(2)) SWIG_fail
;
33536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33537 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33539 wxPyEndAllowThreads(__tstate
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33555 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33556 PyObject
*resultobj
;
33557 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33558 wxWindow
*arg2
= (wxWindow
*) 0 ;
33560 PyObject
* obj0
= 0 ;
33561 PyObject
* obj1
= 0 ;
33562 char *kwnames
[] = {
33563 (char *) "self",(char *) "window", NULL
33566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33568 if (SWIG_arg_fail(1)) SWIG_fail
;
33569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33570 if (SWIG_arg_fail(2)) SWIG_fail
;
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33573 result
= (bool)(arg1
)->ShowHelp(arg2
);
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33587 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
;
33589 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33590 wxWindow
*arg2
= (wxWindow
*) 0 ;
33591 wxString
*arg3
= 0 ;
33592 bool temp3
= false ;
33593 PyObject
* obj0
= 0 ;
33594 PyObject
* obj1
= 0 ;
33595 PyObject
* obj2
= 0 ;
33596 char *kwnames
[] = {
33597 (char *) "self",(char *) "window",(char *) "text", NULL
33600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33602 if (SWIG_arg_fail(1)) SWIG_fail
;
33603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33604 if (SWIG_arg_fail(2)) SWIG_fail
;
33606 arg3
= wxString_in_helper(obj2
);
33607 if (arg3
== NULL
) SWIG_fail
;
33611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33612 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33614 wxPyEndAllowThreads(__tstate
);
33615 if (PyErr_Occurred()) SWIG_fail
;
33617 Py_INCREF(Py_None
); resultobj
= Py_None
;
33632 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
;
33634 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33636 wxString
*arg3
= 0 ;
33637 bool temp3
= false ;
33638 PyObject
* obj0
= 0 ;
33639 PyObject
* obj1
= 0 ;
33640 PyObject
* obj2
= 0 ;
33641 char *kwnames
[] = {
33642 (char *) "self",(char *) "id",(char *) "text", NULL
33645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33647 if (SWIG_arg_fail(1)) SWIG_fail
;
33649 arg2
= (int)(SWIG_As_int(obj1
));
33650 if (SWIG_arg_fail(2)) SWIG_fail
;
33653 arg3
= wxString_in_helper(obj2
);
33654 if (arg3
== NULL
) SWIG_fail
;
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33664 Py_INCREF(Py_None
); resultobj
= Py_None
;
33679 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33680 PyObject
*resultobj
;
33681 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33682 wxWindow
*arg2
= (wxWindow
*) 0 ;
33683 PyObject
* obj0
= 0 ;
33684 PyObject
* obj1
= 0 ;
33685 char *kwnames
[] = {
33686 (char *) "self",(char *) "window", NULL
33689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33691 if (SWIG_arg_fail(1)) SWIG_fail
;
33692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33693 if (SWIG_arg_fail(2)) SWIG_fail
;
33695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33696 (arg1
)->RemoveHelp(arg2
);
33698 wxPyEndAllowThreads(__tstate
);
33699 if (PyErr_Occurred()) SWIG_fail
;
33701 Py_INCREF(Py_None
); resultobj
= Py_None
;
33708 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33709 PyObject
*resultobj
;
33710 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33711 PyObject
* obj0
= 0 ;
33712 char *kwnames
[] = {
33713 (char *) "self", NULL
33716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33718 if (SWIG_arg_fail(1)) SWIG_fail
;
33720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33721 wxHelpProvider_Destroy(arg1
);
33723 wxPyEndAllowThreads(__tstate
);
33724 if (PyErr_Occurred()) SWIG_fail
;
33726 Py_INCREF(Py_None
); resultobj
= Py_None
;
33733 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33736 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33738 return Py_BuildValue((char *)"");
33740 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33741 PyObject
*resultobj
;
33742 wxSimpleHelpProvider
*result
;
33743 char *kwnames
[] = {
33747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33750 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33752 wxPyEndAllowThreads(__tstate
);
33753 if (PyErr_Occurred()) SWIG_fail
;
33755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33762 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33765 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33767 return Py_BuildValue((char *)"");
33769 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33770 PyObject
*resultobj
;
33771 wxBitmap
*arg1
= 0 ;
33772 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33773 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33774 wxGenericDragImage
*result
;
33775 PyObject
* obj0
= 0 ;
33776 PyObject
* obj1
= 0 ;
33777 char *kwnames
[] = {
33778 (char *) "image",(char *) "cursor", NULL
33781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33784 if (SWIG_arg_fail(1)) SWIG_fail
;
33785 if (arg1
== NULL
) {
33786 SWIG_null_ref("wxBitmap");
33788 if (SWIG_arg_fail(1)) SWIG_fail
;
33792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33793 if (SWIG_arg_fail(2)) SWIG_fail
;
33794 if (arg2
== NULL
) {
33795 SWIG_null_ref("wxCursor");
33797 if (SWIG_arg_fail(2)) SWIG_fail
;
33801 if (!wxPyCheckForApp()) SWIG_fail
;
33802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33815 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
;
33818 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33819 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33820 wxGenericDragImage
*result
;
33821 PyObject
* obj0
= 0 ;
33822 PyObject
* obj1
= 0 ;
33823 char *kwnames
[] = {
33824 (char *) "image",(char *) "cursor", NULL
33827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33830 if (SWIG_arg_fail(1)) SWIG_fail
;
33831 if (arg1
== NULL
) {
33832 SWIG_null_ref("wxIcon");
33834 if (SWIG_arg_fail(1)) SWIG_fail
;
33838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33839 if (SWIG_arg_fail(2)) SWIG_fail
;
33840 if (arg2
== NULL
) {
33841 SWIG_null_ref("wxCursor");
33843 if (SWIG_arg_fail(2)) SWIG_fail
;
33847 if (!wxPyCheckForApp()) SWIG_fail
;
33848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33849 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33851 wxPyEndAllowThreads(__tstate
);
33852 if (PyErr_Occurred()) SWIG_fail
;
33854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33861 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33862 PyObject
*resultobj
;
33863 wxString
*arg1
= 0 ;
33864 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33865 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33866 wxGenericDragImage
*result
;
33867 bool temp1
= false ;
33868 PyObject
* obj0
= 0 ;
33869 PyObject
* obj1
= 0 ;
33870 char *kwnames
[] = {
33871 (char *) "str",(char *) "cursor", NULL
33874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33876 arg1
= wxString_in_helper(obj0
);
33877 if (arg1
== NULL
) SWIG_fail
;
33882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33883 if (SWIG_arg_fail(2)) SWIG_fail
;
33884 if (arg2
== NULL
) {
33885 SWIG_null_ref("wxCursor");
33887 if (SWIG_arg_fail(2)) SWIG_fail
;
33891 if (!wxPyCheckForApp()) SWIG_fail
;
33892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33895 wxPyEndAllowThreads(__tstate
);
33896 if (PyErr_Occurred()) SWIG_fail
;
33898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33913 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33914 PyObject
*resultobj
;
33915 wxPyTreeCtrl
*arg1
= 0 ;
33916 wxTreeItemId
*arg2
= 0 ;
33917 wxGenericDragImage
*result
;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 char *kwnames
[] = {
33921 (char *) "treeCtrl",(char *) "id", NULL
33924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33927 if (SWIG_arg_fail(1)) SWIG_fail
;
33928 if (arg1
== NULL
) {
33929 SWIG_null_ref("wxPyTreeCtrl");
33931 if (SWIG_arg_fail(1)) SWIG_fail
;
33934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33935 if (SWIG_arg_fail(2)) SWIG_fail
;
33936 if (arg2
== NULL
) {
33937 SWIG_null_ref("wxTreeItemId");
33939 if (SWIG_arg_fail(2)) SWIG_fail
;
33942 if (!wxPyCheckForApp()) SWIG_fail
;
33943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33944 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33946 wxPyEndAllowThreads(__tstate
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33956 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33957 PyObject
*resultobj
;
33958 wxPyListCtrl
*arg1
= 0 ;
33960 wxGenericDragImage
*result
;
33961 PyObject
* obj0
= 0 ;
33962 PyObject
* obj1
= 0 ;
33963 char *kwnames
[] = {
33964 (char *) "listCtrl",(char *) "id", NULL
33967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33970 if (SWIG_arg_fail(1)) SWIG_fail
;
33971 if (arg1
== NULL
) {
33972 SWIG_null_ref("wxPyListCtrl");
33974 if (SWIG_arg_fail(1)) SWIG_fail
;
33977 arg2
= (long)(SWIG_As_long(obj1
));
33978 if (SWIG_arg_fail(2)) SWIG_fail
;
33981 if (!wxPyCheckForApp()) SWIG_fail
;
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33995 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33996 PyObject
*resultobj
;
33997 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33998 PyObject
* obj0
= 0 ;
33999 char *kwnames
[] = {
34000 (char *) "self", NULL
34003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34005 if (SWIG_arg_fail(1)) SWIG_fail
;
34007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34010 wxPyEndAllowThreads(__tstate
);
34011 if (PyErr_Occurred()) SWIG_fail
;
34013 Py_INCREF(Py_None
); resultobj
= Py_None
;
34020 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34021 PyObject
*resultobj
;
34022 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34023 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34024 PyObject
* obj0
= 0 ;
34025 PyObject
* obj1
= 0 ;
34026 char *kwnames
[] = {
34027 (char *) "self",(char *) "bitmap", NULL
34030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34032 if (SWIG_arg_fail(1)) SWIG_fail
;
34033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34034 if (SWIG_arg_fail(2)) SWIG_fail
;
34036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34037 (arg1
)->SetBackingBitmap(arg2
);
34039 wxPyEndAllowThreads(__tstate
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34042 Py_INCREF(Py_None
); resultobj
= Py_None
;
34049 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34050 PyObject
*resultobj
;
34051 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34052 wxPoint
*arg2
= 0 ;
34053 wxWindow
*arg3
= (wxWindow
*) 0 ;
34054 bool arg4
= (bool) false ;
34055 wxRect
*arg5
= (wxRect
*) NULL
;
34058 PyObject
* obj0
= 0 ;
34059 PyObject
* obj1
= 0 ;
34060 PyObject
* obj2
= 0 ;
34061 PyObject
* obj3
= 0 ;
34062 PyObject
* obj4
= 0 ;
34063 char *kwnames
[] = {
34064 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34069 if (SWIG_arg_fail(1)) SWIG_fail
;
34072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34074 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34075 if (SWIG_arg_fail(3)) SWIG_fail
;
34078 arg4
= (bool)(SWIG_As_bool(obj3
));
34079 if (SWIG_arg_fail(4)) SWIG_fail
;
34083 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34084 if (SWIG_arg_fail(5)) SWIG_fail
;
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34090 wxPyEndAllowThreads(__tstate
);
34091 if (PyErr_Occurred()) SWIG_fail
;
34094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34102 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34103 PyObject
*resultobj
;
34104 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34105 wxPoint
*arg2
= 0 ;
34106 wxWindow
*arg3
= (wxWindow
*) 0 ;
34107 wxWindow
*arg4
= (wxWindow
*) 0 ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 PyObject
* obj2
= 0 ;
34113 PyObject
* obj3
= 0 ;
34114 char *kwnames
[] = {
34115 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34120 if (SWIG_arg_fail(1)) SWIG_fail
;
34123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34125 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34126 if (SWIG_arg_fail(3)) SWIG_fail
;
34127 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34128 if (SWIG_arg_fail(4)) SWIG_fail
;
34130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34131 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34133 wxPyEndAllowThreads(__tstate
);
34134 if (PyErr_Occurred()) SWIG_fail
;
34137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34145 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34146 PyObject
*resultobj
;
34147 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34149 PyObject
* obj0
= 0 ;
34150 char *kwnames
[] = {
34151 (char *) "self", NULL
34154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34156 if (SWIG_arg_fail(1)) SWIG_fail
;
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 result
= (bool)(arg1
)->EndDrag();
34161 wxPyEndAllowThreads(__tstate
);
34162 if (PyErr_Occurred()) SWIG_fail
;
34165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34173 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34174 PyObject
*resultobj
;
34175 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34176 wxPoint
*arg2
= 0 ;
34179 PyObject
* obj0
= 0 ;
34180 PyObject
* obj1
= 0 ;
34181 char *kwnames
[] = {
34182 (char *) "self",(char *) "pt", NULL
34185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34187 if (SWIG_arg_fail(1)) SWIG_fail
;
34190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34194 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34208 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34209 PyObject
*resultobj
;
34210 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34212 PyObject
* obj0
= 0 ;
34213 char *kwnames
[] = {
34214 (char *) "self", NULL
34217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34219 if (SWIG_arg_fail(1)) SWIG_fail
;
34221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34222 result
= (bool)(arg1
)->Show();
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34236 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34237 PyObject
*resultobj
;
34238 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34240 PyObject
* obj0
= 0 ;
34241 char *kwnames
[] = {
34242 (char *) "self", NULL
34245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34247 if (SWIG_arg_fail(1)) SWIG_fail
;
34249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34250 result
= (bool)(arg1
)->Hide();
34252 wxPyEndAllowThreads(__tstate
);
34253 if (PyErr_Occurred()) SWIG_fail
;
34256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34264 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34265 PyObject
*resultobj
;
34266 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34267 wxPoint
*arg2
= 0 ;
34270 PyObject
* obj0
= 0 ;
34271 PyObject
* obj1
= 0 ;
34272 char *kwnames
[] = {
34273 (char *) "self",(char *) "pos", NULL
34276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34278 if (SWIG_arg_fail(1)) SWIG_fail
;
34281 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34285 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34291 wxRect
* resultptr
;
34292 resultptr
= new wxRect((wxRect
&)(result
));
34293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34301 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34302 PyObject
*resultobj
;
34303 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34305 wxPoint
*arg3
= 0 ;
34308 PyObject
* obj0
= 0 ;
34309 PyObject
* obj1
= 0 ;
34310 PyObject
* obj2
= 0 ;
34311 char *kwnames
[] = {
34312 (char *) "self",(char *) "dc",(char *) "pos", NULL
34315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34317 if (SWIG_arg_fail(1)) SWIG_fail
;
34319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34320 if (SWIG_arg_fail(2)) SWIG_fail
;
34321 if (arg2
== NULL
) {
34322 SWIG_null_ref("wxDC");
34324 if (SWIG_arg_fail(2)) SWIG_fail
;
34328 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34332 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34334 wxPyEndAllowThreads(__tstate
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34346 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34347 PyObject
*resultobj
;
34348 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34350 wxMemoryDC
*arg3
= 0 ;
34356 PyObject
* obj0
= 0 ;
34357 PyObject
* obj1
= 0 ;
34358 PyObject
* obj2
= 0 ;
34359 PyObject
* obj3
= 0 ;
34360 PyObject
* obj4
= 0 ;
34361 char *kwnames
[] = {
34362 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34367 if (SWIG_arg_fail(1)) SWIG_fail
;
34369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34370 if (SWIG_arg_fail(2)) SWIG_fail
;
34371 if (arg2
== NULL
) {
34372 SWIG_null_ref("wxDC");
34374 if (SWIG_arg_fail(2)) SWIG_fail
;
34377 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34378 if (SWIG_arg_fail(3)) SWIG_fail
;
34379 if (arg3
== NULL
) {
34380 SWIG_null_ref("wxMemoryDC");
34382 if (SWIG_arg_fail(3)) SWIG_fail
;
34386 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34390 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34394 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34396 wxPyEndAllowThreads(__tstate
);
34397 if (PyErr_Occurred()) SWIG_fail
;
34400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34408 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34409 PyObject
*resultobj
;
34410 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34411 wxPoint
*arg2
= 0 ;
34412 wxPoint
*arg3
= 0 ;
34418 PyObject
* obj0
= 0 ;
34419 PyObject
* obj1
= 0 ;
34420 PyObject
* obj2
= 0 ;
34421 PyObject
* obj3
= 0 ;
34422 PyObject
* obj4
= 0 ;
34423 char *kwnames
[] = {
34424 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34429 if (SWIG_arg_fail(1)) SWIG_fail
;
34432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34436 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34439 arg4
= (bool)(SWIG_As_bool(obj3
));
34440 if (SWIG_arg_fail(4)) SWIG_fail
;
34443 arg5
= (bool)(SWIG_As_bool(obj4
));
34444 if (SWIG_arg_fail(5)) SWIG_fail
;
34447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34448 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34450 wxPyEndAllowThreads(__tstate
);
34451 if (PyErr_Occurred()) SWIG_fail
;
34454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34462 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34465 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34467 return Py_BuildValue((char *)"");
34469 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34470 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34475 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34480 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34482 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34489 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34490 PyObject
*resultobj
;
34491 wxWindow
*arg1
= (wxWindow
*) 0 ;
34492 int arg2
= (int) -1 ;
34493 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34494 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34499 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34500 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34501 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34502 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34503 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34504 wxDatePickerCtrl
*result
;
34507 bool temp8
= false ;
34508 PyObject
* obj0
= 0 ;
34509 PyObject
* obj1
= 0 ;
34510 PyObject
* obj2
= 0 ;
34511 PyObject
* obj3
= 0 ;
34512 PyObject
* obj4
= 0 ;
34513 PyObject
* obj5
= 0 ;
34514 PyObject
* obj6
= 0 ;
34515 PyObject
* obj7
= 0 ;
34516 char *kwnames
[] = {
34517 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34522 if (SWIG_arg_fail(1)) SWIG_fail
;
34525 arg2
= (int)(SWIG_As_int(obj1
));
34526 if (SWIG_arg_fail(2)) SWIG_fail
;
34531 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34532 if (SWIG_arg_fail(3)) SWIG_fail
;
34533 if (arg3
== NULL
) {
34534 SWIG_null_ref("wxDateTime");
34536 if (SWIG_arg_fail(3)) SWIG_fail
;
34542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34553 arg6
= (long)(SWIG_As_long(obj5
));
34554 if (SWIG_arg_fail(6)) SWIG_fail
;
34559 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34560 if (SWIG_arg_fail(7)) SWIG_fail
;
34561 if (arg7
== NULL
) {
34562 SWIG_null_ref("wxValidator");
34564 if (SWIG_arg_fail(7)) SWIG_fail
;
34569 arg8
= wxString_in_helper(obj7
);
34570 if (arg8
== NULL
) SWIG_fail
;
34575 if (!wxPyCheckForApp()) SWIG_fail
;
34576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34577 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34579 wxPyEndAllowThreads(__tstate
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34597 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34598 PyObject
*resultobj
;
34599 wxDatePickerCtrl
*result
;
34600 char *kwnames
[] = {
34604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34606 if (!wxPyCheckForApp()) SWIG_fail
;
34607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34608 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34610 wxPyEndAllowThreads(__tstate
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34620 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34621 PyObject
*resultobj
;
34622 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34623 wxWindow
*arg2
= (wxWindow
*) 0 ;
34624 int arg3
= (int) -1 ;
34625 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34626 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34627 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34628 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34629 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34630 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34631 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34632 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34633 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34634 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34635 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34639 bool temp9
= false ;
34640 PyObject
* obj0
= 0 ;
34641 PyObject
* obj1
= 0 ;
34642 PyObject
* obj2
= 0 ;
34643 PyObject
* obj3
= 0 ;
34644 PyObject
* obj4
= 0 ;
34645 PyObject
* obj5
= 0 ;
34646 PyObject
* obj6
= 0 ;
34647 PyObject
* obj7
= 0 ;
34648 PyObject
* obj8
= 0 ;
34649 char *kwnames
[] = {
34650 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34655 if (SWIG_arg_fail(1)) SWIG_fail
;
34656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34657 if (SWIG_arg_fail(2)) SWIG_fail
;
34660 arg3
= (int)(SWIG_As_int(obj2
));
34661 if (SWIG_arg_fail(3)) SWIG_fail
;
34666 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34667 if (SWIG_arg_fail(4)) SWIG_fail
;
34668 if (arg4
== NULL
) {
34669 SWIG_null_ref("wxDateTime");
34671 if (SWIG_arg_fail(4)) SWIG_fail
;
34677 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34683 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34688 arg7
= (long)(SWIG_As_long(obj6
));
34689 if (SWIG_arg_fail(7)) SWIG_fail
;
34694 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34695 if (SWIG_arg_fail(8)) SWIG_fail
;
34696 if (arg8
== NULL
) {
34697 SWIG_null_ref("wxValidator");
34699 if (SWIG_arg_fail(8)) SWIG_fail
;
34704 arg9
= wxString_in_helper(obj8
);
34705 if (arg9
== NULL
) SWIG_fail
;
34710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34733 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34734 PyObject
*resultobj
;
34735 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34736 wxDateTime
*arg2
= 0 ;
34737 PyObject
* obj0
= 0 ;
34738 PyObject
* obj1
= 0 ;
34739 char *kwnames
[] = {
34740 (char *) "self",(char *) "dt", NULL
34743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34748 if (SWIG_arg_fail(2)) SWIG_fail
;
34749 if (arg2
== NULL
) {
34750 SWIG_null_ref("wxDateTime");
34752 if (SWIG_arg_fail(2)) SWIG_fail
;
34755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34756 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34758 wxPyEndAllowThreads(__tstate
);
34759 if (PyErr_Occurred()) SWIG_fail
;
34761 Py_INCREF(Py_None
); resultobj
= Py_None
;
34768 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34769 PyObject
*resultobj
;
34770 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34772 PyObject
* obj0
= 0 ;
34773 char *kwnames
[] = {
34774 (char *) "self", NULL
34777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34779 if (SWIG_arg_fail(1)) SWIG_fail
;
34781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34782 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34784 wxPyEndAllowThreads(__tstate
);
34785 if (PyErr_Occurred()) SWIG_fail
;
34788 wxDateTime
* resultptr
;
34789 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34798 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34799 PyObject
*resultobj
;
34800 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34801 wxDateTime
*arg2
= 0 ;
34802 wxDateTime
*arg3
= 0 ;
34803 PyObject
* obj0
= 0 ;
34804 PyObject
* obj1
= 0 ;
34805 PyObject
* obj2
= 0 ;
34806 char *kwnames
[] = {
34807 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34812 if (SWIG_arg_fail(1)) SWIG_fail
;
34814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34815 if (SWIG_arg_fail(2)) SWIG_fail
;
34816 if (arg2
== NULL
) {
34817 SWIG_null_ref("wxDateTime");
34819 if (SWIG_arg_fail(2)) SWIG_fail
;
34822 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34823 if (SWIG_arg_fail(3)) SWIG_fail
;
34824 if (arg3
== NULL
) {
34825 SWIG_null_ref("wxDateTime");
34827 if (SWIG_arg_fail(3)) SWIG_fail
;
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 Py_INCREF(Py_None
); resultobj
= Py_None
;
34843 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
;
34845 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34847 PyObject
* obj0
= 0 ;
34848 char *kwnames
[] = {
34849 (char *) "self", NULL
34852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34854 if (SWIG_arg_fail(1)) SWIG_fail
;
34856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34857 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34859 wxPyEndAllowThreads(__tstate
);
34860 if (PyErr_Occurred()) SWIG_fail
;
34863 wxDateTime
* resultptr
;
34864 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34873 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34874 PyObject
*resultobj
;
34875 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34877 PyObject
* obj0
= 0 ;
34878 char *kwnames
[] = {
34879 (char *) "self", NULL
34882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34884 if (SWIG_arg_fail(1)) SWIG_fail
;
34886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34889 wxPyEndAllowThreads(__tstate
);
34890 if (PyErr_Occurred()) SWIG_fail
;
34893 wxDateTime
* resultptr
;
34894 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34903 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34906 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34908 return Py_BuildValue((char *)"");
34910 static PyMethodDef SwigMethods
[] = {
34911 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34918 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34933 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34945 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34950 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34981 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34995 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
35000 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
35007 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
35012 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
35020 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35043 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35052 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35083 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35139 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35144 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35156 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35169 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35181 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35185 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35203 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35210 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35236 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35244 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35266 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35272 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35283 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35285 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35291 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35293 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35300 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35302 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35307 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35312 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35342 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35387 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35393 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35405 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35457 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35484 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35555 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35567 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35575 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35582 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35599 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35675 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35697 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35702 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction
) _wrap_PyControl_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35729 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35737 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35742 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35744 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35753 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35755 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35758 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35773 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35782 { NULL
, NULL
, 0, NULL
}
35786 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35788 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35789 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35791 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35792 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35794 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35795 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35797 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35798 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35800 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35801 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35803 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35804 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35806 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35807 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35809 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35810 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35812 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35813 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35815 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35816 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35818 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35819 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35821 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35822 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35824 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35825 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35827 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35828 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35830 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35831 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35833 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35834 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35836 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35837 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35839 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35840 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35842 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35845 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35848 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35849 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35851 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35852 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35854 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35855 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35857 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35858 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35860 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35861 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35863 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35864 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35866 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35867 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35869 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35870 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35872 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35875 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35876 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35878 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35879 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35881 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35882 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35884 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35885 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35887 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35888 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35890 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35891 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35893 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35894 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35896 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35897 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35899 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35900 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35902 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35903 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35905 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35906 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35908 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35909 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35911 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35912 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35914 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35915 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35917 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35918 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35920 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35921 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35923 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35924 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35926 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35927 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35929 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35930 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35932 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35933 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35935 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35936 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35938 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35939 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35941 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35942 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35944 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35945 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35947 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35948 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35950 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35951 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35953 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35954 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35956 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35957 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35959 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35960 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35962 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35963 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35965 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35966 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35968 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35969 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35971 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35972 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35974 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35975 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35977 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35978 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35980 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35981 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35983 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35984 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35986 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35987 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35989 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35990 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35992 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35993 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35995 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35996 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35998 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35999 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
36001 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
36002 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
36004 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36005 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36007 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
36008 return (void *)((wxControl
*) ((wxGauge
*) x
));
36010 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
36011 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
36013 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
36014 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36016 static void *_p_wxListbookTo_p_wxControl(void *x
) {
36017 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
36019 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
36020 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
36022 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
36023 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
36025 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36026 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36028 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36029 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36031 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36032 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36034 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36035 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36037 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36038 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36040 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36041 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36043 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36044 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36046 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36047 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36049 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36050 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36052 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36053 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36055 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36056 return (void *)((wxControl
*) ((wxSlider
*) x
));
36058 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36059 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36061 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36062 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36064 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36065 return (void *)((wxControl
*) ((wxButton
*) x
));
36067 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36068 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36070 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36071 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36073 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36074 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36076 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36077 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36079 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36080 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36082 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36083 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36085 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36086 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36088 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36089 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36091 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36092 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36094 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36095 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36097 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36098 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36100 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36101 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36103 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36104 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36106 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36107 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36109 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36110 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36112 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36113 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36115 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36118 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36119 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36121 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36122 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36124 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36127 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36128 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36130 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36133 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36136 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36137 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36139 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36140 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36142 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36145 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36148 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36151 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36154 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36157 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36158 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36160 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36163 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36166 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36169 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36172 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36175 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36178 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36181 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36184 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36187 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36190 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36193 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36196 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36199 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36202 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36205 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36208 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36211 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36214 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36217 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36220 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36223 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36226 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36229 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36232 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36235 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36238 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36239 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36241 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36242 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36244 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36245 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36247 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36248 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36250 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36251 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36253 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36254 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36256 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36257 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36259 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36260 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36262 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36265 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36266 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36268 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36271 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36272 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36274 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36275 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36277 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36278 return (void *)((wxObject
*) ((wxSizer
*) x
));
36280 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36281 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36283 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36286 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36289 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36290 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36292 static void *_p_wxEventTo_p_wxObject(void *x
) {
36293 return (void *)((wxObject
*) ((wxEvent
*) x
));
36295 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36296 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36298 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36299 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36301 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36302 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36304 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36307 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36310 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36313 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36314 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36316 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36317 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36319 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36320 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36322 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36323 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36325 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36326 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36328 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36329 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36331 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36334 static void *_p_wxControlTo_p_wxObject(void *x
) {
36335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36337 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36340 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36343 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36346 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36349 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36352 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36353 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36355 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36358 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36359 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36361 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36362 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36364 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36367 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36370 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36373 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36374 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36376 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36377 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36379 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36382 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36385 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36386 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36388 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36391 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36394 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36395 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36397 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36400 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36401 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36403 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36406 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36407 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36409 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36410 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36412 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36413 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36415 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36416 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36418 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36419 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36421 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36422 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36424 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36427 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36428 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36430 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36433 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36434 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36436 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36439 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36442 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36445 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36448 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36451 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36452 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36454 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36455 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36457 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36458 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36460 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36463 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36464 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36466 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36469 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36470 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36472 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36473 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36475 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36478 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36481 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36484 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36487 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36490 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36493 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36494 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36496 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36497 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36499 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36502 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36505 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36508 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36509 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36511 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36512 return (void *)((wxObject
*) ((wxListItem
*) x
));
36514 static void *_p_wxImageTo_p_wxObject(void *x
) {
36515 return (void *)((wxObject
*) ((wxImage
*) x
));
36517 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36518 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36520 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36521 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36523 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36526 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36527 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36529 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36532 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36533 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36535 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36538 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36541 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36544 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36545 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36547 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36548 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36550 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36551 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36553 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36554 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36556 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36559 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36560 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36562 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36565 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36566 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36568 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36569 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36571 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36572 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36574 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36575 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36577 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36578 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36580 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36583 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36584 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36586 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36587 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36589 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36590 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36592 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36595 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36596 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36598 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36599 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36601 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36604 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36607 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36610 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36611 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36613 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36616 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36619 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36620 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36622 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36623 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36625 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36626 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36628 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36629 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36631 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36632 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36634 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36635 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36637 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36638 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36640 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36641 return (void *)((wxWindow
*) ((wxControl
*) x
));
36643 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36644 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36646 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36647 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36649 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36650 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36652 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36653 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36655 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36656 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36658 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36659 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36661 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36662 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36664 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36665 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36667 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36668 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36670 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36671 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36673 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36674 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36676 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36677 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36679 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36680 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36682 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36683 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36685 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36686 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36688 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36689 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36691 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36692 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36694 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36695 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36697 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36698 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36700 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36701 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36703 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36704 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36706 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36707 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36709 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36710 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36712 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36713 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36715 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36716 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36718 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36719 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36721 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36722 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36724 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36725 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36727 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36728 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36730 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36731 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36733 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36734 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36736 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36737 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36739 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36740 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36742 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36743 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36745 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36746 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36748 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36749 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36751 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36752 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36754 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36755 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36757 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36758 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36760 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36761 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36763 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36764 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36766 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36767 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36769 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36770 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36772 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36773 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36775 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36776 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36778 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36779 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36781 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36782 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36784 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36785 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36787 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36788 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36790 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36791 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36793 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36794 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36796 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36797 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36799 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36800 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36802 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36803 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36805 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36806 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36808 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36809 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36811 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36812 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36842 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}};
36843 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}};
36844 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}};
36845 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}};
36846 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}};
36847 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}};
36848 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}};
36849 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}};
36850 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}};
36851 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}};
36852 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}};
36853 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}};
36854 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}};
36855 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}};
36856 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}};
36857 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}};
36858 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}};
36859 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}};
36860 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}};
36861 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}};
36862 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}};
36863 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}};
36864 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}};
36865 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}};
36866 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}};
36867 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}};
36868 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}};
36869 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}};
36870 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}};
36871 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}};
36872 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}};
36873 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}};
36874 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}};
36875 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}};
36876 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}};
36877 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}};
36878 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}};
36879 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}};
36880 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}};
36881 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}};
36882 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}};
36883 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}};
36884 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}};
36885 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}};
36886 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}};
36887 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}};
36888 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}};
36889 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}};
36890 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}};
36891 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}};
36892 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}};
36893 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}};
36894 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}};
36895 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}};
36896 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}};
36897 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}};
36898 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}};
36899 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}};
36900 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}};
36901 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}};
36902 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}};
36903 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}};
36904 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}};
36905 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}};
36906 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}};
36907 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}};
36908 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}};
36909 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}};
36910 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}};
36911 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}};
36913 static swig_type_info
*swig_types_initial
[] = {
36914 _swigt__p_wxTextUrlEvent
,
36916 _swigt__p_wxCheckBox
,
36917 _swigt__p_wxPyTreeCtrl
,
36919 _swigt__p_wxGenericDirCtrl
,
36921 _swigt__p_wxItemContainer
,
36922 _swigt__p_wxPyListCtrl
,
36923 _swigt__p_wxPyTreeItemData
,
36924 _swigt__p_wxDirFilterListCtrl
,
36925 _swigt__p_wxStaticLine
,
36926 _swigt__p_wxControl
,
36927 _swigt__p_wxPyControl
,
36929 _swigt__p_wxToolBarBase
,
36931 _swigt__p_wxToggleButton
,
36932 _swigt__p_wxRadioButton
,
36933 _swigt__p_wxChoice
,
36934 _swigt__p_wxMemoryDC
,
36936 _swigt__std__ptrdiff_t
,
36937 _swigt__p_wxListItemAttr
,
36942 _swigt__p_wxListView
,
36944 _swigt__p_wxVisualAttributes
,
36945 _swigt__p_wxTextCtrl
,
36946 _swigt__p_wxNotebook
,
36947 _swigt__p_wxChoicebook
,
36948 _swigt__p_wxNotifyEvent
,
36949 _swigt__p_wxArrayString
,
36950 _swigt__p_form_ops_t
,
36951 _swigt__p_wxListbook
,
36952 _swigt__p_wxStaticBitmap
,
36953 _swigt__p_wxSlider
,
36954 _swigt__p_wxStaticBox
,
36955 _swigt__p_wxArrayInt
,
36956 _swigt__p_wxContextHelp
,
36958 _swigt__p_wxDuplexMode
,
36959 _swigt__p_wxBookCtrlBase
,
36960 _swigt__p_wxEvtHandler
,
36961 _swigt__p_wxListEvent
,
36962 _swigt__p_wxCheckListBox
,
36963 _swigt__p_wxListBox
,
36964 _swigt__p_wxSpinButton
,
36965 _swigt__p_wxButton
,
36966 _swigt__p_wxBitmapButton
,
36968 _swigt__p_wxContextHelpButton
,
36969 _swigt__p_wxRadioBox
,
36970 _swigt__p_wxScrollBar
,
36972 _swigt__p_wxComboBox
,
36973 _swigt__p_wxTreeItemId
,
36974 _swigt__p_wxHelpEvent
,
36975 _swigt__p_wxListItem
,
36976 _swigt__p_wxNotebookSizer
,
36977 _swigt__p_wxSpinEvent
,
36978 _swigt__p_wxGenericDragImage
,
36979 _swigt__p_wxSpinCtrl
,
36980 _swigt__p_wxPaperSize
,
36981 _swigt__p_wxImageList
,
36982 _swigt__p_wxHelpProvider
,
36983 _swigt__p_wxTextAttr
,
36984 _swigt__p_wxSimpleHelpProvider
,
36985 _swigt__p_wxChoicebookEvent
,
36986 _swigt__p_wxListbookEvent
,
36987 _swigt__p_wxNotebookEvent
,
36989 _swigt__p_wxObject
,
36990 _swigt__p_wxCursor
,
36991 _swigt__p_wxDateTime
,
36992 _swigt__p_wxKeyEvent
,
36993 _swigt__p_unsigned_long
,
36994 _swigt__p_wxWindow
,
36995 _swigt__p_wxString
,
36996 _swigt__p_wxBitmap
,
36997 _swigt__unsigned_int
,
36998 _swigt__p_unsigned_int
,
36999 _swigt__p_unsigned_char
,
37000 _swigt__p_wxMouseEvent
,
37001 _swigt__p_wxBookCtrlBaseEvent
,
37002 _swigt__p_wxTreeEvent
,
37003 _swigt__p_wxCommandEvent
,
37004 _swigt__p_wxStaticText
,
37005 _swigt__p_wxDatePickerCtrl
,
37006 _swigt__p_wxControlWithItems
,
37007 _swigt__p_wxToolBarToolBase
,
37008 _swigt__p_wxColour
,
37009 _swigt__p_wxToolBar
,
37010 _swigt__p_wxBookCtrlSizer
,
37011 _swigt__p_wxValidator
,
37016 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37018 static swig_const_info swig_const_table
[] = {
37019 {0, 0, 0, 0.0, 0, 0}};
37030 /* Python-specific SWIG API */
37031 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37032 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37033 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37035 /* -----------------------------------------------------------------------------
37036 * global variable support code.
37037 * ----------------------------------------------------------------------------- */
37039 typedef struct swig_globalvar
{
37040 char *name
; /* Name of global variable */
37041 PyObject
*(*get_attr
)(); /* Return the current value */
37042 int (*set_attr
)(PyObject
*); /* Set the value */
37043 struct swig_globalvar
*next
;
37046 typedef struct swig_varlinkobject
{
37048 swig_globalvar
*vars
;
37049 } swig_varlinkobject
;
37052 swig_varlink_repr(swig_varlinkobject
*v
) {
37054 return PyString_FromString("<Swig global variables>");
37058 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37059 swig_globalvar
*var
;
37061 fprintf(fp
,"Swig global variables { ");
37062 for (var
= v
->vars
; var
; var
=var
->next
) {
37063 fprintf(fp
,"%s", var
->name
);
37064 if (var
->next
) fprintf(fp
,", ");
37066 fprintf(fp
," }\n");
37071 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37072 swig_globalvar
*var
= v
->vars
;
37074 if (strcmp(var
->name
,n
) == 0) {
37075 return (*var
->get_attr
)();
37079 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37084 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37085 swig_globalvar
*var
= v
->vars
;
37087 if (strcmp(var
->name
,n
) == 0) {
37088 return (*var
->set_attr
)(p
);
37092 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37096 static PyTypeObject varlinktype
= {
37097 PyObject_HEAD_INIT(0)
37098 0, /* Number of items in variable part (ob_size) */
37099 (char *)"swigvarlink", /* Type name (tp_name) */
37100 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37101 0, /* Itemsize (tp_itemsize) */
37102 0, /* Deallocator (tp_dealloc) */
37103 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37104 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37105 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37106 0, /* tp_compare */
37107 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37108 0, /* tp_as_number */
37109 0, /* tp_as_sequence */
37110 0, /* tp_as_mapping */
37114 0, /* tp_getattro */
37115 0, /* tp_setattro */
37116 0, /* tp_as_buffer */
37119 #if PY_VERSION_HEX >= 0x02000000
37120 0, /* tp_traverse */
37123 #if PY_VERSION_HEX >= 0x02010000
37124 0, /* tp_richcompare */
37125 0, /* tp_weaklistoffset */
37127 #if PY_VERSION_HEX >= 0x02020000
37128 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37130 #if PY_VERSION_HEX >= 0x02030000
37133 #ifdef COUNT_ALLOCS
37134 0,0,0,0 /* tp_alloc -> tp_next */
37138 /* Create a variable linking object for use later */
37140 SWIG_Python_newvarlink(void) {
37141 swig_varlinkobject
*result
= 0;
37142 result
= PyMem_NEW(swig_varlinkobject
,1);
37143 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37144 result
->ob_type
= &varlinktype
;
37146 result
->ob_refcnt
= 0;
37147 Py_XINCREF((PyObject
*) result
);
37148 return ((PyObject
*) result
);
37152 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37153 swig_varlinkobject
*v
;
37154 swig_globalvar
*gv
;
37155 v
= (swig_varlinkobject
*) p
;
37156 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37157 gv
->name
= (char *) malloc(strlen(name
)+1);
37158 strcpy(gv
->name
,name
);
37159 gv
->get_attr
= get_attr
;
37160 gv
->set_attr
= set_attr
;
37161 gv
->next
= v
->vars
;
37165 /* -----------------------------------------------------------------------------
37166 * constants/methods manipulation
37167 * ----------------------------------------------------------------------------- */
37169 /* Install Constants */
37171 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37174 for (i
= 0; constants
[i
].type
; i
++) {
37175 switch(constants
[i
].type
) {
37177 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37179 case SWIG_PY_FLOAT
:
37180 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37182 case SWIG_PY_STRING
:
37183 if (constants
[i
].pvalue
) {
37184 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37186 Py_INCREF(Py_None
);
37190 case SWIG_PY_POINTER
:
37191 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37193 case SWIG_PY_BINARY
:
37194 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37201 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37207 /* -----------------------------------------------------------------------------*/
37208 /* Fix SwigMethods to carry the callback ptrs when needed */
37209 /* -----------------------------------------------------------------------------*/
37212 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37213 swig_const_info
*const_table
,
37214 swig_type_info
**types
,
37215 swig_type_info
**types_initial
) {
37217 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37218 char *c
= methods
[i
].ml_doc
;
37219 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37221 swig_const_info
*ci
= 0;
37222 char *name
= c
+ 10;
37223 for (j
= 0; const_table
[j
].type
; j
++) {
37224 if (strncmp(const_table
[j
].name
, name
,
37225 strlen(const_table
[j
].name
)) == 0) {
37226 ci
= &(const_table
[j
]);
37231 size_t shift
= (ci
->ptype
) - types
;
37232 swig_type_info
*ty
= types_initial
[shift
];
37233 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37234 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37235 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37237 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37238 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37240 strncpy(buff
, "swig_ptr: ", 10);
37242 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37243 methods
[i
].ml_doc
= ndoc
;
37249 /* -----------------------------------------------------------------------------*
37250 * Initialize type list
37251 * -----------------------------------------------------------------------------*/
37253 #if PY_MAJOR_VERSION < 2
37254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37255 is copied out of Python/modsupport.c in python version 2.3.4 */
37257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37260 if (!PyModule_Check(m
)) {
37261 PyErr_SetString(PyExc_TypeError
,
37262 "PyModule_AddObject() needs module as first arg");
37266 PyErr_SetString(PyExc_TypeError
,
37267 "PyModule_AddObject() needs non-NULL value");
37271 dict
= PyModule_GetDict(m
);
37272 if (dict
== NULL
) {
37273 /* Internal error -- modules must have a dict! */
37274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37275 PyModule_GetName(m
));
37278 if (PyDict_SetItemString(dict
, name
, o
))
37285 static swig_type_info
**
37286 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37287 static PyMethodDef swig_empty_runtime_method_table
[] = {
37289 NULL
, NULL
, 0, NULL
37293 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37294 swig_empty_runtime_method_table
);
37295 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37296 if (pointer
&& module) {
37297 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37299 return type_list_handle
;
37302 static swig_type_info
**
37303 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37304 swig_type_info
**type_pointer
;
37306 /* first check if module already created */
37307 type_pointer
= SWIG_Python_GetTypeListHandle();
37308 if (type_pointer
) {
37309 return type_pointer
;
37311 /* create a new module and variable */
37312 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37320 /* -----------------------------------------------------------------------------*
37321 * Partial Init method
37322 * -----------------------------------------------------------------------------*/
37324 #ifdef SWIG_LINK_RUNTIME
37328 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37334 SWIGEXPORT(void) SWIG_init(void) {
37335 static PyObject
*SWIG_globals
= 0;
37336 static int typeinit
= 0;
37339 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37341 /* Fix SwigMethods to carry the callback ptrs when needed */
37342 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37344 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37345 d
= PyModule_GetDict(m
);
37348 #ifdef SWIG_LINK_RUNTIME
37349 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37351 # ifndef SWIG_STATIC_RUNTIME
37352 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37355 for (i
= 0; swig_types_initial
[i
]; i
++) {
37356 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37360 SWIG_InstallConstants(d
,swig_const_table
);
37362 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37363 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37365 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37368 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37371 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37374 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37377 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37380 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37383 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37385 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37387 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37390 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37393 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37396 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37399 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37402 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37404 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37405 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37406 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37408 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37411 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37414 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37417 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37419 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37420 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37421 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37422 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37423 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37425 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37428 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37431 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37434 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37437 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37440 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37443 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37446 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37449 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37452 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37455 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37458 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37461 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37464 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37467 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37470 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37473 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37476 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37479 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37482 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37485 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37488 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37491 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37494 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37497 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37500 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37503 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37506 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37509 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37512 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37515 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37518 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37521 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37524 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37527 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37530 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37533 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37536 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37539 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37542 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37545 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37548 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37551 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37554 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37557 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37560 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37562 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37563 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37564 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37565 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37566 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37567 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37568 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37570 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37573 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37576 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37579 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37581 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37582 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37583 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37584 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37586 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37589 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37592 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37595 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37598 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37601 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37604 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37607 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37610 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37613 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37616 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37619 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37621 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37622 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37623 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37625 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37628 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37631 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37634 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37637 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37640 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37643 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37646 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37649 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37652 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37655 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37657 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37658 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37660 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37663 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37666 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37669 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37672 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37675 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37677 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37678 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37680 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37683 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37686 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37689 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37692 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37695 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37697 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37698 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37700 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37703 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37706 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37709 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37712 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37715 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37718 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37721 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37724 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37727 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37730 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37733 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37736 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37739 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37741 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37743 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37746 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37749 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37752 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37755 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37758 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37761 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37764 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37767 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37770 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37773 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37776 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37779 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37782 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37785 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37788 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37791 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37794 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37797 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37800 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37803 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37806 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37809 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37812 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37815 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37818 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37821 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37824 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37827 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37830 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37833 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37836 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37839 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37842 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37845 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37848 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37851 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37854 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37857 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37860 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37863 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37866 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37869 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37872 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37875 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37878 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37881 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37884 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37887 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37890 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37893 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37896 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37899 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37902 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37905 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37908 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37911 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37914 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37917 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37920 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37923 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37926 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37929 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37932 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37935 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37938 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37941 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37944 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37946 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37947 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37948 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37949 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37950 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37951 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37952 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37953 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37954 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37955 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37956 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37957 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37958 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37959 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37960 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37961 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37962 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37963 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37964 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37965 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37966 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37967 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37969 // Map renamed classes back to their common name for OOR
37970 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37972 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37974 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37977 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37980 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37983 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37986 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37989 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37992 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37995 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37998 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
38001 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
38004 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
38007 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
38010 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
38013 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
38016 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
38019 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
38022 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
38025 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
38028 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
38031 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
38034 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
38037 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
38040 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
38043 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
38046 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
38049 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
38052 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
38055 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
38058 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
38061 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
38064 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
38067 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38070 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38073 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38076 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38078 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38079 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38080 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38081 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38082 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38083 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38084 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38085 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38086 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38087 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38088 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38089 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38090 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38091 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38092 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38093 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38094 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38095 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38096 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38097 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38098 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38100 // Map renamed classes back to their common name for OOR
38101 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38102 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38104 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38106 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38109 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38112 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38115 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38118 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38121 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38124 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38126 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38127 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38129 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38131 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38133 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38136 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38139 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38142 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38145 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));